-
Notifications
You must be signed in to change notification settings - Fork 0
/
falcon.theme.css
223 lines (173 loc) · 5.47 KB
/
falcon.theme.css
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
//META{"name":"Falcon dark","description":"The best discord theme based on falcon colorscheme.","author":"dibusure","version":"1.0"}*//
/* BetterDiscord Gruvbox Theme - By Ethan McTague
Compatible with the latest version of Discord (as of Jan 23, 2020.)
Copyright 2020 Ethan McTague <ethan@tague.me>
Licensed under the BSD 3-clause license.
Based on the Gruvbox color scheme by Pavel Pertsev: https://github.com/morhetz/gruvbox
Using CSS from highlight.js themes, to style code blocks: https://highlightjs.org/
highlight.js is licensed under the BSD 3-clause license - see its section in the code for more details.
Be aware: BetterDiscord use is against the discord TOS.
I am not responsible for your use of BetterDiscord or of this theme.
[ ...discord, if you want to add builtin color scheme support, hmu :) ]
Installation:
1. Install BetterDiscord.
2. Go to "Themes" in discord's settings.
3. Select "Open Themes Folder", and save this file there as: gruvbox.theme.css
4. Go back to discord and switch the theme on!
*/
/* Set basic color variables. Some parts of Discord don't use these, so we need to do more after... */
:root {
--interactive-normal: #b4b4b9;
--text-normal: #b4b4b9;
--background-primary: #1a1a21;
--background-secondary: #1a1a21;
--background-tertiary: #1a1a21;
--channels-default: #99a4bc;
--deprecated-panel-background: #151521;
--channeltextarea-background: #28282d;
}
/* Popout / menu colors. */
.da-popouts .da-container, .da-friendsTableHeader, .da-friendsTable, .da-autocomplete, .da-themedPopout, .da-header, .da-footer, .da-userPopout > *, .da-systemPad, .da-autocompleteHeaderBackground {
background-color: var(--background-secondary) !important;
border-color: transparent !important;
}
.theme-dark .da-messageGroupWrapper {
background-color: var(--background-tertiary) !important;
border-color: transparent;
}
/* Each individual item in popouts has a slight gradient - we clear it here. */
.theme-dark .da-option:after {
background-image: none !important;
}
/* Force BetterDiscord settings items to match normal settings items. */
.theme-dark #bd-settings-sidebar .ui-tab-bar-item {
color: var(--interactive-normal);
}
/* Recolor BD settings headers, Nitro settings item and Add Channel icon */
.theme-dark #bd-settings-sidebar .ui-tab-bar-header, div[style*="color: rgb(114, 137, 218);"], .da-addButtonIcon {
color: var(--channels-default) !important;
}
/* Force BetterDiscord *active* settings items to match normal active settings items. */
.theme-dark #bd-settings-sidebar .ui-tab-bar-item.selected, .theme-dark .da-autocompleteRow .da-selectorSelected {
background-color: var(--background-modifier-selected);
color: var(--interactive-active);
}
/* Recolor the emoji button in the chat bar to match the color scheme. */
.da-emojiButtonNormal .da-contents .da-sprite {
filter: sepia(1) !important;
}
/* Recolor scrollbar track. */
.da-messagesWrapper .da-scroller::-webkit-scrollbar,
.da-messagesWrapper .da-scroller::-webkit-scrollbar-track-piece {
background-color: var(--background-tertiary) !important;
border-color: rgba(0,0,0,0) !important;
}
/* Recolor scrollbar thumbs. */
.da-scrollerThemed .da-scroller::-webkit-scrollbar-thumb,
.da-scrollerWrap .da-scroller::-webkit-scrollbar-thumb {
background-color: var(--background-secondary) !important;
border-color: var(--background-tertiary) !important;
}
/* CSS below this comment is from highlight.js gruvbox-dark theme.
https://github.com/highlightjs/highlight.js/blob/master/src/styles/gruvbox-dark.css
This CSS makes code blocks within Discord match gruvbox.
hightlight.js is copyright 2006 Ivan Sagalaev and licensed under the BSD 3-clause license,
as specified here: https://github.com/highlightjs/highlight.js/blob/master/LICENSE */
/* Gruvbox Red */
.hljs-deletion,
.hljs-formula,
.hljs-keyword,
.hljs-link,
.hljs-selector-tag {
color: #ff8e78;
}
/* Gruvbox Blue */
.hljs-built_in,
.hljs-emphasis,
.hljs-name,
.hljs-quote,
.hljs-strong,
.hljs-title,
.hljs-variable {
color: #99a4bc;
}
/* Gruvbox Yellow */
.hljs-attr,
.hljs-params,
.hljs-template-tag,
.hljs-type {
color: #ffd392;
}
/* Gruvbox Purple */
.hljs-builtin-name,
.hljs-doctag,
.hljs-literal,
.hljs-number {
color: #ffb07b;
}
/* Gruvbox Orange */
.hljs-code,
.hljs-meta,
.hljs-regexp,
.hljs-selector-id,
.hljs-template-variable {
color: #ff3600;
}
/* Gruvbox Green */
.hljs-addition,
.hljs-meta-string,
.hljs-section,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-string,
.hljs-symbol {
color: #b1bf75;
}
/* Gruvbox Aqua */
.hljs-attribute,
.hljs-bullet,
.hljs-class,
.hljs-function,
.hljs-function .hljs-keyword,
.hljs-meta-keyword,
.hljs-selector-pseudo,
.hljs-tag {
color: #b8ccbf;
}
/* Gruvbox Gray */
.hljs-comment {
color: #928374;
}
/* Gruvbox Purple */
.hljs-link_label,
.hljs-literal,
.hljs-number {
color: #635196;
}
.hljs-comment,
.hljs-emphasis {
font-style: italic;
}
.hljs-section,
.hljs-strong,
.hljs-tag {
font-weight: bold;
}
.container-2cd8Mz {
background-color: var(--background-primary) !important;
}
.container-YkUktl {
background-color: var(--background-primary) !important;
}
.peopleColumn-1wMU14 {
background-color: var(--background-secondary);
}
.scroller-1ox3I2 {
background-color: var(--background-secondary);
}
.scrollerBase-_bVAAt {
background-color: var(--background-secondary);
}
.container-ZMc96U.themed-Hp1KC_ {
background: #1a1a21;
}