@loidolt/theme-tokens 0.7.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/index.d.ts +435 -52
- package/dist/index.js +487 -47
- package/dist/presets/compact-dark-auto.css +159 -0
- package/dist/presets/compact-dark.css +79 -0
- package/dist/presets/compact.css +156 -0
- package/dist/presets/compact.root-dark-auto.css +157 -0
- package/dist/presets/compact.root-dark.css +78 -0
- package/dist/presets/compact.root.css +156 -0
- package/dist/presets/loidolt-dark-auto.css +159 -0
- package/dist/presets/loidolt-dark.css +79 -0
- package/dist/presets/loidolt.css +156 -0
- package/dist/presets/loidolt.root-dark-auto.css +157 -0
- package/dist/presets/loidolt.root-dark.css +78 -0
- package/dist/presets/loidolt.root.css +156 -0
- package/dist/presets/soft-dark-auto.css +159 -0
- package/dist/presets/soft-dark.css +79 -0
- package/dist/presets/soft.css +156 -0
- package/dist/presets/soft.root-dark-auto.css +157 -0
- package/dist/presets/soft.root-dark.css +78 -0
- package/dist/presets/soft.root.css +156 -0
- package/dist/tokens.css +33 -0
- package/package.json +2 -1
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/* Soft preset — Rounded corners, sentence-case labels, cool neutrals and a blue accent.
|
|
2
|
+
Generated by definePreset(). Do not edit directly. */
|
|
3
|
+
[data-preset='soft'] {
|
|
4
|
+
--loidolt-font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
5
|
+
--loidolt-font-utility: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
6
|
+
--loidolt-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
7
|
+
--loidolt-font-size-xs: 0.75rem;
|
|
8
|
+
--loidolt-font-size-sm: 0.75rem;
|
|
9
|
+
--loidolt-font-size-base: 0.875rem;
|
|
10
|
+
--loidolt-font-size-md: 1rem;
|
|
11
|
+
--loidolt-font-size-lg: 1.25rem;
|
|
12
|
+
--loidolt-font-size-xl: 1.75rem;
|
|
13
|
+
--loidolt-font-size-display: 2.5rem;
|
|
14
|
+
--loidolt-font-tracking-utility: 0.1em;
|
|
15
|
+
--loidolt-font-tracking-wide: 0.13em;
|
|
16
|
+
--loidolt-font-line-height-tight: 1.15;
|
|
17
|
+
--loidolt-font-line-height-normal: 1.45;
|
|
18
|
+
--loidolt-font-line-height-relaxed: 1.65;
|
|
19
|
+
--loidolt-space-0: 0;
|
|
20
|
+
--loidolt-space-1: 0.25rem;
|
|
21
|
+
--loidolt-space-2: 0.5rem;
|
|
22
|
+
--loidolt-space-3: 0.75rem;
|
|
23
|
+
--loidolt-space-4: 1rem;
|
|
24
|
+
--loidolt-space-5: 1.25rem;
|
|
25
|
+
--loidolt-space-6: 1.5rem;
|
|
26
|
+
--loidolt-space-8: 2rem;
|
|
27
|
+
--loidolt-space-10: 2.5rem;
|
|
28
|
+
--loidolt-space-12: 3rem;
|
|
29
|
+
--loidolt-space-16: 4rem;
|
|
30
|
+
--loidolt-size-control-sm: 2rem;
|
|
31
|
+
--loidolt-size-control: 2.375rem;
|
|
32
|
+
--loidolt-size-control-lg: 2.75rem;
|
|
33
|
+
--loidolt-size-topbar: 3.875rem;
|
|
34
|
+
--loidolt-size-contextbar: 2.5625rem;
|
|
35
|
+
--loidolt-size-sidebar: 17rem;
|
|
36
|
+
--loidolt-size-inspector: 18rem;
|
|
37
|
+
--loidolt-size-content: 75rem;
|
|
38
|
+
--loidolt-border-width: 1px;
|
|
39
|
+
--loidolt-border-radius: 6px;
|
|
40
|
+
--loidolt-border-radius-pill: 999px;
|
|
41
|
+
--loidolt-shadow-popover: 0 12px 30px color-mix(in srgb, var(--loidolt-shadow-color) 18%, transparent);
|
|
42
|
+
--loidolt-shadow-modal: 0 24px 60px color-mix(in srgb, var(--loidolt-shadow-color) 24%, transparent);
|
|
43
|
+
--loidolt-shadow-artwork: 0 18px 23px color-mix(in srgb, var(--loidolt-shadow-color) 14%, transparent);
|
|
44
|
+
--loidolt-motion-fast: 100ms;
|
|
45
|
+
--loidolt-motion-normal: 150ms;
|
|
46
|
+
--loidolt-motion-slow: 220ms;
|
|
47
|
+
--loidolt-motion-easing: cubic-bezier(0.2, 0, 0, 1);
|
|
48
|
+
--loidolt-radius-control: 6px;
|
|
49
|
+
--loidolt-radius-inner: 4px;
|
|
50
|
+
--loidolt-radius-surface: 8px;
|
|
51
|
+
--loidolt-radius-overlay: 10px;
|
|
52
|
+
--loidolt-stroke-focus: 2px;
|
|
53
|
+
--loidolt-stroke-indicator: 2px;
|
|
54
|
+
--loidolt-stroke-accent: 3px;
|
|
55
|
+
--loidolt-pad-control-x: 0.9775rem;
|
|
56
|
+
--loidolt-pad-control-x-sm: 0.7475rem;
|
|
57
|
+
--loidolt-pad-control-x-lg: 1.38rem;
|
|
58
|
+
--loidolt-pad-control-y: 0.575rem;
|
|
59
|
+
--loidolt-pad-control-y-sm: 0.437rem;
|
|
60
|
+
--loidolt-pad-field: 0.5175rem 0.1725rem;
|
|
61
|
+
--loidolt-pad-item: 0.7475rem 0.6325rem;
|
|
62
|
+
--loidolt-pad-cell: 0.805rem 0.92rem;
|
|
63
|
+
--loidolt-pad-callout: 0.92rem 1.15rem;
|
|
64
|
+
--loidolt-pad-surface: 1.15rem;
|
|
65
|
+
--loidolt-pad-overlay: 1.15rem 1.4375rem;
|
|
66
|
+
--loidolt-pad-popover: 0.5175rem;
|
|
67
|
+
--loidolt-pad-bar-x: 1.5525rem;
|
|
68
|
+
--loidolt-pad-pane: 1.4375rem;
|
|
69
|
+
--loidolt-pad-page: 1.725rem;
|
|
70
|
+
--loidolt-gap-field: 0.4025rem;
|
|
71
|
+
--loidolt-gap-actions: 0.575rem;
|
|
72
|
+
--loidolt-label-transform: none;
|
|
73
|
+
--loidolt-label-tracking: 0em;
|
|
74
|
+
--loidolt-label-tracking-wide: 0.02em;
|
|
75
|
+
--loidolt-label-weight: 500;
|
|
76
|
+
--loidolt-control-transform: none;
|
|
77
|
+
--loidolt-control-tracking: 0em;
|
|
78
|
+
--loidolt-control-weight: 500;
|
|
79
|
+
--loidolt-heading-weight: 600;
|
|
80
|
+
--loidolt-strong-weight: 600;
|
|
81
|
+
}
|
|
82
|
+
[data-preset='soft']:not([data-theme='dark'], [data-theme='dark'] *) {
|
|
83
|
+
--loidolt-background: #f4f6f8;
|
|
84
|
+
--loidolt-surface: #ffffff;
|
|
85
|
+
--loidolt-surface-alt: #f8fafc;
|
|
86
|
+
--loidolt-surface-sunken: #e9edf2;
|
|
87
|
+
--loidolt-surface-paper: #ffffff;
|
|
88
|
+
--loidolt-surface-inverse: #1c2430;
|
|
89
|
+
--loidolt-surface-input: #ffffff;
|
|
90
|
+
--loidolt-text: #1c2430;
|
|
91
|
+
--loidolt-text-muted: #556070;
|
|
92
|
+
--loidolt-text-inverse: #f4f6f8;
|
|
93
|
+
--loidolt-text-accent: #1d4ed8;
|
|
94
|
+
--loidolt-border: #d5dbe3;
|
|
95
|
+
--loidolt-border-soft: #e4e8ee;
|
|
96
|
+
--loidolt-border-strong: #8792a2;
|
|
97
|
+
--loidolt-border-control: #7b8696;
|
|
98
|
+
--loidolt-border-sunken: #d5dbe3;
|
|
99
|
+
--loidolt-accent: #2563eb;
|
|
100
|
+
--loidolt-accent-hover: #1d4ed8;
|
|
101
|
+
--loidolt-on-accent: #ffffff;
|
|
102
|
+
--loidolt-danger: #c62828;
|
|
103
|
+
--loidolt-danger-hover: #a51d1d;
|
|
104
|
+
--loidolt-on-danger: #ffffff;
|
|
105
|
+
--loidolt-text-danger: #b42318;
|
|
106
|
+
--loidolt-success: #1f7a4d;
|
|
107
|
+
--loidolt-on-success: #ffffff;
|
|
108
|
+
--loidolt-text-success: #1a6a42;
|
|
109
|
+
--loidolt-warning: #a15c07;
|
|
110
|
+
--loidolt-on-warning: #ffffff;
|
|
111
|
+
--loidolt-text-warning: #8a4b06;
|
|
112
|
+
--loidolt-info: #0e6b8c;
|
|
113
|
+
--loidolt-on-info: #ffffff;
|
|
114
|
+
--loidolt-text-info: #0b5c78;
|
|
115
|
+
--loidolt-focus-ring: #2563eb;
|
|
116
|
+
--loidolt-shadow-color: #1c2430;
|
|
117
|
+
--loidolt-scrim: color-mix(in srgb, var(--loidolt-shadow-color) 72%, transparent);
|
|
118
|
+
--loidolt-chart-1: var(--loidolt-color-series-1);
|
|
119
|
+
--loidolt-chart-2: var(--loidolt-color-series-2);
|
|
120
|
+
--loidolt-chart-3: var(--loidolt-color-series-3);
|
|
121
|
+
--loidolt-chart-4: var(--loidolt-color-series-4);
|
|
122
|
+
--loidolt-chart-5: var(--loidolt-color-series-5);
|
|
123
|
+
--loidolt-chart-6: var(--loidolt-color-series-6);
|
|
124
|
+
--loidolt-chart-7: var(--loidolt-color-series-7);
|
|
125
|
+
--loidolt-chart-8: var(--loidolt-color-series-8);
|
|
126
|
+
--loidolt-chart-sequential-1: var(--loidolt-color-sequential-1);
|
|
127
|
+
--loidolt-chart-sequential-2: var(--loidolt-color-sequential-2);
|
|
128
|
+
--loidolt-chart-sequential-3: var(--loidolt-color-sequential-3);
|
|
129
|
+
--loidolt-chart-sequential-4: var(--loidolt-color-sequential-4);
|
|
130
|
+
--loidolt-chart-sequential-5: var(--loidolt-color-sequential-5);
|
|
131
|
+
--loidolt-chart-diverging-1: var(--loidolt-color-diverging-1);
|
|
132
|
+
--loidolt-chart-diverging-2: var(--loidolt-color-diverging-2);
|
|
133
|
+
--loidolt-chart-diverging-3: var(--loidolt-color-diverging-3);
|
|
134
|
+
--loidolt-chart-diverging-4: var(--loidolt-color-diverging-4);
|
|
135
|
+
--loidolt-chart-diverging-5: var(--loidolt-color-diverging-5);
|
|
136
|
+
--loidolt-chart-diverging-6: var(--loidolt-color-diverging-6);
|
|
137
|
+
--loidolt-chart-diverging-7: var(--loidolt-color-diverging-7);
|
|
138
|
+
--loidolt-chart-positive: var(--loidolt-color-success);
|
|
139
|
+
--loidolt-chart-negative: var(--loidolt-color-error);
|
|
140
|
+
--loidolt-map-land: var(--loidolt-color-paper);
|
|
141
|
+
--loidolt-map-water: var(--loidolt-color-map-water);
|
|
142
|
+
--loidolt-map-park: var(--loidolt-color-map-park);
|
|
143
|
+
--loidolt-map-road: var(--loidolt-color-map-road);
|
|
144
|
+
--loidolt-map-road-major: var(--loidolt-color-map-road-major);
|
|
145
|
+
--loidolt-map-building: var(--loidolt-color-map-building);
|
|
146
|
+
--loidolt-map-boundary: var(--loidolt-color-line-strong);
|
|
147
|
+
--loidolt-map-label: var(--loidolt-color-deep);
|
|
148
|
+
--loidolt-map-label-halo: var(--loidolt-color-panel);
|
|
149
|
+
--loidolt-syntax-keyword: var(--loidolt-color-syntax-keyword);
|
|
150
|
+
--loidolt-syntax-string: var(--loidolt-color-syntax-string);
|
|
151
|
+
--loidolt-syntax-comment: var(--loidolt-color-syntax-comment);
|
|
152
|
+
--loidolt-syntax-constant: var(--loidolt-color-syntax-constant);
|
|
153
|
+
--loidolt-syntax-function: var(--loidolt-color-syntax-function);
|
|
154
|
+
--loidolt-syntax-parameter: var(--loidolt-color-syntax-parameter);
|
|
155
|
+
--loidolt-syntax-punctuation: var(--loidolt-color-syntax-punctuation);
|
|
156
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/* Soft preset — Rounded corners, sentence-case labels, cool neutrals and a blue accent.
|
|
2
|
+
Generated by definePreset(). Do not edit directly. */
|
|
3
|
+
:root[data-theme='dark'] {
|
|
4
|
+
color-scheme: dark;
|
|
5
|
+
--loidolt-background: #11151b;
|
|
6
|
+
--loidolt-surface: #181d25;
|
|
7
|
+
--loidolt-surface-alt: #1e2430;
|
|
8
|
+
--loidolt-surface-sunken: #0c0f13;
|
|
9
|
+
--loidolt-surface-paper: #ffffff;
|
|
10
|
+
--loidolt-surface-inverse: #e6eaf0;
|
|
11
|
+
--loidolt-surface-input: #1e2430;
|
|
12
|
+
--loidolt-text: #e6eaf0;
|
|
13
|
+
--loidolt-text-muted: #9aa5b4;
|
|
14
|
+
--loidolt-text-inverse: #11151b;
|
|
15
|
+
--loidolt-text-accent: #8ab4ff;
|
|
16
|
+
--loidolt-border: #2d3542;
|
|
17
|
+
--loidolt-border-soft: #232a35;
|
|
18
|
+
--loidolt-border-strong: #5b6677;
|
|
19
|
+
--loidolt-border-control: #6f7a8b;
|
|
20
|
+
--loidolt-border-sunken: #1f2630;
|
|
21
|
+
--loidolt-accent: #6aa1ff;
|
|
22
|
+
--loidolt-accent-hover: #8ab4ff;
|
|
23
|
+
--loidolt-on-accent: #0c1220;
|
|
24
|
+
--loidolt-danger: #f07167;
|
|
25
|
+
--loidolt-danger-hover: #f4928a;
|
|
26
|
+
--loidolt-on-danger: #11151b;
|
|
27
|
+
--loidolt-text-danger: #f59a92;
|
|
28
|
+
--loidolt-success: #5cc08a;
|
|
29
|
+
--loidolt-on-success: #11151b;
|
|
30
|
+
--loidolt-text-success: #74cf9c;
|
|
31
|
+
--loidolt-warning: #e0a24a;
|
|
32
|
+
--loidolt-on-warning: #11151b;
|
|
33
|
+
--loidolt-text-warning: #e8b468;
|
|
34
|
+
--loidolt-info: #5bb5d6;
|
|
35
|
+
--loidolt-on-info: #11151b;
|
|
36
|
+
--loidolt-text-info: #7cc6e2;
|
|
37
|
+
--loidolt-focus-ring: #8ab4ff;
|
|
38
|
+
--loidolt-shadow-color: #000000;
|
|
39
|
+
--loidolt-scrim: color-mix(in srgb, var(--loidolt-shadow-color) 78%, transparent);
|
|
40
|
+
--loidolt-chart-1: #e0672f;
|
|
41
|
+
--loidolt-chart-2: #6ea5bd;
|
|
42
|
+
--loidolt-chart-3: #93b287;
|
|
43
|
+
--loidolt-chart-4: #d9ab63;
|
|
44
|
+
--loidolt-chart-5: #c49ac0;
|
|
45
|
+
--loidolt-chart-6: #b8ad96;
|
|
46
|
+
--loidolt-chart-7: #6fb8a6;
|
|
47
|
+
--loidolt-chart-8: #c79a78;
|
|
48
|
+
--loidolt-chart-sequential-1: #3a2a1d;
|
|
49
|
+
--loidolt-chart-sequential-2: #6b4225;
|
|
50
|
+
--loidolt-chart-sequential-3: #a4602f;
|
|
51
|
+
--loidolt-chart-sequential-4: #d98a4d;
|
|
52
|
+
--loidolt-chart-sequential-5: #f2bd8a;
|
|
53
|
+
--loidolt-chart-diverging-1: #85b6ca;
|
|
54
|
+
--loidolt-chart-diverging-2: #5a8ea3;
|
|
55
|
+
--loidolt-chart-diverging-3: #35596a;
|
|
56
|
+
--loidolt-chart-diverging-4: #3a3d34;
|
|
57
|
+
--loidolt-chart-diverging-5: #7a4428;
|
|
58
|
+
--loidolt-chart-diverging-6: #bf6a3a;
|
|
59
|
+
--loidolt-chart-diverging-7: #f0895c;
|
|
60
|
+
--loidolt-chart-positive: #93b287;
|
|
61
|
+
--loidolt-chart-negative: #e88b81;
|
|
62
|
+
--loidolt-map-land: #161814;
|
|
63
|
+
--loidolt-map-water: #1d2b31;
|
|
64
|
+
--loidolt-map-park: #1f271c;
|
|
65
|
+
--loidolt-map-road: #2b2e26;
|
|
66
|
+
--loidolt-map-road-major: #3a3d34;
|
|
67
|
+
--loidolt-map-building: #24271f;
|
|
68
|
+
--loidolt-map-boundary: #787c6b;
|
|
69
|
+
--loidolt-map-label: #ebe7dc;
|
|
70
|
+
--loidolt-map-label-halo: #161814;
|
|
71
|
+
--loidolt-syntax-keyword: #a9441d;
|
|
72
|
+
--loidolt-syntax-string: #3f5139;
|
|
73
|
+
--loidolt-syntax-comment: #5f5b50;
|
|
74
|
+
--loidolt-syntax-constant: #7c4d17;
|
|
75
|
+
--loidolt-syntax-function: #265162;
|
|
76
|
+
--loidolt-syntax-parameter: #7a4a78;
|
|
77
|
+
--loidolt-syntax-punctuation: #474a42;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@media (prefers-color-scheme: dark) {
|
|
81
|
+
:root:root:not([data-theme='light']) {
|
|
82
|
+
color-scheme: dark;
|
|
83
|
+
--loidolt-background: #11151b;
|
|
84
|
+
--loidolt-surface: #181d25;
|
|
85
|
+
--loidolt-surface-alt: #1e2430;
|
|
86
|
+
--loidolt-surface-sunken: #0c0f13;
|
|
87
|
+
--loidolt-surface-paper: #ffffff;
|
|
88
|
+
--loidolt-surface-inverse: #e6eaf0;
|
|
89
|
+
--loidolt-surface-input: #1e2430;
|
|
90
|
+
--loidolt-text: #e6eaf0;
|
|
91
|
+
--loidolt-text-muted: #9aa5b4;
|
|
92
|
+
--loidolt-text-inverse: #11151b;
|
|
93
|
+
--loidolt-text-accent: #8ab4ff;
|
|
94
|
+
--loidolt-border: #2d3542;
|
|
95
|
+
--loidolt-border-soft: #232a35;
|
|
96
|
+
--loidolt-border-strong: #5b6677;
|
|
97
|
+
--loidolt-border-control: #6f7a8b;
|
|
98
|
+
--loidolt-border-sunken: #1f2630;
|
|
99
|
+
--loidolt-accent: #6aa1ff;
|
|
100
|
+
--loidolt-accent-hover: #8ab4ff;
|
|
101
|
+
--loidolt-on-accent: #0c1220;
|
|
102
|
+
--loidolt-danger: #f07167;
|
|
103
|
+
--loidolt-danger-hover: #f4928a;
|
|
104
|
+
--loidolt-on-danger: #11151b;
|
|
105
|
+
--loidolt-text-danger: #f59a92;
|
|
106
|
+
--loidolt-success: #5cc08a;
|
|
107
|
+
--loidolt-on-success: #11151b;
|
|
108
|
+
--loidolt-text-success: #74cf9c;
|
|
109
|
+
--loidolt-warning: #e0a24a;
|
|
110
|
+
--loidolt-on-warning: #11151b;
|
|
111
|
+
--loidolt-text-warning: #e8b468;
|
|
112
|
+
--loidolt-info: #5bb5d6;
|
|
113
|
+
--loidolt-on-info: #11151b;
|
|
114
|
+
--loidolt-text-info: #7cc6e2;
|
|
115
|
+
--loidolt-focus-ring: #8ab4ff;
|
|
116
|
+
--loidolt-shadow-color: #000000;
|
|
117
|
+
--loidolt-scrim: color-mix(in srgb, var(--loidolt-shadow-color) 78%, transparent);
|
|
118
|
+
--loidolt-chart-1: #e0672f;
|
|
119
|
+
--loidolt-chart-2: #6ea5bd;
|
|
120
|
+
--loidolt-chart-3: #93b287;
|
|
121
|
+
--loidolt-chart-4: #d9ab63;
|
|
122
|
+
--loidolt-chart-5: #c49ac0;
|
|
123
|
+
--loidolt-chart-6: #b8ad96;
|
|
124
|
+
--loidolt-chart-7: #6fb8a6;
|
|
125
|
+
--loidolt-chart-8: #c79a78;
|
|
126
|
+
--loidolt-chart-sequential-1: #3a2a1d;
|
|
127
|
+
--loidolt-chart-sequential-2: #6b4225;
|
|
128
|
+
--loidolt-chart-sequential-3: #a4602f;
|
|
129
|
+
--loidolt-chart-sequential-4: #d98a4d;
|
|
130
|
+
--loidolt-chart-sequential-5: #f2bd8a;
|
|
131
|
+
--loidolt-chart-diverging-1: #85b6ca;
|
|
132
|
+
--loidolt-chart-diverging-2: #5a8ea3;
|
|
133
|
+
--loidolt-chart-diverging-3: #35596a;
|
|
134
|
+
--loidolt-chart-diverging-4: #3a3d34;
|
|
135
|
+
--loidolt-chart-diverging-5: #7a4428;
|
|
136
|
+
--loidolt-chart-diverging-6: #bf6a3a;
|
|
137
|
+
--loidolt-chart-diverging-7: #f0895c;
|
|
138
|
+
--loidolt-chart-positive: #93b287;
|
|
139
|
+
--loidolt-chart-negative: #e88b81;
|
|
140
|
+
--loidolt-map-land: #161814;
|
|
141
|
+
--loidolt-map-water: #1d2b31;
|
|
142
|
+
--loidolt-map-park: #1f271c;
|
|
143
|
+
--loidolt-map-road: #2b2e26;
|
|
144
|
+
--loidolt-map-road-major: #3a3d34;
|
|
145
|
+
--loidolt-map-building: #24271f;
|
|
146
|
+
--loidolt-map-boundary: #787c6b;
|
|
147
|
+
--loidolt-map-label: #ebe7dc;
|
|
148
|
+
--loidolt-map-label-halo: #161814;
|
|
149
|
+
--loidolt-syntax-keyword: #a9441d;
|
|
150
|
+
--loidolt-syntax-string: #3f5139;
|
|
151
|
+
--loidolt-syntax-comment: #5f5b50;
|
|
152
|
+
--loidolt-syntax-constant: #7c4d17;
|
|
153
|
+
--loidolt-syntax-function: #265162;
|
|
154
|
+
--loidolt-syntax-parameter: #7a4a78;
|
|
155
|
+
--loidolt-syntax-punctuation: #474a42;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* Soft preset — Rounded corners, sentence-case labels, cool neutrals and a blue accent.
|
|
2
|
+
Generated by definePreset(). Do not edit directly. */
|
|
3
|
+
:root[data-theme='dark'] {
|
|
4
|
+
color-scheme: dark;
|
|
5
|
+
--loidolt-background: #11151b;
|
|
6
|
+
--loidolt-surface: #181d25;
|
|
7
|
+
--loidolt-surface-alt: #1e2430;
|
|
8
|
+
--loidolt-surface-sunken: #0c0f13;
|
|
9
|
+
--loidolt-surface-paper: #ffffff;
|
|
10
|
+
--loidolt-surface-inverse: #e6eaf0;
|
|
11
|
+
--loidolt-surface-input: #1e2430;
|
|
12
|
+
--loidolt-text: #e6eaf0;
|
|
13
|
+
--loidolt-text-muted: #9aa5b4;
|
|
14
|
+
--loidolt-text-inverse: #11151b;
|
|
15
|
+
--loidolt-text-accent: #8ab4ff;
|
|
16
|
+
--loidolt-border: #2d3542;
|
|
17
|
+
--loidolt-border-soft: #232a35;
|
|
18
|
+
--loidolt-border-strong: #5b6677;
|
|
19
|
+
--loidolt-border-control: #6f7a8b;
|
|
20
|
+
--loidolt-border-sunken: #1f2630;
|
|
21
|
+
--loidolt-accent: #6aa1ff;
|
|
22
|
+
--loidolt-accent-hover: #8ab4ff;
|
|
23
|
+
--loidolt-on-accent: #0c1220;
|
|
24
|
+
--loidolt-danger: #f07167;
|
|
25
|
+
--loidolt-danger-hover: #f4928a;
|
|
26
|
+
--loidolt-on-danger: #11151b;
|
|
27
|
+
--loidolt-text-danger: #f59a92;
|
|
28
|
+
--loidolt-success: #5cc08a;
|
|
29
|
+
--loidolt-on-success: #11151b;
|
|
30
|
+
--loidolt-text-success: #74cf9c;
|
|
31
|
+
--loidolt-warning: #e0a24a;
|
|
32
|
+
--loidolt-on-warning: #11151b;
|
|
33
|
+
--loidolt-text-warning: #e8b468;
|
|
34
|
+
--loidolt-info: #5bb5d6;
|
|
35
|
+
--loidolt-on-info: #11151b;
|
|
36
|
+
--loidolt-text-info: #7cc6e2;
|
|
37
|
+
--loidolt-focus-ring: #8ab4ff;
|
|
38
|
+
--loidolt-shadow-color: #000000;
|
|
39
|
+
--loidolt-scrim: color-mix(in srgb, var(--loidolt-shadow-color) 78%, transparent);
|
|
40
|
+
--loidolt-chart-1: #e0672f;
|
|
41
|
+
--loidolt-chart-2: #6ea5bd;
|
|
42
|
+
--loidolt-chart-3: #93b287;
|
|
43
|
+
--loidolt-chart-4: #d9ab63;
|
|
44
|
+
--loidolt-chart-5: #c49ac0;
|
|
45
|
+
--loidolt-chart-6: #b8ad96;
|
|
46
|
+
--loidolt-chart-7: #6fb8a6;
|
|
47
|
+
--loidolt-chart-8: #c79a78;
|
|
48
|
+
--loidolt-chart-sequential-1: #3a2a1d;
|
|
49
|
+
--loidolt-chart-sequential-2: #6b4225;
|
|
50
|
+
--loidolt-chart-sequential-3: #a4602f;
|
|
51
|
+
--loidolt-chart-sequential-4: #d98a4d;
|
|
52
|
+
--loidolt-chart-sequential-5: #f2bd8a;
|
|
53
|
+
--loidolt-chart-diverging-1: #85b6ca;
|
|
54
|
+
--loidolt-chart-diverging-2: #5a8ea3;
|
|
55
|
+
--loidolt-chart-diverging-3: #35596a;
|
|
56
|
+
--loidolt-chart-diverging-4: #3a3d34;
|
|
57
|
+
--loidolt-chart-diverging-5: #7a4428;
|
|
58
|
+
--loidolt-chart-diverging-6: #bf6a3a;
|
|
59
|
+
--loidolt-chart-diverging-7: #f0895c;
|
|
60
|
+
--loidolt-chart-positive: #93b287;
|
|
61
|
+
--loidolt-chart-negative: #e88b81;
|
|
62
|
+
--loidolt-map-land: #161814;
|
|
63
|
+
--loidolt-map-water: #1d2b31;
|
|
64
|
+
--loidolt-map-park: #1f271c;
|
|
65
|
+
--loidolt-map-road: #2b2e26;
|
|
66
|
+
--loidolt-map-road-major: #3a3d34;
|
|
67
|
+
--loidolt-map-building: #24271f;
|
|
68
|
+
--loidolt-map-boundary: #787c6b;
|
|
69
|
+
--loidolt-map-label: #ebe7dc;
|
|
70
|
+
--loidolt-map-label-halo: #161814;
|
|
71
|
+
--loidolt-syntax-keyword: #a9441d;
|
|
72
|
+
--loidolt-syntax-string: #3f5139;
|
|
73
|
+
--loidolt-syntax-comment: #5f5b50;
|
|
74
|
+
--loidolt-syntax-constant: #7c4d17;
|
|
75
|
+
--loidolt-syntax-function: #265162;
|
|
76
|
+
--loidolt-syntax-parameter: #7a4a78;
|
|
77
|
+
--loidolt-syntax-punctuation: #474a42;
|
|
78
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/* Soft preset — Rounded corners, sentence-case labels, cool neutrals and a blue accent.
|
|
2
|
+
Generated by definePreset(). Do not edit directly. */
|
|
3
|
+
:root {
|
|
4
|
+
--loidolt-font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
5
|
+
--loidolt-font-utility: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
6
|
+
--loidolt-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
7
|
+
--loidolt-font-size-xs: 0.75rem;
|
|
8
|
+
--loidolt-font-size-sm: 0.75rem;
|
|
9
|
+
--loidolt-font-size-base: 0.875rem;
|
|
10
|
+
--loidolt-font-size-md: 1rem;
|
|
11
|
+
--loidolt-font-size-lg: 1.25rem;
|
|
12
|
+
--loidolt-font-size-xl: 1.75rem;
|
|
13
|
+
--loidolt-font-size-display: 2.5rem;
|
|
14
|
+
--loidolt-font-tracking-utility: 0.1em;
|
|
15
|
+
--loidolt-font-tracking-wide: 0.13em;
|
|
16
|
+
--loidolt-font-line-height-tight: 1.15;
|
|
17
|
+
--loidolt-font-line-height-normal: 1.45;
|
|
18
|
+
--loidolt-font-line-height-relaxed: 1.65;
|
|
19
|
+
--loidolt-space-0: 0;
|
|
20
|
+
--loidolt-space-1: 0.25rem;
|
|
21
|
+
--loidolt-space-2: 0.5rem;
|
|
22
|
+
--loidolt-space-3: 0.75rem;
|
|
23
|
+
--loidolt-space-4: 1rem;
|
|
24
|
+
--loidolt-space-5: 1.25rem;
|
|
25
|
+
--loidolt-space-6: 1.5rem;
|
|
26
|
+
--loidolt-space-8: 2rem;
|
|
27
|
+
--loidolt-space-10: 2.5rem;
|
|
28
|
+
--loidolt-space-12: 3rem;
|
|
29
|
+
--loidolt-space-16: 4rem;
|
|
30
|
+
--loidolt-size-control-sm: 2rem;
|
|
31
|
+
--loidolt-size-control: 2.375rem;
|
|
32
|
+
--loidolt-size-control-lg: 2.75rem;
|
|
33
|
+
--loidolt-size-topbar: 3.875rem;
|
|
34
|
+
--loidolt-size-contextbar: 2.5625rem;
|
|
35
|
+
--loidolt-size-sidebar: 17rem;
|
|
36
|
+
--loidolt-size-inspector: 18rem;
|
|
37
|
+
--loidolt-size-content: 75rem;
|
|
38
|
+
--loidolt-border-width: 1px;
|
|
39
|
+
--loidolt-border-radius: 6px;
|
|
40
|
+
--loidolt-border-radius-pill: 999px;
|
|
41
|
+
--loidolt-shadow-popover: 0 12px 30px color-mix(in srgb, var(--loidolt-shadow-color) 18%, transparent);
|
|
42
|
+
--loidolt-shadow-modal: 0 24px 60px color-mix(in srgb, var(--loidolt-shadow-color) 24%, transparent);
|
|
43
|
+
--loidolt-shadow-artwork: 0 18px 23px color-mix(in srgb, var(--loidolt-shadow-color) 14%, transparent);
|
|
44
|
+
--loidolt-motion-fast: 100ms;
|
|
45
|
+
--loidolt-motion-normal: 150ms;
|
|
46
|
+
--loidolt-motion-slow: 220ms;
|
|
47
|
+
--loidolt-motion-easing: cubic-bezier(0.2, 0, 0, 1);
|
|
48
|
+
--loidolt-radius-control: 6px;
|
|
49
|
+
--loidolt-radius-inner: 4px;
|
|
50
|
+
--loidolt-radius-surface: 8px;
|
|
51
|
+
--loidolt-radius-overlay: 10px;
|
|
52
|
+
--loidolt-stroke-focus: 2px;
|
|
53
|
+
--loidolt-stroke-indicator: 2px;
|
|
54
|
+
--loidolt-stroke-accent: 3px;
|
|
55
|
+
--loidolt-pad-control-x: 0.9775rem;
|
|
56
|
+
--loidolt-pad-control-x-sm: 0.7475rem;
|
|
57
|
+
--loidolt-pad-control-x-lg: 1.38rem;
|
|
58
|
+
--loidolt-pad-control-y: 0.575rem;
|
|
59
|
+
--loidolt-pad-control-y-sm: 0.437rem;
|
|
60
|
+
--loidolt-pad-field: 0.5175rem 0.1725rem;
|
|
61
|
+
--loidolt-pad-item: 0.7475rem 0.6325rem;
|
|
62
|
+
--loidolt-pad-cell: 0.805rem 0.92rem;
|
|
63
|
+
--loidolt-pad-callout: 0.92rem 1.15rem;
|
|
64
|
+
--loidolt-pad-surface: 1.15rem;
|
|
65
|
+
--loidolt-pad-overlay: 1.15rem 1.4375rem;
|
|
66
|
+
--loidolt-pad-popover: 0.5175rem;
|
|
67
|
+
--loidolt-pad-bar-x: 1.5525rem;
|
|
68
|
+
--loidolt-pad-pane: 1.4375rem;
|
|
69
|
+
--loidolt-pad-page: 1.725rem;
|
|
70
|
+
--loidolt-gap-field: 0.4025rem;
|
|
71
|
+
--loidolt-gap-actions: 0.575rem;
|
|
72
|
+
--loidolt-label-transform: none;
|
|
73
|
+
--loidolt-label-tracking: 0em;
|
|
74
|
+
--loidolt-label-tracking-wide: 0.02em;
|
|
75
|
+
--loidolt-label-weight: 500;
|
|
76
|
+
--loidolt-control-transform: none;
|
|
77
|
+
--loidolt-control-tracking: 0em;
|
|
78
|
+
--loidolt-control-weight: 500;
|
|
79
|
+
--loidolt-heading-weight: 600;
|
|
80
|
+
--loidolt-strong-weight: 600;
|
|
81
|
+
}
|
|
82
|
+
:root:not([data-theme='dark']) {
|
|
83
|
+
--loidolt-background: #f4f6f8;
|
|
84
|
+
--loidolt-surface: #ffffff;
|
|
85
|
+
--loidolt-surface-alt: #f8fafc;
|
|
86
|
+
--loidolt-surface-sunken: #e9edf2;
|
|
87
|
+
--loidolt-surface-paper: #ffffff;
|
|
88
|
+
--loidolt-surface-inverse: #1c2430;
|
|
89
|
+
--loidolt-surface-input: #ffffff;
|
|
90
|
+
--loidolt-text: #1c2430;
|
|
91
|
+
--loidolt-text-muted: #556070;
|
|
92
|
+
--loidolt-text-inverse: #f4f6f8;
|
|
93
|
+
--loidolt-text-accent: #1d4ed8;
|
|
94
|
+
--loidolt-border: #d5dbe3;
|
|
95
|
+
--loidolt-border-soft: #e4e8ee;
|
|
96
|
+
--loidolt-border-strong: #8792a2;
|
|
97
|
+
--loidolt-border-control: #7b8696;
|
|
98
|
+
--loidolt-border-sunken: #d5dbe3;
|
|
99
|
+
--loidolt-accent: #2563eb;
|
|
100
|
+
--loidolt-accent-hover: #1d4ed8;
|
|
101
|
+
--loidolt-on-accent: #ffffff;
|
|
102
|
+
--loidolt-danger: #c62828;
|
|
103
|
+
--loidolt-danger-hover: #a51d1d;
|
|
104
|
+
--loidolt-on-danger: #ffffff;
|
|
105
|
+
--loidolt-text-danger: #b42318;
|
|
106
|
+
--loidolt-success: #1f7a4d;
|
|
107
|
+
--loidolt-on-success: #ffffff;
|
|
108
|
+
--loidolt-text-success: #1a6a42;
|
|
109
|
+
--loidolt-warning: #a15c07;
|
|
110
|
+
--loidolt-on-warning: #ffffff;
|
|
111
|
+
--loidolt-text-warning: #8a4b06;
|
|
112
|
+
--loidolt-info: #0e6b8c;
|
|
113
|
+
--loidolt-on-info: #ffffff;
|
|
114
|
+
--loidolt-text-info: #0b5c78;
|
|
115
|
+
--loidolt-focus-ring: #2563eb;
|
|
116
|
+
--loidolt-shadow-color: #1c2430;
|
|
117
|
+
--loidolt-scrim: color-mix(in srgb, var(--loidolt-shadow-color) 72%, transparent);
|
|
118
|
+
--loidolt-chart-1: var(--loidolt-color-series-1);
|
|
119
|
+
--loidolt-chart-2: var(--loidolt-color-series-2);
|
|
120
|
+
--loidolt-chart-3: var(--loidolt-color-series-3);
|
|
121
|
+
--loidolt-chart-4: var(--loidolt-color-series-4);
|
|
122
|
+
--loidolt-chart-5: var(--loidolt-color-series-5);
|
|
123
|
+
--loidolt-chart-6: var(--loidolt-color-series-6);
|
|
124
|
+
--loidolt-chart-7: var(--loidolt-color-series-7);
|
|
125
|
+
--loidolt-chart-8: var(--loidolt-color-series-8);
|
|
126
|
+
--loidolt-chart-sequential-1: var(--loidolt-color-sequential-1);
|
|
127
|
+
--loidolt-chart-sequential-2: var(--loidolt-color-sequential-2);
|
|
128
|
+
--loidolt-chart-sequential-3: var(--loidolt-color-sequential-3);
|
|
129
|
+
--loidolt-chart-sequential-4: var(--loidolt-color-sequential-4);
|
|
130
|
+
--loidolt-chart-sequential-5: var(--loidolt-color-sequential-5);
|
|
131
|
+
--loidolt-chart-diverging-1: var(--loidolt-color-diverging-1);
|
|
132
|
+
--loidolt-chart-diverging-2: var(--loidolt-color-diverging-2);
|
|
133
|
+
--loidolt-chart-diverging-3: var(--loidolt-color-diverging-3);
|
|
134
|
+
--loidolt-chart-diverging-4: var(--loidolt-color-diverging-4);
|
|
135
|
+
--loidolt-chart-diverging-5: var(--loidolt-color-diverging-5);
|
|
136
|
+
--loidolt-chart-diverging-6: var(--loidolt-color-diverging-6);
|
|
137
|
+
--loidolt-chart-diverging-7: var(--loidolt-color-diverging-7);
|
|
138
|
+
--loidolt-chart-positive: var(--loidolt-color-success);
|
|
139
|
+
--loidolt-chart-negative: var(--loidolt-color-error);
|
|
140
|
+
--loidolt-map-land: var(--loidolt-color-paper);
|
|
141
|
+
--loidolt-map-water: var(--loidolt-color-map-water);
|
|
142
|
+
--loidolt-map-park: var(--loidolt-color-map-park);
|
|
143
|
+
--loidolt-map-road: var(--loidolt-color-map-road);
|
|
144
|
+
--loidolt-map-road-major: var(--loidolt-color-map-road-major);
|
|
145
|
+
--loidolt-map-building: var(--loidolt-color-map-building);
|
|
146
|
+
--loidolt-map-boundary: var(--loidolt-color-line-strong);
|
|
147
|
+
--loidolt-map-label: var(--loidolt-color-deep);
|
|
148
|
+
--loidolt-map-label-halo: var(--loidolt-color-panel);
|
|
149
|
+
--loidolt-syntax-keyword: var(--loidolt-color-syntax-keyword);
|
|
150
|
+
--loidolt-syntax-string: var(--loidolt-color-syntax-string);
|
|
151
|
+
--loidolt-syntax-comment: var(--loidolt-color-syntax-comment);
|
|
152
|
+
--loidolt-syntax-constant: var(--loidolt-color-syntax-constant);
|
|
153
|
+
--loidolt-syntax-function: var(--loidolt-color-syntax-function);
|
|
154
|
+
--loidolt-syntax-parameter: var(--loidolt-color-syntax-parameter);
|
|
155
|
+
--loidolt-syntax-punctuation: var(--loidolt-color-syntax-punctuation);
|
|
156
|
+
}
|
package/dist/tokens.css
CHANGED
|
@@ -181,4 +181,37 @@
|
|
|
181
181
|
--loidolt-syntax-function: var(--loidolt-color-syntax-function);
|
|
182
182
|
--loidolt-syntax-parameter: var(--loidolt-color-syntax-parameter);
|
|
183
183
|
--loidolt-syntax-punctuation: var(--loidolt-color-syntax-punctuation);
|
|
184
|
+
--loidolt-radius-control: var(--loidolt-border-radius);
|
|
185
|
+
--loidolt-radius-inner: 0px;
|
|
186
|
+
--loidolt-radius-surface: var(--loidolt-border-radius);
|
|
187
|
+
--loidolt-radius-overlay: var(--loidolt-border-radius);
|
|
188
|
+
--loidolt-stroke-focus: 2px;
|
|
189
|
+
--loidolt-stroke-indicator: 2px;
|
|
190
|
+
--loidolt-stroke-accent: 3px;
|
|
191
|
+
--loidolt-pad-control-x: 0.85rem;
|
|
192
|
+
--loidolt-pad-control-x-sm: 0.65rem;
|
|
193
|
+
--loidolt-pad-control-x-lg: 1.2rem;
|
|
194
|
+
--loidolt-pad-control-y: 0.5rem;
|
|
195
|
+
--loidolt-pad-control-y-sm: 0.38rem;
|
|
196
|
+
--loidolt-pad-field: 0.45rem 0.15rem;
|
|
197
|
+
--loidolt-pad-item: 0.65rem 0.55rem;
|
|
198
|
+
--loidolt-pad-cell: 0.7rem 0.8rem;
|
|
199
|
+
--loidolt-pad-callout: 0.8rem 1rem;
|
|
200
|
+
--loidolt-pad-surface: var(--loidolt-space-4);
|
|
201
|
+
--loidolt-pad-overlay: 1rem 1.25rem;
|
|
202
|
+
--loidolt-pad-popover: 0.45rem;
|
|
203
|
+
--loidolt-pad-bar-x: 1.35rem;
|
|
204
|
+
--loidolt-pad-pane: 1.25rem;
|
|
205
|
+
--loidolt-pad-page: var(--loidolt-space-6);
|
|
206
|
+
--loidolt-gap-field: 0.35rem;
|
|
207
|
+
--loidolt-gap-actions: var(--loidolt-space-2);
|
|
208
|
+
--loidolt-label-transform: uppercase;
|
|
209
|
+
--loidolt-label-tracking: var(--loidolt-font-tracking-utility);
|
|
210
|
+
--loidolt-label-tracking-wide: var(--loidolt-font-tracking-wide);
|
|
211
|
+
--loidolt-label-weight: 400;
|
|
212
|
+
--loidolt-control-transform: uppercase;
|
|
213
|
+
--loidolt-control-tracking: 0.08em;
|
|
214
|
+
--loidolt-control-weight: 400;
|
|
215
|
+
--loidolt-heading-weight: 500;
|
|
216
|
+
--loidolt-strong-weight: 600;
|
|
184
217
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loidolt/theme-tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Typed design tokens for Loidolt applications",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"./css": "./dist/tokens.css",
|
|
16
16
|
"./css/dark": "./dist/dark.css",
|
|
17
17
|
"./css/dark-auto": "./dist/dark-auto.css",
|
|
18
|
+
"./css/presets/*": "./dist/presets/*.css",
|
|
18
19
|
"./package.json": "./package.json"
|
|
19
20
|
},
|
|
20
21
|
"files": [
|