-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathvariables.css
More file actions
152 lines (138 loc) · 4.3 KB
/
Copy pathvariables.css
File metadata and controls
152 lines (138 loc) · 4.3 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
/*
* variable naming convention:
* --{component name (if applicable)}-{style property}-{...modifiers (if applicable, hyphen separated)}
* example: --foo-background-color-light
*/
:root {
/* color palette */
--white: #ffffff;
--dark-workspace-color: #53636e;
--stroke-light: #b3bfc6;
--stroke-dark: #5d676f;
--gray-10: #fdfdfe;
--gray-20: #f2f2f2;
--gray-30: #e0e0e0;
--gray-40: #cccccc;
--gray-50: #757575;
--gray-60: #666666;
--gray-80: #4d4d4d;
--gray-90: #333333;
--accent-dark: #02101a;
--accent-medium: #283640;
--accent-light: #d4dde0;
--accent-success: #a5db75;
--accent-success-high-contrast: #4fa630;
--accent-success-light: #d1ffa4;
--accent-success-dark: #57a711;
--accent-error: #d93251;
--accent-error-active: #c92e40;
--accent-danger-active: #fea7a6;
--accent-danger: #fe6d6b;
--accent-danger-light: #f7846c;
--accent-warning: #ffdd75;
--accent-warning-light: #ffa1a1;
--accent-caution: #ffe69f;
--accent-warning-dark: #b88a00;
--accent-info: #6cdaf2;
--accent-info-light: #83e4fa;
--accent-info-active: #a7e9f7;
--accent-primary: #3c7aae;
--accent-primary-active: #316091;
--accent-error-disabled: #db6379;
--accent-primary-disabled: #78a6d8;
--accent-secondary: var(--gray-20);
--accent-secondary-active: var(--gray-30);
--light-workspace-color: #f7f7f7;
--focus-light: #b51ad1;
--focus-dark: #f5a4ff;
--issue-critical: var(--accent-danger-active);
--issue-serious: var(--accent-caution);
--issue-moderate: #f0c4f8;
--issue-minor: var(--gray-20);
/* text colours */
--text-color-base: var(--gray-60);
--text-color-light: var(--white);
--text-color-light-disabled: rgba(255, 255, 255, 0.5);
--header-text-color: var(--gray-80);
--header-text-color-dark: var(--gray-90);
/* background colours */
--background-light: #f0f2f5;
/* accents */
--error: var(--accent-error);
--disabled: var(--gray-40);
--focus: var(--focus-light);
--warning: var(--accent-caution);
--error-alt: var(--accent-warning-light);
--info: var(--accent-info-light);
--success: var(--accent-success-light);
--focus-active: rgba(215, 30, 247, 0.25);
--focus-glow: rgba(181, 26, 209, 0.75);
--metric-accent-low: var(--accent-danger-light);
--metric-accent-mid: #8ba6c5;
--metric-accent-full: var(--accent-success);
/* spacing (padding/margin) */
--space-quarter: 2px;
--space-half: 4px;
--space-three-quarters: 6px;
--space-smallest: 8px;
--space-smaller: 12px;
--space-small: 16px;
--space-medium: 18px;
--space-large: 24px;
--space-largest: 32px;
--space-large-with-underborder: 18px 24px;
--space-gutter: 40px;
/* text size */
--text-size-largest: 112px;
--text-size-larger: 56px;
--text-size-large: 45px;
--text-size-large-medium: 34px;
--text-size-medium-large: 32px;
--text-size-medium: 24px;
--text-small-medium: 20px;
--text-size-normal: 18px;
--text-size-small: 15px;
--text-size-smaller: 13px;
--text-size-smallest: 12px;
/* fonts */
--base-font-family: 'Roboto', Helvetica, Arial, sans-serif;
/* icon sizes */
--icon-size: 24px;
/* dimensions */
--border-width: 6px;
--layout-padding: 9px;
--content-max-width: 1000px;
/* z-index */
--z-index-tooltip: 22;
--z-index-loader: 8;
--z-index-scrim: 7;
--z-index-dialog: 21;
--z-index-dialog-scrim: 20;
--z-index-scrim-action-needed: 23;
--z-index-top-nav: 9;
--z-index-side-bar: 9;
--z-index-toast: 8;
--z-index-toast-action-needed: 24;
/* ensure this is a higher value than the rest (above)! */
--z-index-top-bar: 25;
/* ensure these are 1 higher than the top bar z-index */
--z-index-skip-container: calc(var(--z-index-top-bar) + 1);
--z-index-drawer: calc(var(--z-index-top-bar) + 1);
--z-index-listbox: calc(var(--z-index-top-bar) + 1);
/* radio card */
--radio-card-width: 255px;
--radio-card-height: 229px;
/* target size */
/* Note: target-size is deprecated, use --target-size-enhanced or --target-size-minimum */
--target-size: 44px;
--target-size-enhanced: var(--target-size);
--target-size-minimum: 24px;
/* drop shadows */
--drop-shadow-overlay:
0 8px 8px -4px rgba(0, 0, 0, 0.04), 0 20px 24px -4px rgba(51, 51, 51, 0.08);
--drop-shadow-raised:
0 2px 4px -2px rgba(51, 51, 51, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
}
.cauldron--theme-dark {
--focus: var(--focus-dark);
}