-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_tokens.scss
More file actions
64 lines (60 loc) · 2.4 KB
/
Copy path_tokens.scss
File metadata and controls
64 lines (60 loc) · 2.4 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
// Tinted UI Tokens - generated by tinted-ui-tokens-skills
// ---- Light theme ----
$color-brand: #2563EB;
$color-brand-subtle: #E0E9FC;
$color-on-brand: #F6F9FE;
$color-bg: #F1F3F8;
$color-surface: #FBFCFF;
$color-surface-2: #E7EAF1;
$color-border: #D8DCE5;
$color-border-strong: #B5BCCB;
$color-text: #141E34;
$color-text-2: #444E64;
$color-text-muted: #8590A9;
$color-error: #CA3038;
$color-error-subtle: #DDCDDF;
$color-warning: #E09821;
$color-warning-subtle: #E0DDDB;
$color-success: #1C9A54;
$color-success-subtle: #C3DDE3;
// ---- Shadows (light) ----
$shadow-shadow_sm: 0 1px 3px rgba(37, 99, 235, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.04);
$shadow-shadow_md: 0 4px 16px rgba(37, 99, 235, 0.1), 0 1px 4px rgba(37, 99, 235, 0.06);
$shadow-shadow_lg: 0 12px 40px rgba(37, 99, 235, 0.12), 0 2px 8px rgba(37, 99, 235, 0.06);
// ---- Dark theme ----
$color-dark-bg: #11192C;
$color-dark-surface: #172137;
$color-dark-surface2: #1D273F;
$color-dark-border: #1F2D4A;
$color-dark-border_strong: #2C3C5E;
$color-dark-text: #E0E7F5;
$color-dark-text2: #8497B8;
$color-dark-text_muted: #7388A6;
$color-dark-brand_subtle: #1A2E5B;
$color-dark-error_subtle: #3C293E;
$color-dark-warning_subtle: #403C3A;
$color-dark-success_subtle: #1D3C43;
$color-dark-shadow_sm: 0 0 0 1px rgba(37, 99, 235, 0.1);
$color-dark-shadow_md: 0 4px 20px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(37, 99, 235, 0.06);
$color-dark-shadow_lg: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(37, 99, 235, 0.08);
$shadow-dark-shadow_sm: 0 0 0 1px rgba(37, 99, 235, 0.1);
$shadow-dark-shadow_md: 0 4px 20px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(37, 99, 235, 0.06);
$shadow-dark-shadow_lg: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(37, 99, 235, 0.08);
// Map light vars onto [data-theme="dark"] (drop-in):
@mixin tinted-dark {
--color-bg: $color-dark-bg;
--color-surface: $color-dark-surface;
--color-surface2: $color-dark-surface2;
--color-border: $color-dark-border;
--color-border_strong: $color-dark-border_strong;
--color-text: $color-dark-text;
--color-text2: $color-dark-text2;
--color-text_muted: $color-dark-text_muted;
--color-brand_subtle: $color-dark-brand_subtle;
--color-error_subtle: $color-dark-error_subtle;
--color-warning_subtle: $color-dark-warning_subtle;
--color-success_subtle: $color-dark-success_subtle;
--color-shadow_sm: $color-dark-shadow_sm;
--color-shadow_md: $color-dark-shadow_md;
--color-shadow_lg: $color-dark-shadow_lg;
}