-
Notifications
You must be signed in to change notification settings - Fork 7
/
gruvbox-slack.user.styl
353 lines (259 loc) · 10.4 KB
/
gruvbox-slack.user.styl
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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
/* ==UserStyle==
@name GruvBox - Slack
@namespace github.com/Xedecimal/userstyles
@version 1.0.11
@description Slack... Gruvbox style.
@preprocessor stylus
@author Xedecimal
@license WTFPL
@updateURL https://raw.githubusercontent.com/Xedecimal/userstyles/master/gruvbox-slack.user.styl
@homepageURL https://github.com/Xedecimal/userstyles
@var color color-text "Text" #BDAE93
@var color color-text-dark "Text Dark" #A89984
@var color color-text-light "Text Light" #FBF1C7
@var color color-back "Background" #282828
@var color color-back-dark "Background Dark" #1D2021
@var color color-back-light "Background Bright" #3C3836
@var color color-highlight "Highlight" #FB4934
@var color color-notification "Notification" #B8BB26
==/UserStyle== */
@import url('https://fonts.googleapis.com/css?family=Open+Sans')
@-moz-document regexp(".*app.slack.com/.*")
body()
font-family: 'Open Sans'
background: color-back
color: color-text
text()
color: color-text
text-muted()
color: color-text-dark
link()
color: color-text-light !important
right-side()
background: color-back-dark
color: color-text
message-forward()
color: color-text
highlight()
color: color-notification
icon()
color: color-text-light
list-item()
box-shadow: 0 -1px 0 0 color-back-dark
button()
background: color-back-light
border: none
color: color-text
button-disabled()
background: color-back-light
button-focused()
color: color-text
replies-hover()
background: color-back-dark
reset()
color: color-text
background: inherit
actions-container()
background: color-back-light
color: color-text
actions-button()
color: color-text
input-message()
color: color-text
background: color-back-dark
border: none
input-message-placeholder()
color: color-text-dark
thread-footer()
border-left: none
border-right: none
border-bottom-color: transparent
thread-message()
background: color-back-dark
thread-border()
border: none
thread-read-more()
background: color-back-dark
thread-border()
thread-separator()
color: color-notification
background: transparent
thread-separator-line()
border-top: 1px dashed color-back-dark
/* Generic */
body, .c-message__body, .p-message_pane .c-message_list.c-virtual_list--scrollbar>.c-scrollbar__hider, .p-message_pane .c-message_list:not(.c-virtual_list--scrollbar), .unread_empty_state,
.p-threads_view,
.c-fullscreen_modal__content,
.c-fullscreen_modal__header
body()
.p-classic_nav__model__title__info,
.p-classic_nav__model__button,
.p-classic_nav__right__search__placeholder,
.p-classic_nav__right__search__icon,
.p-classic_nav__channel_header__subtitle,
.c-fullscreen_modal__body,
.c-base_entity__metadata, .c-base_entity__subtext,
.p-channel_browser_section_header,
.c-team__display-name, .c-unified_member__display-name, .c-usergroup__handle,
.p-dm_browser_modal__list_heading,
.p-dm_browser_modal__list_row_meta
text()
.c-unified_member__secondary-name--medium,
.c-button--disabled
text-muted()
.p-channel_sidebar__channel,
.p-channel_sidebar__link,
.p-channel_sidebar__channel:link,
.p-channel_sidebar__link:link,
.p-channel_sidebar__channel:visited,
.p-channel_sidebar__link:visited,
.p-channel_sidebar__channel:hover,
.p-channel_sidebar__link:hover,
.channel_title .channel_name,
.c-link--button,
.c-button--outline-primary:link,
.c-button--outline-primary:visited,
.p-threads_view_header__permalink
link()
.c-button--outline-primary
button()
.c-button--disabled
button-disabled()
.p-threads_view__default_background
thread-message()
.p-threads_view_root,
.p-threads_view_reply
thread-border()
.p-threads_view__footer
thread-footer()
.p_threads_view_load_newer_button,
.p_threads_view_load_older_button
thread-read-more()
.p-threads_view__divider_label
thread-separator()
.p-threads_view__divider_line
thread-separator-line()
.p-client
right-side()
.p-message_pane__foreword__description, .p-message_pane__limited_history_alert
message-forward()
.p-workspace__input .p-message_input_field.focus~.p-message_input_file_button:not(:hover),
.c-texty_input.focus .c-texty_input__button
button-focused()
.c-message__reply_bar--focus, .c-message__reply_bar:hover
replies-hover()
.c-message__reply_bar--focus .c-message__reply_bar_view_thread, .c-message__reply_bar:hover .c-message__reply_bar_view_thread
reset()
.c-message_actions__container
actions-container()
.c-message_actions__button
actions-button()
.c-message_attachment__pretext
reset()
// File meta info (above a posted image or such)
.c-message_kit__file__meta
color: color-text-dark
pre, code
border-color: color-back-light
background: color-back-dark
color: color-text-dark
/* Sidebar */
[lang] .p-channel_sidebar:not(.p-channel_sidebar--global_nav):not(.p-channel_sidebar--classic_nav), .client_channels_list_container
background: color-back
.p-channel_sidebar
color: color-text
.c-unified_member__display-name--large, .c-unified_member__title--large
link()
.c-app_badge, .c-app_label
reset()
/* Jumper */
.p-channel_sidebar__jumper
background: color-back-dark
border: 1px solid color-back-light
.p-channel_browser_list_item,
.p-channel_browser_list_item:not(.p-channel_browser_list_item--disabled):not(.p-channel_browser_list_item--disconnected):active,
.p-channel_browser_list_item:not(.p-channel_browser_list_item--disabled):not(.p-channel_browser_list_item--disconnected):focus,
.p-channel_browser_list_item:not(.p-channel_browser_list_item--disabled):not(.p-channel_browser_list_item--disconnected):hover
list-item()
#team_menu, #team_menu_user
color: color-text
border-bottom: 1px solid color-back-dark
/* Right Sidebar */
.p-flexpane_header
background: color-back
color: color-text
.c-icon_button--light,
.c-icon_button--light.c-button-unstyled,
.c-icon_button--light:link,
.p-channel_browser_list_item__member_count,
.p-channel_browser_list_item__preview,
.p-threads_footer__input .p-message_input_file_button
icon()
.p-threads_flexpane__header_channel_name, .p-threads_flexpane__header_permalink:focus, .p-threads_flexpane__header_permalink:hover
color: color-text-light
.p-threads_flexpane__separator_count
color: color-text
.p-flexpane_header
border-bottom: color-back
.p-threads_footer__input .p-message_input_field
background: color-back-light
/* Highlight */
.p-channel_sidebar__channel--unread:not(.p-channel_sidebar__channel--muted):not(.p-channel_sidebar__channel--suggested):not(.p-channel_sidebar__channel--selected) .p-channel_sidebar__name, .p-channel_sidebar__link--unread:not(.p-channel_sidebar__link--selected) .p-channel_sidebar__name, .p-channel_sidebar__link--invites:not(.p-channel_sidebar__link--dim) .p-channel_sidebar__name, .p-channel_sidebar__section_heading_label--clickable:hover, .p-channel_sidebar__section_heading_label--unreads, .p-channel_sidebar__quickswitcher:hover
highlight()
/* Right Side */
.channel_header, #edit_topic_inner:not(.cannot_edit_topic):before, .c-message_list__day_divider__label__pill
background: color-back-dark
color: color-text-dark
.channel_title .channel_name button
color: color-text
.p-message_pane .c-message_list.c-virtual_list--scrollbar>.c-scrollbar__hider:before, .p-message_pane .c-message_list:not(.c-virtual_list--scrollbar):before
background: color-back-dark
.c-message_attachment
color: color-text
.c-message_attachment__border
background-color: color-back-dark
/* New Messages */
.c-message_list__unread_divider__separator, .c-message_list__day_divider__line
border-color: color-back-dark
.c-message_list__unread_divider__label
color: color-text-dark
background: color-back-dark
/* Bot Message */
.c-message--ephemeral, .c-message--sli_highlight_negative,
.c-message--ephemeral, .c-message--ephemeral .c-message__body
background: color-back-dark
/* Sender */
.c-message--light .c-message__sender .c-message__sender_link
color: color-text
/* Mention */
.c-member_slug--link, .c-mrkdwn__broadcast--mention, .c-mrkdwn__broadcast--mention:hover, .c-mrkdwn__highlight, .c-mrkdwn__mention, .c-mrkdwn__mention:hover, .c-mrkdwn__user_group--mention, .c-mrkdwn__user_group--mention:hover
background: color-back-light
/* Footer */
footer
background: color-back
box-shadow: inset 1px 0 0 0 color-back-dark
#primary_file_button
background: color-back-dark
border: none
.ql-editor.ql-blank:before,
.c-texty_input .ql-placeholder
input-message-placeholder()
.p-workspace__input .p-message_input_field,
textarea.c-input_textarea,
.c-select_button
input-message()
#msg_input
border: none
.texty_legacy .ql-placeholder
color: color-text
/* Hover Colors */
.c-icon_button--light.c-button-unstyled:hover, .c-icon_button--light:hover, .c-icon_button--light:link:hover
color: color-text-light
.c-message--focus:not(.c-message--highlight):not(.c-message--standalone):not(.c-message--pinned):not(.c-message--ephemeral):not(.c-message--custom_response):not(.c-message--starred):not(.c-message--sli_highlight), .c-message--hover:not(.c-message--highlight):not(.c-message--standalone):not(.c-message--pinned):not(.c-message--ephemeral):not(.c-message--custom_response):not(.c-message--starred):not(.c-message--sli_highlight), .c-message:hover:not(.c-message--highlight):not(.c-message--standalone):not(.c-message--pinned):not(.c-message--ephemeral):not(.c-message--custom_response):not(.c-message--starred):not(.c-message--sli_highlight)
background: color-back
/* Misc Stuff */
/* Get rid of the borders... */
.channel_header, #col_messages, #client_body:not(.onboarding):not(.feature_global_nav_layout):before
box-shadow: inset 1px 0 0 0 color-back-dark
#client_body:not(.onboarding):not(.feature_global_nav_layout):before
background: color-back-dark