-
Notifications
You must be signed in to change notification settings - Fork 1
/
solarized_dark_theme.less
169 lines (140 loc) · 7.57 KB
/
solarized_dark_theme.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
// Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
/*
* Brackets Solarized Theme
*
* Solarized is a color palette created by Ethan Schoonover. It is designed
* to be used in terminal and GUI applications. Before making any modification please
* review Solarized developer notes available at http://ethanschoonover.com/solarized.
*
*/
/* Overall Colors */
/*
* Background colors are ordered from least "intense" to most "intense"
* So, if the background is light, then @background-color-3 should be
* lightest, -2 should be darker, and -1 should be darker still.
*
* The opposite is true for a dark background -- background-color-3 should be
* the darkest, -2 should be lighter, and -1 should be lighter still.
*/
@background-color-1: darken(@bc-white, @bc-color-step-size*2); // Keep Brackets default
@background-color-2: #073642; // Base 02
@background-color-3: #002b36; // Base 03
/*
* @content-color-stronger should be should be further away from the
* background color than @content-color (i.e. more contrasty).
*
* @content-color-weaker should be closer to the background color
* than @content-color (i.e. less contrasty).
*/
@content-color: #839496; // Base 0
@content-color-stronger: #93a1a1; // Base 1
@content-color-weaker: #657b83; // Base 00
/* Code Styling */
/* code accent colors solarized color name */
@accent-keyword: #268bd2; // blue
@accent-atom: #2aa198; // cyna
@accent-number: #2aa198; // cyan
@accent-def: #859900; // green
@accent-variable: #b58900; // yellow
@accent-variable-2: #859900; // green
@accent-variable-3: #b58900; // yellow
@accent-property: #b58900; // yellow
@accent-operator: #2aa198; // cyan
@accent-comment: #657b83; // Base 0
@accent-string: #2aa198; // cyan
@accent-string-2: #2aa198; // cyan
@accent-meta: #586e75; // violet
@accent-error: #dc322f; // red
@accent-qualifier: #859900; // green
@accent-builtin: #859900; // green
@accent-bracket: #839496; // Base 0
@accent-tag: #268bd2; // blue
@accent-attribute: #657b83; // Base 0
@accent-header: #d33682; // magenta
@accent-quote: #839496; // Base 0
@accent-hr: #b58900; // yellow
@accent-link: #6c71c4; // violet
@accent-rangeinfo: #d33682; // magenta
@accent-minus: #cb4b16; // orange
@accent-plus: #859900; // green
@match-text: #002b36; // Base 3
@cm-match-highlight: rgba(147, 161, 161, 0.70); // Base 1 A:70%
@cm-current-match-highlight: #93a1a1; // Base 1
/* code highlight */
@matching-bracket: #073642; // Base 02
/* inline editor colors */
@inline-background-color-1: #073642; // Base 02
@inline-background-color-2: #002b36; // Base 03
@inline-background-color-3: #d0d5d5; // Brackets Default
@inline-color-1: #268bd2; // blue
@inline-color-2: #268bd2; // blue
@inline-color-3: #073642; // Base 02
/* sidebar/toolbar colors */
@project-panel-base-color: #3C3F41; // Brackets Default
@project-panel-text-1: #eeeeee;
@project-panel-text-2: #839496; // Base 0
@main-toolbar-background-color: #5D5F60; // Base 03
/* open working file highlight */
@open-working-file-name-highlight: #268bd2;
@open-working-file-ext-highlight: #839496;
/* Selection colors */
@selection-color-focused: #073642; // Base 1
@selection-color-unfocused: #073642; // Base 1
/* background color of the line that has the cursor */
@activeline-bgcolor: #073642; // Base 02
/* custom scrollbar colors */
@custom-scrollbar-thumb: rgba(147, 161, 161, 0.90); // Base 1 A:90%
@custom-scrollbar-thumb-inactive: rgb(101, 123, 131); // Base 00
/* live preview */
@live-preview-sync-error-background: #dc322f; // red
@live-preview-sync-error-color: @bc-white;
/* Code font formatting
*
* NOTE (JRB): In order to get the web font to load early enough, we have a div called "dummy-text" that
* is styled with .code-font().
*
* The platform-specific selector gets added to the body tag *before* document ready time.
* We rely on this behavior to load platform-specific web fonts early.
*/
.code-font() {
color: @content-color;
// line-height must be specified in px not em because the code font and line number font sizes are different.
// Sizing via em will cause the code and line numbers to misalign
line-height: 15px;
font-size: 11px;
font-family: 'SourceCodePro', "MS ゴシック", "MS Gothic", monospace;
}
.code-font-win() {
.code-font();
}
.code-font-mac() {
.code-font();
/* Use the Medium weight on the Mac to counterbalance the grayscale antialiasing. */
font-family: 'SourceCodePro-Medium', "MS ゴシック", "MS Gothic", monospace;
}
.code-cursor() {
// to make a block cursor, use something like this:
// background-color: fadeout(@blue, 50%);
// border: none !important;
// to make an I-cursor, use something like this:
border-left: 1px solid #fdf6e3 !important; // Base 3
}
/* Variables and Mixins for non-code UI elements that can be styled */