-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.less
134 lines (125 loc) · 2.8 KB
/
main.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/**
* Theme Rhode Island Red Copyright (c) 2014 Steve McArthur
* Licensed under MIT
*/
@background: #63192E;
@white: #fff;
@grey: #C2BEBE;
@brightgreen: #7BD827;
@red: #ac4c66;
@pink: #F5BAC0;
@lightblue: #82C6E0;
@orange: #F08047;
@blue: #16314a;
@yellow: #F4C20B;
.CodeMirror {
.CodeMirror-scroll {
background-color: @background;
color: @white;
}
.CodeMirror-selected {
background: lighten(@background, 20%);
}
.CodeMirror-gutters {
background: lighten(@background, 13%);
border-right: 7px solid @red;
}
.CodeMirror-linenumber {
color: @white;
}
.CodeMirror-cursor {
border-left: 1px solid @white !important;
}
.CodeMirror-matchingbracket {
color: @lightblue !important;
background-color: transparent;
}
.CodeMirror-activeline-background {
background: lighten(@background, 5%);
}
.CodeMirror-searching {
background-color: fade(@blue, 90%);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
color: @white !important;
}
}
.CodeMirror-searching.searching-current-match {
background-color:@orange;
}
.cm-comment {
color: @grey;
}
.cm-number {
color: @orange;
}
.cm-string {
color: @pink;
}
.cm-string.cm-property {
color: @white;
}
.cm-error {
color: red !important;
font-weight: bold !important;
}
.cm-meta,.cm-keyword,.cm-bracket {
color: @lightblue;
}
.cm-atom,.cm-link {
color: @yellow;
}
.cm-attribute,.cm-property {
color: @lightblue;
}
.cm-variable,.cm-variable-3,.cm-qualifier,.cm-def,.cm-operator {
color: @white;
}
.cm-variable-2,.cm-tag {
color: @brightgreen;
}
.cm-builtin,.cm-special {
color: @yellow;
}
.CodeMirror-matchingtag {
background: rgba(255, 255, 255, 0.2);
}
.CodeMirror-overwrite {
.CodeMirror-cursor {
border-left: none !important;
border-bottom: 1px solid @blue;
}
}
.CodeMirror-focused .CodeMirror-activeline {
.CodeMirror-gutter-elt {
background: rgba(255, 255, 255, 0.2);
color: @white;
}
.inline-widget .CodeMirror-gutter-elt {
color: @brightgreen;
}
}
/* Non-editor styling */
.not-editor {
background-color: @background !important;
background-image: url('images/no_content_bg.svg') !important;
transition: background-color .3s ease-out;
}
.image-view {
background-color: @background !important;
background-image: none !important;
}
#sidebar.panel {
background-color: @background;
}
/* Plugin Custom Styling */
/* Spell Check https://github.com/couzteau/SpellCheck */
span.underline,
span.SpellCheckUnderline
{
border-bottom: dotted 1px white;
background-color: fade(@background, 50%);
}
/* hdy.brackets-shell https://github.com/johnhidey/hdy.brackets-shell/ */
.hdy-command-result pre {
color: white;
}