Repository navigation
Expand file tree
/
Copy pathcolors.css
More file actions
183 lines (180 loc) · 5.66 KB
/
Copy pathcolors.css
File metadata and controls
183 lines (180 loc) · 5.66 KB
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
/* App chrome only. PDF themes and supplied media keep their own colors. */
:root {
color-scheme: light;
--background: #f8f8f8;
--surface: #f2f2f2;
--surface-raised: #ffffff;
--surface-alt: #eeeeee;
/* The reader sits a step deeper than other surfaces so off-white pages keep a visible edge. */
--reader-canvas: #e5e5e5;
--navigation-surface: #e2e2e2;
/* Secondary text on the navigation surface: --muted is 4.4:1 there in light, this is 5.0:1. */
--navigation-muted: #5e5e5e;
--surface-hover: #e6e6e6;
--ink: #262626;
--muted: #666666;
/* Lighter than entered text but at least 4.5:1: 4.95:1 on raised fields, 4.66:1 on the comment field's page tone. */
--placeholder: #707070;
--badge-fill: #caface;
--badge-ink: #0e762c;
--line: #dedede;
--line-strong: #b8b8b8;
--control-line: #8c8c8c;
--accent: #2777c1;
--accent-hover: #226aab;
--accent-active: #1d5b93;
--accent-ink: #1d5b93;
--accent-ink-hover: #174d7e;
--on-accent: #ffffff;
--focus-ring: var(--accent);
--control-hover: #eaeaea;
--control-active: #e2e2e2;
--selected-surface: #e8e8e8;
--popup-surface: var(--surface-raised);
--inverse-surface: #292929;
--inverse-ink: #ffffff;
--status-ink: #666666;
--status-review: var(--accent);
--status-final: #1c7c37;
--notice-surface: #eeeeee;
--notice-ink: #424242;
--destructive: #b42318;
--destructive-fill: #b42318;
--destructive-fill-hover: #9e1f15;
--destructive-fill-active: #8a1b12;
--on-destructive: #ffffff;
--error-surface: #e8e8e8;
--error-ink: #242424;
--error-line: #777777;
/* Markers sit on the page, which keeps its paper colours in either appearance. */
--comment-marker: var(--document-accent);
--scrollbar: #a3a3a3;
--selection: #d2e4f5;
--pdf-selection: #2777c133;
--inspection-hover: #2777c112;
--inspection-selected: #2777c11a;
--inspection-line: #2777c1aa;
--link-highlight: #2777c125;
--link-outline: #2777c177;
--backdrop: #00000045;
--paper-edge: #0000001a;
--media-edge: #00000014;
--shadow-control: 0 1px 2px #00000014;
--shadow-popup: 0 4px 8px #00000008, 0 12px 32px #00000014;
/* Dialogs share the popups' two-layer elevation, one step deeper, above the dimmed backdrop. */
--shadow-dialog: 0 4px 12px #0000000d, 0 16px 40px #0000001f;
--shadow-tooltip: 0 2px 6px #00000018;
--shadow-cover: 0 2px 5px #00000010, 0 9px 22px #00000010;
--shadow-paper: 0 0 0 1px #00000014, 0 1px 3px #00000014, 0 10px 28px #00000014;
--shadow-thumbnail: 0 2px 5px #00000012;
--shadow-preview: 0 3px 12px #00000017;
--shadow-media: 0 2px 8px #00000008;
--shadow-panel-right: 12px 0 30px #00000014;
--wordmark-filter: none;
/* Page and media colors remain faithful to the exported artifact in either appearance. */
--paper: #ffffff;
--paper-muted: #555555;
--document-accent: #2777c1;
--document-accent-hover: #226aab;
--document-accent-active: #1d5b93;
--on-document-accent: #ffffff;
--media-surface: #ffffff;
}
:root[data-appearance="dark"] {
color-scheme: dark;
--background: #181818;
--surface: #202020;
--surface-raised: #262626;
--surface-alt: #121212;
--reader-canvas: var(--surface-alt);
--navigation-surface: #282828;
--navigation-muted: var(--muted);
--surface-hover: #303030;
--ink: #f0f0f0;
--muted: #a6a6a6;
--placeholder: #aaaaaa;
--line: #393939;
--line-strong: #626262;
--control-line: #898989;
--accent: #8ac4f2;
--accent-hover: #9cd0f7;
--accent-active: #85bfee;
--accent-ink: #9acbf2;
--accent-ink-hover: #bfdef7;
--on-accent: #132638;
--focus-ring: #9acbf2;
--control-hover: #333333;
--control-active: #3c3c3c;
--selected-surface: #343434;
--popup-surface: #292929;
--inverse-surface: #e2e2e2;
--inverse-ink: #242424;
--status-ink: #aaaaaa;
--status-final: #7ccf91;
--notice-surface: #252525;
--notice-ink: #dddddd;
--destructive: #ff9285;
--error-surface: #302828;
--error-ink: #f2d7d7;
--error-line: #bb8d8d;
--scrollbar: #777777;
--selection: #345575;
--backdrop: #00000099;
--media-edge: #ffffff1a;
--shadow-control: 0 1px 2px #00000030;
--shadow-popup: 0 4px 8px #00000030, 0 12px 32px #00000055;
--shadow-dialog: 0 4px 12px #00000040, 0 16px 40px #00000070;
--shadow-tooltip: 0 2px 6px #00000040;
--shadow-cover: 0 2px 5px #00000035, 0 9px 22px #00000045;
--shadow-paper: 0 0 0 1px #ffffff12, 0 2px 6px #00000035, 0 10px 27px #00000050;
--shadow-thumbnail: 0 2px 5px #00000040;
--shadow-preview: 0 3px 12px #00000045;
--shadow-media: 0 2px 8px #00000040;
--shadow-panel-right: 12px 0 30px #00000055;
--wordmark-filter: invert(1);
}
@media (prefers-contrast: more) {
:root {
--ink: #000000;
--muted: #222222;
--navigation-muted: var(--muted);
--placeholder: #444444;
--badge-ink: #0b6427;
--line: #8c8c8c;
--control-line: #555555;
--accent-ink: #123f68;
--shadow-paper: 0 0 0 1px #00000040, 0 1px 3px #00000014, 0 10px 28px #00000014;
}
:root[data-appearance="dark"] {
--background: #000000;
--surface: #080808;
--surface-raised: #0c0c0c;
--surface-alt: #000000;
--navigation-surface: #141414;
--popup-surface: #0c0c0c;
--control-hover: #202020;
--control-active: #282828;
--selected-surface: #202020;
--ink: #ffffff;
--muted: #eeeeee;
--placeholder: #dddddd;
--line: #858585;
--line-strong: #999999;
--control-line: #bbbbbb;
--accent-ink: #cce6ff;
--focus-ring: #cce6ff;
--accent: #baddf7;
--accent-hover: #d0eaff;
--accent-active: #b3d9f6;
--on-accent: #081320;
--notice-surface: #080808;
--notice-ink: #ffffff;
--error-surface: #0c0c0c;
--error-ink: #ffffff;
}
}
input::placeholder,
textarea::placeholder {
color: var(--placeholder);
opacity: 1;
}