Skip to content

Commit

Permalink
update to support Atom 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Jan 11, 2017
1 parent 6d925bc commit b86b634
Show file tree
Hide file tree
Showing 9 changed files with 442 additions and 266 deletions.
13 changes: 12 additions & 1 deletion index.less
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
@import './styles/base';

// Paraíso (light)
// A color scheme by Jan T. Sott
// https://atom.io/themes/paraiso-light

@import "styles/syntax-variables.less";

@import "styles/editor.less";

@import "styles/syntax/_base.less";
@import "styles/syntax/cs.less";
@import "styles/syntax/json.less";
245 changes: 0 additions & 245 deletions styles/base.less

This file was deleted.

20 changes: 20 additions & 0 deletions styles/colors.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

// Grayscale
@black: #221a0f; // 00
@very-dark-gray: #5e452b; // 01
@dark-gray: #84613d; // 02
@gray: #a57a4c; // 03
@light-gray: #d6baad; // 04
@very-light-gray: #d3af86; // 05
@almost-white: #e4c6a5; // 06
@white: #fbebd4; // 07

// Colors
@red: #dc3958; // 08
@orange: #f79a32; // 09
@yellow: #f06431; // 0A
@green: #889b4a; // 0B
@cyan: #088649; // 0C
@blue: #8ab1b0; // 0D
@purple: #98676a; // 0E
@brown: #7e602c; // 0F
59 changes: 59 additions & 0 deletions styles/editor.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@

// Editor styles (background, gutter, guides)

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 {
padding: 0 0.25em 0 0.5em;
-webkit-font-smoothing: antialiased;
&.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: @syntax-result-marker-color;
}

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

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

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

.bracket-matcher .region {
border-color: @syntax-result-marker-color;
}
}
Loading

0 comments on commit b86b634

Please sign in to comment.