-
Notifications
You must be signed in to change notification settings - Fork 1
/
custom-slack.css
108 lines (86 loc) · 2.49 KB
/
custom-slack.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
/* Base color definitions */
:root {
--sk_foreground_high: 171, 178, 191;
--sk_foreground_high_solid: 134, 134, 134;
--sk_foreground_low: 171, 178, 191;
--sk_foreground_low_solid: 59, 64, 72;
--sk_foreground_max: 171, 178, 191;
--sk_foreground_max_solid: 171, 178, 191;
--sk_foreground_min: 171, 178, 191;
--sk_foreground_min_solid: 59, 64, 72;
--sk_highlight: 0, 133, 221;
--sk_highlight_accent: 29, 155, 209;
--sk_highlight_hover: 255, 255, 255;
--sk_inverted_background: 171, 178, 191;
--sk_inverted_foreground: 40, 44, 52;
--sk_primary_background: 40, 44, 52;
--sk_primary_foreground: 171, 178, 191;
--sk_secondary_highlight: 242, 199, 68;
}
/* zoom the sidebar out slightly */
.p-channel_sidebar__list {
zoom: 0.9;
}
/* minor weird color tweaks */
.sk-client-theme--dark .c-mrkdwn__code,
code {
color: rgb(var(--sk_highlight));
}
.c-search_autocomplete__query_parts .token {
background-color: rgba(var(--sk_foreground_min_solid,248,248,248),1);
}
/* @here and @myname pings */
.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,
.c-member_slug--mention,
.c-member_slug--mention:hover {
color: rgb(var(--sk_highlight_hover));
background-color: rgba(var(--sk_highlight),0.7);
}
/* Emoji tweaks */
.c-emoji {
filter: drop-shadow( 1px 0 0 #FFFFFFA0) drop-shadow(-1px 0 0 #FFFFFFA0) drop-shadow(-0 1px 0 #FFFFFFA0) drop-shadow( 0 -1px 0 #FFFFFFA0);
}
img.c-emoji[data-stringify-emoji^=':bigger-'],
img.c-emoji[data-stringify-emoji^=':big_'],
img.c-emoji[data-stringify-emoji^=':big-'],
img.c-emoji[data-stringify-emoji^=':thinkingbig'] {
filter: none !important;
}
.c-reaction {
background: rgb(var(--sk_foreground_min_solid));
border: 1px solid rgb(var(--sk_primary_background));
}
.c-emoji__large {
zoom: 2;
}
/* Attachment background color */
.c-message_attachment__image.
.c-search_autocomplete__query_parts .token {
background-color: rgba(var(--sk_foreground_low_solid,221,221,221),1);
}
/* Code Mirror styles for syntax highlighting */
.cm-s-default .cm-builtin,
.cm-s-default .cm-keyword {
color: #c792ea;
}
.cm-s-default .cm-number {
color: #f78c6c;
}
.cm-s-default .cm-comment {
color: #637777;
}
.cm-s-default .cm-string {
color: #ecc48d;
}
.cm-s-default .cm-atom {
color: #ffcb8b;
}
.cm-s-default .cm-variable-2 {
color: #7fdbca;
}