Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Implement naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
chbk committed Aug 24, 2020
1 parent ff9170e commit 89ed049
Show file tree
Hide file tree
Showing 4 changed files with 390 additions and 302 deletions.
4 changes: 3 additions & 1 deletion templates/theme/index.less
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
@import "./styles/base.less";
@import "styles/syntax-variables.less";
@import "styles/syntax.less";
@import "styles/editor.less";
301 changes: 0 additions & 301 deletions templates/theme/styles/base.less

This file was deleted.

56 changes: 56 additions & 0 deletions templates/theme/styles/editor.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
// This defines styling rules for the editor.

atom-text-editor {
background-color: @syntax-background-color;
color: @syntax-text-color;

.wrap-guide {
background-color: @syntax-wrap-guide-color;
}

.indent-guide {
color: @syntax-indent-guide-color;
}

.invisible-character {
color: @syntax-invisible-character-color;
}

.gutter {
background-color: @syntax-gutter-background-color;
color: @syntax-gutter-text-color;

.line-number {
&.cursor-line {
background-color: @syntax-gutter-background-color-selected;
color: @syntax-gutter-text-color-selected;
}

&.cursor-line-no-selection {
color: @syntax-gutter-text-color-selected;
}
}
}

.gutter .line-number.folded,
.gutter .line-number:after,
.fold-marker:after {
color: @light-gray;
}

.invisible {
color: @syntax-text-color;
}

.cursor {
color: @syntax-cursor-color;
}

.selection .region {
background-color: @syntax-selection-color;
}
}

atom-text-editor[mini] .scroll-view {
padding-left: 1px;
}
Loading

0 comments on commit 89ed049

Please sign in to comment.