@pimolu/themes 0.1.0-beta.6 → 0.1.0-beta.7
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.fr.md +1 -1
- package/README.md +1 -1
- package/dist/default.css +54 -42
- package/dist/presets.css +51 -0
- package/dist/presets.js +46 -12
- package/dist/styles.css +46 -21
- package/dist/themes.json +29 -23
- package/dist/visual.css +13 -4
- package/dist/visuals.js +12 -3
- package/package.json +2 -2
- package/src/presets/adaptive.json +6 -2
- package/src/presets/cartoon.json +8 -3
- package/src/presets/glass.json +8 -2
- package/src/presets/luxury.json +8 -16
- package/src/presets/monochrome.json +8 -2
- package/src/presets/neo-brutalism.json +8 -14
- package/src/visual/default.json +12 -3
- package/style-base.css +5 -1
package/README.fr.md
CHANGED
|
@@ -6,7 +6,7 @@ Les thèmes de couleur, sept presets de style et les données visuelles neutres
|
|
|
6
6
|
|
|
7
7
|
[Guide des thèmes](https://pimolu.com/docs/theming) · [Personnalisation](https://github.com/pimoludev/ui/blob/main/docs/CUSTOMIZATION.md) · [Source](https://github.com/pimoludev/ui/tree/main/packages/themes)
|
|
8
8
|
|
|
9
|
-
> **Bêta :** `0.1.0-beta.
|
|
9
|
+
> **Bêta :** `0.1.0-beta.7` est une prévisualisation. Les noms des presets et des tokens peuvent évoluer avant `1.0.0`.
|
|
10
10
|
|
|
11
11
|
## Pourquoi les thèmes Pimolu ?
|
|
12
12
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Pimolu's colour themes, seven style presets and platform-neutral visual data. Us
|
|
|
6
6
|
|
|
7
7
|
[Theming guide](https://pimolu.com/docs/theming) · [Customization](https://github.com/pimoludev/ui/blob/main/docs/CUSTOMIZATION.md) · [Source](https://github.com/pimoludev/ui/tree/main/packages/themes)
|
|
8
8
|
|
|
9
|
-
> **Beta:** `0.1.0-beta.
|
|
9
|
+
> **Beta:** `0.1.0-beta.7` is a preview. Preset and token names may change before `1.0.0`.
|
|
10
10
|
|
|
11
11
|
## Why Pimolu themes?
|
|
12
12
|
|
package/dist/default.css
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* Generated by Pimolu UI */
|
|
2
2
|
|
|
3
3
|
[data-pimolu-theme="light"][data-pimolu-style="default"] {
|
|
4
|
-
--pimolu-background: #
|
|
5
|
-
--pimolu-foreground: #
|
|
6
|
-
--pimolu-surface: #
|
|
7
|
-
--pimolu-surface-foreground: #
|
|
8
|
-
--pimolu-muted: #
|
|
9
|
-
--pimolu-muted-foreground: #
|
|
10
|
-
--pimolu-border: #
|
|
11
|
-
--pimolu-primary: #
|
|
12
|
-
--pimolu-primary-hover: #
|
|
4
|
+
--pimolu-background: #FAF8F5;
|
|
5
|
+
--pimolu-foreground: #26232D;
|
|
6
|
+
--pimolu-surface: #FFFFFF;
|
|
7
|
+
--pimolu-surface-foreground: #26232D;
|
|
8
|
+
--pimolu-muted: #F4F0EC;
|
|
9
|
+
--pimolu-muted-foreground: #706B73;
|
|
10
|
+
--pimolu-border: #E7E0D9;
|
|
11
|
+
--pimolu-primary: #6746C7;
|
|
12
|
+
--pimolu-primary-hover: #5637B0;
|
|
13
13
|
--pimolu-primary-foreground: #FFFFFF;
|
|
14
|
-
--pimolu-focus-ring: #
|
|
14
|
+
--pimolu-focus-ring: #6746C7;
|
|
15
15
|
--pimolu-success: #15803D;
|
|
16
16
|
--pimolu-success-hover: #166534;
|
|
17
17
|
--pimolu-success-foreground: #FFFFFF;
|
|
@@ -21,20 +21,23 @@
|
|
|
21
21
|
--pimolu-danger: #DC2626;
|
|
22
22
|
--pimolu-danger-hover: #B91C1C;
|
|
23
23
|
--pimolu-danger-foreground: #FFFFFF;
|
|
24
|
+
--pimolu-control-border: #8E8490;
|
|
25
|
+
--pimolu-primary-soft: #F0EBF9;
|
|
26
|
+
--pimolu-primary-soft-foreground: #6746C7;
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
[data-pimolu-theme="dark"][data-pimolu-style="default"] {
|
|
27
|
-
--pimolu-background: #
|
|
28
|
-
--pimolu-foreground: #
|
|
29
|
-
--pimolu-surface: #
|
|
30
|
-
--pimolu-surface-foreground: #
|
|
31
|
-
--pimolu-muted: #
|
|
32
|
-
--pimolu-muted-foreground: #
|
|
33
|
-
--pimolu-border: #
|
|
34
|
-
--pimolu-primary: #
|
|
35
|
-
--pimolu-primary-hover: #
|
|
36
|
-
--pimolu-primary-foreground: #
|
|
37
|
-
--pimolu-focus-ring: #
|
|
30
|
+
--pimolu-background: #18161D;
|
|
31
|
+
--pimolu-foreground: #F6F2EF;
|
|
32
|
+
--pimolu-surface: #24212A;
|
|
33
|
+
--pimolu-surface-foreground: #F6F2EF;
|
|
34
|
+
--pimolu-muted: #39343E;
|
|
35
|
+
--pimolu-muted-foreground: #B8B0BD;
|
|
36
|
+
--pimolu-border: #39343E;
|
|
37
|
+
--pimolu-primary: #B9A5FA;
|
|
38
|
+
--pimolu-primary-hover: #A48BEF;
|
|
39
|
+
--pimolu-primary-foreground: #21172D;
|
|
40
|
+
--pimolu-focus-ring: #B9A5FA;
|
|
38
41
|
--pimolu-success: #22C55E;
|
|
39
42
|
--pimolu-success-hover: #16A34A;
|
|
40
43
|
--pimolu-success-foreground: #020617;
|
|
@@ -44,20 +47,23 @@
|
|
|
44
47
|
--pimolu-danger: #F87171;
|
|
45
48
|
--pimolu-danger-hover: #EF4444;
|
|
46
49
|
--pimolu-danger-foreground: #020617;
|
|
50
|
+
--pimolu-control-border: #857D90;
|
|
51
|
+
--pimolu-primary-soft: #30283E;
|
|
52
|
+
--pimolu-primary-soft-foreground: #B9A5FA;
|
|
47
53
|
}
|
|
48
54
|
|
|
49
55
|
[data-pimolu-theme="system"][data-pimolu-style="default"] {
|
|
50
|
-
--pimolu-background: #
|
|
51
|
-
--pimolu-foreground: #
|
|
52
|
-
--pimolu-surface: #
|
|
53
|
-
--pimolu-surface-foreground: #
|
|
54
|
-
--pimolu-muted: #
|
|
55
|
-
--pimolu-muted-foreground: #
|
|
56
|
-
--pimolu-border: #
|
|
57
|
-
--pimolu-primary: #
|
|
58
|
-
--pimolu-primary-hover: #
|
|
56
|
+
--pimolu-background: #FAF8F5;
|
|
57
|
+
--pimolu-foreground: #26232D;
|
|
58
|
+
--pimolu-surface: #FFFFFF;
|
|
59
|
+
--pimolu-surface-foreground: #26232D;
|
|
60
|
+
--pimolu-muted: #F4F0EC;
|
|
61
|
+
--pimolu-muted-foreground: #706B73;
|
|
62
|
+
--pimolu-border: #E7E0D9;
|
|
63
|
+
--pimolu-primary: #6746C7;
|
|
64
|
+
--pimolu-primary-hover: #5637B0;
|
|
59
65
|
--pimolu-primary-foreground: #FFFFFF;
|
|
60
|
-
--pimolu-focus-ring: #
|
|
66
|
+
--pimolu-focus-ring: #6746C7;
|
|
61
67
|
--pimolu-success: #15803D;
|
|
62
68
|
--pimolu-success-hover: #166534;
|
|
63
69
|
--pimolu-success-foreground: #FFFFFF;
|
|
@@ -67,21 +73,24 @@
|
|
|
67
73
|
--pimolu-danger: #DC2626;
|
|
68
74
|
--pimolu-danger-hover: #B91C1C;
|
|
69
75
|
--pimolu-danger-foreground: #FFFFFF;
|
|
76
|
+
--pimolu-control-border: #8E8490;
|
|
77
|
+
--pimolu-primary-soft: #F0EBF9;
|
|
78
|
+
--pimolu-primary-soft-foreground: #6746C7;
|
|
70
79
|
}
|
|
71
80
|
|
|
72
81
|
@media (prefers-color-scheme: dark) {
|
|
73
82
|
[data-pimolu-theme="system"][data-pimolu-style="default"] {
|
|
74
|
-
--pimolu-background: #
|
|
75
|
-
--pimolu-foreground: #
|
|
76
|
-
--pimolu-surface: #
|
|
77
|
-
--pimolu-surface-foreground: #
|
|
78
|
-
--pimolu-muted: #
|
|
79
|
-
--pimolu-muted-foreground: #
|
|
80
|
-
--pimolu-border: #
|
|
81
|
-
--pimolu-primary: #
|
|
82
|
-
--pimolu-primary-hover: #
|
|
83
|
-
--pimolu-primary-foreground: #
|
|
84
|
-
--pimolu-focus-ring: #
|
|
83
|
+
--pimolu-background: #18161D;
|
|
84
|
+
--pimolu-foreground: #F6F2EF;
|
|
85
|
+
--pimolu-surface: #24212A;
|
|
86
|
+
--pimolu-surface-foreground: #F6F2EF;
|
|
87
|
+
--pimolu-muted: #39343E;
|
|
88
|
+
--pimolu-muted-foreground: #B8B0BD;
|
|
89
|
+
--pimolu-border: #39343E;
|
|
90
|
+
--pimolu-primary: #B9A5FA;
|
|
91
|
+
--pimolu-primary-hover: #A48BEF;
|
|
92
|
+
--pimolu-primary-foreground: #21172D;
|
|
93
|
+
--pimolu-focus-ring: #B9A5FA;
|
|
85
94
|
--pimolu-success: #22C55E;
|
|
86
95
|
--pimolu-success-hover: #16A34A;
|
|
87
96
|
--pimolu-success-foreground: #020617;
|
|
@@ -91,6 +100,9 @@
|
|
|
91
100
|
--pimolu-danger: #F87171;
|
|
92
101
|
--pimolu-danger-hover: #EF4444;
|
|
93
102
|
--pimolu-danger-foreground: #020617;
|
|
103
|
+
--pimolu-control-border: #857D90;
|
|
104
|
+
--pimolu-primary-soft: #30283E;
|
|
105
|
+
--pimolu-primary-soft-foreground: #B9A5FA;
|
|
94
106
|
}
|
|
95
107
|
|
|
96
108
|
}
|
package/dist/presets.css
CHANGED
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
--pimolu-surface-foreground: #171B2B;
|
|
19
19
|
--pimolu-accent: #0C9E8B;
|
|
20
20
|
--pimolu-accent-foreground: #FFFFFF;
|
|
21
|
+
--pimolu-primary-soft: #F1F3F9;
|
|
22
|
+
--pimolu-primary-soft-foreground: #5B55E7;
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
[data-pimolu-theme="dark"][data-pimolu-style="adaptive"] {
|
|
@@ -38,6 +40,8 @@
|
|
|
38
40
|
--pimolu-surface-foreground: #E8EAF2;
|
|
39
41
|
--pimolu-accent: #2BC4AF;
|
|
40
42
|
--pimolu-accent-foreground: #062A25;
|
|
43
|
+
--pimolu-primary-soft: #1C2130;
|
|
44
|
+
--pimolu-primary-soft-foreground: #7C77F0;
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
@media (prefers-color-scheme: dark) {
|
|
@@ -59,6 +63,8 @@
|
|
|
59
63
|
--pimolu-surface-foreground: #E8EAF2;
|
|
60
64
|
--pimolu-accent: #2BC4AF;
|
|
61
65
|
--pimolu-accent-foreground: #062A25;
|
|
66
|
+
--pimolu-primary-soft: #1C2130;
|
|
67
|
+
--pimolu-primary-soft-foreground: #7C77F0;
|
|
62
68
|
}
|
|
63
69
|
}
|
|
64
70
|
|
|
@@ -77,6 +83,9 @@
|
|
|
77
83
|
--pimolu-muted-foreground: #525252;
|
|
78
84
|
--pimolu-border: #171717;
|
|
79
85
|
--pimolu-focus-ring: #2563eb;
|
|
86
|
+
--pimolu-control-border: #171717;
|
|
87
|
+
--pimolu-primary-soft: #fff0c2;
|
|
88
|
+
--pimolu-primary-soft-foreground: #ffbd2e;
|
|
80
89
|
}
|
|
81
90
|
|
|
82
91
|
[data-pimolu-theme="dark"][data-pimolu-style="cartoon"] {
|
|
@@ -94,6 +103,9 @@
|
|
|
94
103
|
--pimolu-muted-foreground: #d4d4d4;
|
|
95
104
|
--pimolu-border: #ffffff;
|
|
96
105
|
--pimolu-focus-ring: #ffbd2e;
|
|
106
|
+
--pimolu-control-border: #ffffff;
|
|
107
|
+
--pimolu-primary-soft: #323232;
|
|
108
|
+
--pimolu-primary-soft-foreground: #ffbd2e;
|
|
97
109
|
}
|
|
98
110
|
|
|
99
111
|
@media (prefers-color-scheme: dark) {
|
|
@@ -112,6 +124,9 @@
|
|
|
112
124
|
--pimolu-muted-foreground: #d4d4d4;
|
|
113
125
|
--pimolu-border: #ffffff;
|
|
114
126
|
--pimolu-focus-ring: #ffbd2e;
|
|
127
|
+
--pimolu-control-border: #ffffff;
|
|
128
|
+
--pimolu-primary-soft: #323232;
|
|
129
|
+
--pimolu-primary-soft-foreground: #ffbd2e;
|
|
115
130
|
}
|
|
116
131
|
}
|
|
117
132
|
|
|
@@ -133,6 +148,9 @@
|
|
|
133
148
|
--pimolu-secondary: rgba(255, 255, 255, 0.65);
|
|
134
149
|
--pimolu-secondary-hover: rgba(255, 255, 255, 0.88);
|
|
135
150
|
--pimolu-secondary-foreground: #17213b;
|
|
151
|
+
--pimolu-control-border: rgba(255, 255, 255, 0.75);
|
|
152
|
+
--pimolu-primary-soft: rgba(255, 255, 255, 0.65);
|
|
153
|
+
--pimolu-primary-soft-foreground: #6265ef;
|
|
136
154
|
}
|
|
137
155
|
|
|
138
156
|
[data-pimolu-theme="dark"][data-pimolu-style="glass"] {
|
|
@@ -153,6 +171,9 @@
|
|
|
153
171
|
--pimolu-secondary: rgba(51, 65, 85, 0.65);
|
|
154
172
|
--pimolu-secondary-hover: rgba(71, 85, 105, 0.85);
|
|
155
173
|
--pimolu-secondary-foreground: #f8fafc;
|
|
174
|
+
--pimolu-control-border: rgba(255, 255, 255, 0.18);
|
|
175
|
+
--pimolu-primary-soft: rgba(51, 65, 85, 0.65);
|
|
176
|
+
--pimolu-primary-soft-foreground: #818cf8;
|
|
156
177
|
}
|
|
157
178
|
|
|
158
179
|
@media (prefers-color-scheme: dark) {
|
|
@@ -174,6 +195,9 @@
|
|
|
174
195
|
--pimolu-secondary: rgba(51, 65, 85, 0.65);
|
|
175
196
|
--pimolu-secondary-hover: rgba(71, 85, 105, 0.85);
|
|
176
197
|
--pimolu-secondary-foreground: #f8fafc;
|
|
198
|
+
--pimolu-control-border: rgba(255, 255, 255, 0.18);
|
|
199
|
+
--pimolu-primary-soft: rgba(51, 65, 85, 0.65);
|
|
200
|
+
--pimolu-primary-soft-foreground: #818cf8;
|
|
177
201
|
}
|
|
178
202
|
}
|
|
179
203
|
|
|
@@ -194,6 +218,9 @@
|
|
|
194
218
|
--pimolu-focus-ring: #926a35;
|
|
195
219
|
--pimolu-luxury-gold: #b38a4a;
|
|
196
220
|
--pimolu-luxury-divider: #d8c9b3;
|
|
221
|
+
--pimolu-control-border: #d8c9b3;
|
|
222
|
+
--pimolu-primary-soft: #f1eae0;
|
|
223
|
+
--pimolu-primary-soft-foreground: #24211e;
|
|
197
224
|
}
|
|
198
225
|
|
|
199
226
|
[data-pimolu-theme="dark"][data-pimolu-style="luxury"] {
|
|
@@ -213,6 +240,9 @@
|
|
|
213
240
|
--pimolu-focus-ring: #e8cf9b;
|
|
214
241
|
--pimolu-luxury-gold: #e8cf9b;
|
|
215
242
|
--pimolu-luxury-divider: #675743;
|
|
243
|
+
--pimolu-control-border: #675743;
|
|
244
|
+
--pimolu-primary-soft: #2d2822;
|
|
245
|
+
--pimolu-primary-soft-foreground: #e8cf9b;
|
|
216
246
|
}
|
|
217
247
|
|
|
218
248
|
@media (prefers-color-scheme: dark) {
|
|
@@ -233,6 +263,9 @@
|
|
|
233
263
|
--pimolu-focus-ring: #e8cf9b;
|
|
234
264
|
--pimolu-luxury-gold: #e8cf9b;
|
|
235
265
|
--pimolu-luxury-divider: #675743;
|
|
266
|
+
--pimolu-control-border: #675743;
|
|
267
|
+
--pimolu-primary-soft: #2d2822;
|
|
268
|
+
--pimolu-primary-soft-foreground: #e8cf9b;
|
|
236
269
|
}
|
|
237
270
|
}
|
|
238
271
|
|
|
@@ -251,6 +284,9 @@
|
|
|
251
284
|
--pimolu-focus-ring: #171717;
|
|
252
285
|
--pimolu-surface: #ffffff;
|
|
253
286
|
--pimolu-surface-foreground: #171717;
|
|
287
|
+
--pimolu-control-border: #737373;
|
|
288
|
+
--pimolu-primary-soft: #f5f5f5;
|
|
289
|
+
--pimolu-primary-soft-foreground: #171717;
|
|
254
290
|
}
|
|
255
291
|
|
|
256
292
|
[data-pimolu-theme="dark"][data-pimolu-style="monochrome"] {
|
|
@@ -268,6 +304,9 @@
|
|
|
268
304
|
--pimolu-focus-ring: #fafafa;
|
|
269
305
|
--pimolu-surface: #262626;
|
|
270
306
|
--pimolu-surface-foreground: #fafafa;
|
|
307
|
+
--pimolu-control-border: #737373;
|
|
308
|
+
--pimolu-primary-soft: #262626;
|
|
309
|
+
--pimolu-primary-soft-foreground: #fafafa;
|
|
271
310
|
}
|
|
272
311
|
|
|
273
312
|
@media (prefers-color-scheme: dark) {
|
|
@@ -286,6 +325,9 @@
|
|
|
286
325
|
--pimolu-focus-ring: #fafafa;
|
|
287
326
|
--pimolu-surface: #262626;
|
|
288
327
|
--pimolu-surface-foreground: #fafafa;
|
|
328
|
+
--pimolu-control-border: #737373;
|
|
329
|
+
--pimolu-primary-soft: #262626;
|
|
330
|
+
--pimolu-primary-soft-foreground: #fafafa;
|
|
289
331
|
}
|
|
290
332
|
}
|
|
291
333
|
|
|
@@ -304,6 +346,9 @@
|
|
|
304
346
|
--pimolu-muted-foreground: #525252;
|
|
305
347
|
--pimolu-border: #171717;
|
|
306
348
|
--pimolu-focus-ring: #4338ca;
|
|
349
|
+
--pimolu-control-border: #171717;
|
|
350
|
+
--pimolu-primary-soft: #f2eddf;
|
|
351
|
+
--pimolu-primary-soft-foreground: #dfff57;
|
|
307
352
|
}
|
|
308
353
|
|
|
309
354
|
[data-pimolu-theme="dark"][data-pimolu-style="neo-brutalism"] {
|
|
@@ -321,6 +366,9 @@
|
|
|
321
366
|
--pimolu-muted-foreground: #d4d4d4;
|
|
322
367
|
--pimolu-border: #fafafa;
|
|
323
368
|
--pimolu-focus-ring: #dfff57;
|
|
369
|
+
--pimolu-control-border: #fafafa;
|
|
370
|
+
--pimolu-primary-soft: #333333;
|
|
371
|
+
--pimolu-primary-soft-foreground: #dfff57;
|
|
324
372
|
}
|
|
325
373
|
|
|
326
374
|
@media (prefers-color-scheme: dark) {
|
|
@@ -339,6 +387,9 @@
|
|
|
339
387
|
--pimolu-muted-foreground: #d4d4d4;
|
|
340
388
|
--pimolu-border: #fafafa;
|
|
341
389
|
--pimolu-focus-ring: #dfff57;
|
|
390
|
+
--pimolu-control-border: #fafafa;
|
|
391
|
+
--pimolu-primary-soft: #333333;
|
|
392
|
+
--pimolu-primary-soft-foreground: #dfff57;
|
|
342
393
|
}
|
|
343
394
|
}
|
|
344
395
|
|
package/dist/presets.js
CHANGED
|
@@ -18,7 +18,9 @@ export const pimoluPresets = {
|
|
|
18
18
|
"surface": "#FFFFFF",
|
|
19
19
|
"surfaceForeground": "#171B2B",
|
|
20
20
|
"accent": "#0C9E8B",
|
|
21
|
-
"accentForeground": "#FFFFFF"
|
|
21
|
+
"accentForeground": "#FFFFFF",
|
|
22
|
+
"primarySoft": "#F1F3F9",
|
|
23
|
+
"primarySoftForeground": "#5B55E7"
|
|
22
24
|
},
|
|
23
25
|
"dark": {
|
|
24
26
|
"primary": "#7C77F0",
|
|
@@ -37,7 +39,9 @@ export const pimoluPresets = {
|
|
|
37
39
|
"surface": "#161A26",
|
|
38
40
|
"surfaceForeground": "#E8EAF2",
|
|
39
41
|
"accent": "#2BC4AF",
|
|
40
|
-
"accentForeground": "#062A25"
|
|
42
|
+
"accentForeground": "#062A25",
|
|
43
|
+
"primarySoft": "#1C2130",
|
|
44
|
+
"primarySoftForeground": "#7C77F0"
|
|
41
45
|
}
|
|
42
46
|
},
|
|
43
47
|
"cartoon": {
|
|
@@ -55,7 +59,10 @@ export const pimoluPresets = {
|
|
|
55
59
|
"muted": "#fff0c2",
|
|
56
60
|
"mutedForeground": "#525252",
|
|
57
61
|
"border": "#171717",
|
|
58
|
-
"focusRing": "#2563eb"
|
|
62
|
+
"focusRing": "#2563eb",
|
|
63
|
+
"controlBorder": "#171717",
|
|
64
|
+
"primarySoft": "#fff0c2",
|
|
65
|
+
"primarySoftForeground": "#ffbd2e"
|
|
59
66
|
},
|
|
60
67
|
"dark": {
|
|
61
68
|
"primary": "#ffbd2e",
|
|
@@ -71,7 +78,10 @@ export const pimoluPresets = {
|
|
|
71
78
|
"muted": "#323232",
|
|
72
79
|
"mutedForeground": "#d4d4d4",
|
|
73
80
|
"border": "#ffffff",
|
|
74
|
-
"focusRing": "#ffbd2e"
|
|
81
|
+
"focusRing": "#ffbd2e",
|
|
82
|
+
"controlBorder": "#ffffff",
|
|
83
|
+
"primarySoft": "#323232",
|
|
84
|
+
"primarySoftForeground": "#ffbd2e"
|
|
75
85
|
}
|
|
76
86
|
},
|
|
77
87
|
"glass": {
|
|
@@ -92,7 +102,10 @@ export const pimoluPresets = {
|
|
|
92
102
|
"glassBorder": "rgba(255, 255, 255, 0.85)",
|
|
93
103
|
"secondary": "rgba(255, 255, 255, 0.65)",
|
|
94
104
|
"secondaryHover": "rgba(255, 255, 255, 0.88)",
|
|
95
|
-
"secondaryForeground": "#17213b"
|
|
105
|
+
"secondaryForeground": "#17213b",
|
|
106
|
+
"controlBorder": "rgba(255, 255, 255, 0.75)",
|
|
107
|
+
"primarySoft": "rgba(255, 255, 255, 0.65)",
|
|
108
|
+
"primarySoftForeground": "#6265ef"
|
|
96
109
|
},
|
|
97
110
|
"dark": {
|
|
98
111
|
"primary": "#818cf8",
|
|
@@ -111,7 +124,10 @@ export const pimoluPresets = {
|
|
|
111
124
|
"glassBorder": "rgba(255, 255, 255, 0.2)",
|
|
112
125
|
"secondary": "rgba(51, 65, 85, 0.65)",
|
|
113
126
|
"secondaryHover": "rgba(71, 85, 105, 0.85)",
|
|
114
|
-
"secondaryForeground": "#f8fafc"
|
|
127
|
+
"secondaryForeground": "#f8fafc",
|
|
128
|
+
"controlBorder": "rgba(255, 255, 255, 0.18)",
|
|
129
|
+
"primarySoft": "rgba(51, 65, 85, 0.65)",
|
|
130
|
+
"primarySoftForeground": "#818cf8"
|
|
115
131
|
}
|
|
116
132
|
},
|
|
117
133
|
"luxury": {
|
|
@@ -131,7 +147,10 @@ export const pimoluPresets = {
|
|
|
131
147
|
"border": "#d8c9b3",
|
|
132
148
|
"focusRing": "#926a35",
|
|
133
149
|
"luxuryGold": "#b38a4a",
|
|
134
|
-
"luxuryDivider": "#d8c9b3"
|
|
150
|
+
"luxuryDivider": "#d8c9b3",
|
|
151
|
+
"controlBorder": "#d8c9b3",
|
|
152
|
+
"primarySoft": "#f1eae0",
|
|
153
|
+
"primarySoftForeground": "#24211e"
|
|
135
154
|
},
|
|
136
155
|
"dark": {
|
|
137
156
|
"background": "#151311",
|
|
@@ -149,7 +168,10 @@ export const pimoluPresets = {
|
|
|
149
168
|
"border": "#675743",
|
|
150
169
|
"focusRing": "#e8cf9b",
|
|
151
170
|
"luxuryGold": "#e8cf9b",
|
|
152
|
-
"luxuryDivider": "#675743"
|
|
171
|
+
"luxuryDivider": "#675743",
|
|
172
|
+
"controlBorder": "#675743",
|
|
173
|
+
"primarySoft": "#2d2822",
|
|
174
|
+
"primarySoftForeground": "#e8cf9b"
|
|
153
175
|
}
|
|
154
176
|
},
|
|
155
177
|
"monochrome": {
|
|
@@ -167,7 +189,10 @@ export const pimoluPresets = {
|
|
|
167
189
|
"border": "#737373",
|
|
168
190
|
"focusRing": "#171717",
|
|
169
191
|
"surface": "#ffffff",
|
|
170
|
-
"surfaceForeground": "#171717"
|
|
192
|
+
"surfaceForeground": "#171717",
|
|
193
|
+
"controlBorder": "#737373",
|
|
194
|
+
"primarySoft": "#f5f5f5",
|
|
195
|
+
"primarySoftForeground": "#171717"
|
|
171
196
|
},
|
|
172
197
|
"dark": {
|
|
173
198
|
"primary": "#fafafa",
|
|
@@ -183,7 +208,10 @@ export const pimoluPresets = {
|
|
|
183
208
|
"border": "#737373",
|
|
184
209
|
"focusRing": "#fafafa",
|
|
185
210
|
"surface": "#262626",
|
|
186
|
-
"surfaceForeground": "#fafafa"
|
|
211
|
+
"surfaceForeground": "#fafafa",
|
|
212
|
+
"controlBorder": "#737373",
|
|
213
|
+
"primarySoft": "#262626",
|
|
214
|
+
"primarySoftForeground": "#fafafa"
|
|
187
215
|
}
|
|
188
216
|
},
|
|
189
217
|
"neo-brutalism": {
|
|
@@ -201,7 +229,10 @@ export const pimoluPresets = {
|
|
|
201
229
|
"muted": "#f2eddf",
|
|
202
230
|
"mutedForeground": "#525252",
|
|
203
231
|
"border": "#171717",
|
|
204
|
-
"focusRing": "#4338ca"
|
|
232
|
+
"focusRing": "#4338ca",
|
|
233
|
+
"controlBorder": "#171717",
|
|
234
|
+
"primarySoft": "#f2eddf",
|
|
235
|
+
"primarySoftForeground": "#dfff57"
|
|
205
236
|
},
|
|
206
237
|
"dark": {
|
|
207
238
|
"background": "#171717",
|
|
@@ -217,7 +248,10 @@ export const pimoluPresets = {
|
|
|
217
248
|
"muted": "#333333",
|
|
218
249
|
"mutedForeground": "#d4d4d4",
|
|
219
250
|
"border": "#fafafa",
|
|
220
|
-
"focusRing": "#dfff57"
|
|
251
|
+
"focusRing": "#dfff57",
|
|
252
|
+
"controlBorder": "#fafafa",
|
|
253
|
+
"primarySoft": "#333333",
|
|
254
|
+
"primarySoftForeground": "#dfff57"
|
|
221
255
|
}
|
|
222
256
|
}
|
|
223
257
|
};
|
package/dist/styles.css
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--pimolu-color-white: #FFFFFF;
|
|
3
3
|
--pimolu-color-black: #000000;
|
|
4
|
+
--pimolu-color-ink-25: #FAF8F5;
|
|
5
|
+
--pimolu-color-ink-50: #F6F2EF;
|
|
6
|
+
--pimolu-color-ink-100: #F4F0EC;
|
|
7
|
+
--pimolu-color-ink-200: #E7E0D9;
|
|
8
|
+
--pimolu-color-ink-400: #B8B0BD;
|
|
9
|
+
--pimolu-color-ink-500: #8E8490;
|
|
10
|
+
--pimolu-color-ink-550: #857D90;
|
|
11
|
+
--pimolu-color-ink-600: #706B73;
|
|
12
|
+
--pimolu-color-ink-700: #39343E;
|
|
13
|
+
--pimolu-color-ink-800: #26232D;
|
|
14
|
+
--pimolu-color-ink-900: #24212A;
|
|
15
|
+
--pimolu-color-ink-950: #18161D;
|
|
16
|
+
--pimolu-color-iris-50: #F0EBF9;
|
|
17
|
+
--pimolu-color-iris-300: #B9A5FA;
|
|
18
|
+
--pimolu-color-iris-400: #A48BEF;
|
|
19
|
+
--pimolu-color-iris-600: #6746C7;
|
|
20
|
+
--pimolu-color-iris-700: #5637B0;
|
|
21
|
+
--pimolu-color-iris-900: #30283E;
|
|
22
|
+
--pimolu-color-iris-950: #21172D;
|
|
4
23
|
--pimolu-color-indigo-400: #818CF8;
|
|
5
24
|
--pimolu-color-indigo-500: #6366F1;
|
|
6
25
|
--pimolu-color-indigo-600: #4F46E5;
|
|
@@ -51,17 +70,17 @@
|
|
|
51
70
|
|
|
52
71
|
:root, [data-pimolu-theme="light"] {
|
|
53
72
|
color-scheme: light;
|
|
54
|
-
--pimolu-background: var(--pimolu-color-
|
|
55
|
-
--pimolu-foreground: var(--pimolu-color-
|
|
56
|
-
--pimolu-surface: var(--pimolu-color-
|
|
57
|
-
--pimolu-surface-foreground: var(--pimolu-color-
|
|
58
|
-
--pimolu-muted: var(--pimolu-color-
|
|
59
|
-
--pimolu-muted-foreground: var(--pimolu-color-
|
|
60
|
-
--pimolu-border: var(--pimolu-color-
|
|
61
|
-
--pimolu-primary: var(--pimolu-color-
|
|
62
|
-
--pimolu-primary-hover: var(--pimolu-color-
|
|
73
|
+
--pimolu-background: var(--pimolu-color-ink-25);
|
|
74
|
+
--pimolu-foreground: var(--pimolu-color-ink-800);
|
|
75
|
+
--pimolu-surface: var(--pimolu-color-white);
|
|
76
|
+
--pimolu-surface-foreground: var(--pimolu-color-ink-800);
|
|
77
|
+
--pimolu-muted: var(--pimolu-color-ink-100);
|
|
78
|
+
--pimolu-muted-foreground: var(--pimolu-color-ink-600);
|
|
79
|
+
--pimolu-border: var(--pimolu-color-ink-200);
|
|
80
|
+
--pimolu-primary: var(--pimolu-color-iris-600);
|
|
81
|
+
--pimolu-primary-hover: var(--pimolu-color-iris-700);
|
|
63
82
|
--pimolu-primary-foreground: var(--pimolu-color-white);
|
|
64
|
-
--pimolu-focus-ring: var(--pimolu-color-
|
|
83
|
+
--pimolu-focus-ring: var(--pimolu-color-iris-600);
|
|
65
84
|
--pimolu-success: var(--pimolu-color-green-700);
|
|
66
85
|
--pimolu-success-hover: var(--pimolu-color-green-800);
|
|
67
86
|
--pimolu-success-foreground: var(--pimolu-color-white);
|
|
@@ -71,21 +90,24 @@
|
|
|
71
90
|
--pimolu-danger: var(--pimolu-color-red-600);
|
|
72
91
|
--pimolu-danger-hover: var(--pimolu-color-red-700);
|
|
73
92
|
--pimolu-danger-foreground: var(--pimolu-color-white);
|
|
93
|
+
--pimolu-control-border: var(--pimolu-color-ink-500);
|
|
94
|
+
--pimolu-primary-soft: var(--pimolu-color-iris-50);
|
|
95
|
+
--pimolu-primary-soft-foreground: var(--pimolu-color-iris-600);
|
|
74
96
|
}
|
|
75
97
|
|
|
76
98
|
[data-pimolu-theme="dark"] {
|
|
77
99
|
color-scheme: dark;
|
|
78
|
-
--pimolu-background: var(--pimolu-color-
|
|
79
|
-
--pimolu-foreground: var(--pimolu-color-
|
|
80
|
-
--pimolu-surface: var(--pimolu-color-
|
|
81
|
-
--pimolu-surface-foreground: var(--pimolu-color-
|
|
82
|
-
--pimolu-muted: var(--pimolu-color-
|
|
83
|
-
--pimolu-muted-foreground: var(--pimolu-color-
|
|
84
|
-
--pimolu-border: var(--pimolu-color-
|
|
85
|
-
--pimolu-primary: var(--pimolu-color-
|
|
86
|
-
--pimolu-primary-hover: var(--pimolu-color-
|
|
87
|
-
--pimolu-primary-foreground: var(--pimolu-color-
|
|
88
|
-
--pimolu-focus-ring: var(--pimolu-color-
|
|
100
|
+
--pimolu-background: var(--pimolu-color-ink-950);
|
|
101
|
+
--pimolu-foreground: var(--pimolu-color-ink-50);
|
|
102
|
+
--pimolu-surface: var(--pimolu-color-ink-900);
|
|
103
|
+
--pimolu-surface-foreground: var(--pimolu-color-ink-50);
|
|
104
|
+
--pimolu-muted: var(--pimolu-color-ink-700);
|
|
105
|
+
--pimolu-muted-foreground: var(--pimolu-color-ink-400);
|
|
106
|
+
--pimolu-border: var(--pimolu-color-ink-700);
|
|
107
|
+
--pimolu-primary: var(--pimolu-color-iris-300);
|
|
108
|
+
--pimolu-primary-hover: var(--pimolu-color-iris-400);
|
|
109
|
+
--pimolu-primary-foreground: var(--pimolu-color-iris-950);
|
|
110
|
+
--pimolu-focus-ring: var(--pimolu-color-iris-300);
|
|
89
111
|
--pimolu-success: var(--pimolu-color-green-500);
|
|
90
112
|
--pimolu-success-hover: var(--pimolu-color-green-600);
|
|
91
113
|
--pimolu-success-foreground: var(--pimolu-color-slate-950);
|
|
@@ -95,4 +117,7 @@
|
|
|
95
117
|
--pimolu-danger: var(--pimolu-color-red-400);
|
|
96
118
|
--pimolu-danger-hover: var(--pimolu-color-red-500);
|
|
97
119
|
--pimolu-danger-foreground: var(--pimolu-color-slate-950);
|
|
120
|
+
--pimolu-control-border: var(--pimolu-color-ink-550);
|
|
121
|
+
--pimolu-primary-soft: var(--pimolu-color-iris-900);
|
|
122
|
+
--pimolu-primary-soft-foreground: var(--pimolu-color-iris-300);
|
|
98
123
|
}
|
package/dist/themes.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"light": {
|
|
3
|
-
"background": "#
|
|
4
|
-
"foreground": "#
|
|
5
|
-
"surface": "#
|
|
6
|
-
"surface-foreground": "#
|
|
7
|
-
"muted": "#
|
|
8
|
-
"muted-foreground": "#
|
|
9
|
-
"border": "#
|
|
10
|
-
"primary": "#
|
|
11
|
-
"primary-hover": "#
|
|
3
|
+
"background": "#FAF8F5",
|
|
4
|
+
"foreground": "#26232D",
|
|
5
|
+
"surface": "#FFFFFF",
|
|
6
|
+
"surface-foreground": "#26232D",
|
|
7
|
+
"muted": "#F4F0EC",
|
|
8
|
+
"muted-foreground": "#706B73",
|
|
9
|
+
"border": "#E7E0D9",
|
|
10
|
+
"primary": "#6746C7",
|
|
11
|
+
"primary-hover": "#5637B0",
|
|
12
12
|
"primary-foreground": "#FFFFFF",
|
|
13
|
-
"focus-ring": "#
|
|
13
|
+
"focus-ring": "#6746C7",
|
|
14
14
|
"success": "#15803D",
|
|
15
15
|
"success-hover": "#166534",
|
|
16
16
|
"success-foreground": "#FFFFFF",
|
|
@@ -19,20 +19,23 @@
|
|
|
19
19
|
"warning-foreground": "#020617",
|
|
20
20
|
"danger": "#DC2626",
|
|
21
21
|
"danger-hover": "#B91C1C",
|
|
22
|
-
"danger-foreground": "#FFFFFF"
|
|
22
|
+
"danger-foreground": "#FFFFFF",
|
|
23
|
+
"control-border": "#8E8490",
|
|
24
|
+
"primary-soft": "#F0EBF9",
|
|
25
|
+
"primary-soft-foreground": "#6746C7"
|
|
23
26
|
},
|
|
24
27
|
"dark": {
|
|
25
|
-
"background": "#
|
|
26
|
-
"foreground": "#
|
|
27
|
-
"surface": "#
|
|
28
|
-
"surface-foreground": "#
|
|
29
|
-
"muted": "#
|
|
30
|
-
"muted-foreground": "#
|
|
31
|
-
"border": "#
|
|
32
|
-
"primary": "#
|
|
33
|
-
"primary-hover": "#
|
|
34
|
-
"primary-foreground": "#
|
|
35
|
-
"focus-ring": "#
|
|
28
|
+
"background": "#18161D",
|
|
29
|
+
"foreground": "#F6F2EF",
|
|
30
|
+
"surface": "#24212A",
|
|
31
|
+
"surface-foreground": "#F6F2EF",
|
|
32
|
+
"muted": "#39343E",
|
|
33
|
+
"muted-foreground": "#B8B0BD",
|
|
34
|
+
"border": "#39343E",
|
|
35
|
+
"primary": "#B9A5FA",
|
|
36
|
+
"primary-hover": "#A48BEF",
|
|
37
|
+
"primary-foreground": "#21172D",
|
|
38
|
+
"focus-ring": "#B9A5FA",
|
|
36
39
|
"success": "#22C55E",
|
|
37
40
|
"success-hover": "#16A34A",
|
|
38
41
|
"success-foreground": "#020617",
|
|
@@ -41,6 +44,9 @@
|
|
|
41
44
|
"warning-foreground": "#020617",
|
|
42
45
|
"danger": "#F87171",
|
|
43
46
|
"danger-hover": "#EF4444",
|
|
44
|
-
"danger-foreground": "#020617"
|
|
47
|
+
"danger-foreground": "#020617",
|
|
48
|
+
"control-border": "#857D90",
|
|
49
|
+
"primary-soft": "#30283E",
|
|
50
|
+
"primary-soft-foreground": "#B9A5FA"
|
|
45
51
|
}
|
|
46
52
|
}
|
package/dist/visual.css
CHANGED
|
@@ -38,17 +38,26 @@
|
|
|
38
38
|
--pimolu-control-border-width: 1px;
|
|
39
39
|
--pimolu-solid-border-color: transparent;
|
|
40
40
|
--pimolu-shadow-raised: none;
|
|
41
|
-
--pimolu-shadow-sm: 0
|
|
42
|
-
--pimolu-button-font-weight:
|
|
41
|
+
--pimolu-shadow-sm: 0 2px 8px rgba(38, 35, 45, 0.08);
|
|
42
|
+
--pimolu-button-font-weight: 500;
|
|
43
|
+
--pimolu-radius-sm: 6px;
|
|
44
|
+
--pimolu-radius-md: 10px;
|
|
45
|
+
--pimolu-radius-lg: 16px;
|
|
46
|
+
--pimolu-font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
47
|
+
--pimolu-font-heading: inherit;
|
|
48
|
+
--pimolu-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
49
|
+
--pimolu-font-display: "Newsreader", Georgia, "Times New Roman", serif;
|
|
50
|
+
--pimolu-interaction-duration: 120ms;
|
|
51
|
+
--pimolu-interaction-easing: cubic-bezier(.2, 0, 0, 1);
|
|
43
52
|
}
|
|
44
53
|
|
|
45
54
|
[data-pimolu-theme="dark"][data-pimolu-style="default"] {
|
|
46
|
-
--pimolu-shadow-sm: 0
|
|
55
|
+
--pimolu-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.24);
|
|
47
56
|
}
|
|
48
57
|
|
|
49
58
|
@media (prefers-color-scheme: dark) {
|
|
50
59
|
[data-pimolu-theme="system"][data-pimolu-style="default"] {
|
|
51
|
-
--pimolu-shadow-sm: 0
|
|
60
|
+
--pimolu-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.24);
|
|
52
61
|
}
|
|
53
62
|
}
|
|
54
63
|
|
package/dist/visuals.js
CHANGED
|
@@ -33,11 +33,20 @@ export const pimoluPresetVisuals = {
|
|
|
33
33
|
"control-border-width": "1px",
|
|
34
34
|
"solid-border-color": "transparent",
|
|
35
35
|
"shadow-raised": "none",
|
|
36
|
-
"shadow-sm": "0
|
|
37
|
-
"button-font-weight": "
|
|
36
|
+
"shadow-sm": "0 2px 8px rgba(38, 35, 45, 0.08)",
|
|
37
|
+
"button-font-weight": "500",
|
|
38
|
+
"radius-sm": "6px",
|
|
39
|
+
"radius-md": "10px",
|
|
40
|
+
"radius-lg": "16px",
|
|
41
|
+
"font-body": "\"DM Sans\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
|
|
42
|
+
"font-heading": "inherit",
|
|
43
|
+
"font-mono": "\"IBM Plex Mono\", ui-monospace, SFMono-Regular, Menlo, monospace",
|
|
44
|
+
"font-display": "\"Newsreader\", Georgia, \"Times New Roman\", serif",
|
|
45
|
+
"interaction-duration": "120ms",
|
|
46
|
+
"interaction-easing": "cubic-bezier(.2, 0, 0, 1)"
|
|
38
47
|
},
|
|
39
48
|
"dark": {
|
|
40
|
-
"shadow-sm": "0
|
|
49
|
+
"shadow-sm": "0 2px 8px rgba(0, 0, 0, 0.24)"
|
|
41
50
|
}
|
|
42
51
|
},
|
|
43
52
|
"glass": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pimolu/themes",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.7",
|
|
4
4
|
"description": "Pimolu colour themes, style presets and visual token data.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -41,6 +41,6 @@
|
|
|
41
41
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@pimolu/design-tokens": "0.1.0-beta.
|
|
44
|
+
"@pimolu/design-tokens": "0.1.0-beta.7"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
"surface": "#FFFFFF",
|
|
17
17
|
"surfaceForeground": "#171B2B",
|
|
18
18
|
"accent": "#0C9E8B",
|
|
19
|
-
"accentForeground": "#FFFFFF"
|
|
19
|
+
"accentForeground": "#FFFFFF",
|
|
20
|
+
"primarySoft": "#F1F3F9",
|
|
21
|
+
"primarySoftForeground": "#5B55E7"
|
|
20
22
|
},
|
|
21
23
|
"dark": {
|
|
22
24
|
"primary": "#7C77F0",
|
|
@@ -35,6 +37,8 @@
|
|
|
35
37
|
"surface": "#161A26",
|
|
36
38
|
"surfaceForeground": "#E8EAF2",
|
|
37
39
|
"accent": "#2BC4AF",
|
|
38
|
-
"accentForeground": "#062A25"
|
|
40
|
+
"accentForeground": "#062A25",
|
|
41
|
+
"primarySoft": "#1C2130",
|
|
42
|
+
"primarySoftForeground": "#7C77F0"
|
|
39
43
|
}
|
|
40
44
|
}
|
package/src/presets/cartoon.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
{
|
|
3
2
|
"light": {
|
|
4
3
|
"primary": "#ffbd2e",
|
|
@@ -14,7 +13,10 @@
|
|
|
14
13
|
"muted": "#fff0c2",
|
|
15
14
|
"mutedForeground": "#525252",
|
|
16
15
|
"border": "#171717",
|
|
17
|
-
"focusRing": "#2563eb"
|
|
16
|
+
"focusRing": "#2563eb",
|
|
17
|
+
"controlBorder": "#171717",
|
|
18
|
+
"primarySoft": "#fff0c2",
|
|
19
|
+
"primarySoftForeground": "#ffbd2e"
|
|
18
20
|
},
|
|
19
21
|
"dark": {
|
|
20
22
|
"primary": "#ffbd2e",
|
|
@@ -30,6 +32,9 @@
|
|
|
30
32
|
"muted": "#323232",
|
|
31
33
|
"mutedForeground": "#d4d4d4",
|
|
32
34
|
"border": "#ffffff",
|
|
33
|
-
"focusRing": "#ffbd2e"
|
|
35
|
+
"focusRing": "#ffbd2e",
|
|
36
|
+
"controlBorder": "#ffffff",
|
|
37
|
+
"primarySoft": "#323232",
|
|
38
|
+
"primarySoftForeground": "#ffbd2e"
|
|
34
39
|
}
|
|
35
40
|
}
|
package/src/presets/glass.json
CHANGED
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
"glassBorder": "rgba(255, 255, 255, 0.85)",
|
|
17
17
|
"secondary": "rgba(255, 255, 255, 0.65)",
|
|
18
18
|
"secondaryHover": "rgba(255, 255, 255, 0.88)",
|
|
19
|
-
"secondaryForeground": "#17213b"
|
|
19
|
+
"secondaryForeground": "#17213b",
|
|
20
|
+
"controlBorder": "rgba(255, 255, 255, 0.75)",
|
|
21
|
+
"primarySoft": "rgba(255, 255, 255, 0.65)",
|
|
22
|
+
"primarySoftForeground": "#6265ef"
|
|
20
23
|
},
|
|
21
24
|
"dark": {
|
|
22
25
|
"primary": "#818cf8",
|
|
@@ -35,6 +38,9 @@
|
|
|
35
38
|
"glassBorder": "rgba(255, 255, 255, 0.2)",
|
|
36
39
|
"secondary": "rgba(51, 65, 85, 0.65)",
|
|
37
40
|
"secondaryHover": "rgba(71, 85, 105, 0.85)",
|
|
38
|
-
"secondaryForeground": "#f8fafc"
|
|
41
|
+
"secondaryForeground": "#f8fafc",
|
|
42
|
+
"controlBorder": "rgba(255, 255, 255, 0.18)",
|
|
43
|
+
"primarySoft": "rgba(51, 65, 85, 0.65)",
|
|
44
|
+
"primarySoftForeground": "#818cf8"
|
|
39
45
|
}
|
|
40
46
|
}
|
package/src/presets/luxury.json
CHANGED
|
@@ -1,52 +1,44 @@
|
|
|
1
|
-
|
|
2
1
|
{
|
|
3
2
|
"light": {
|
|
4
3
|
"background": "#faf7f2",
|
|
5
4
|
"foreground": "#24211e",
|
|
6
|
-
|
|
7
5
|
"surface": "#ffffff",
|
|
8
6
|
"surfaceForeground": "#24211e",
|
|
9
|
-
|
|
10
7
|
"primary": "#24211e",
|
|
11
8
|
"primaryHover": "#403a33",
|
|
12
9
|
"primaryForeground": "#faf7f2",
|
|
13
|
-
|
|
14
10
|
"secondary": "#f1eae0",
|
|
15
11
|
"secondaryHover": "#e5d9c8",
|
|
16
12
|
"secondaryForeground": "#24211e",
|
|
17
|
-
|
|
18
13
|
"muted": "#f1eae0",
|
|
19
14
|
"mutedForeground": "#665e54",
|
|
20
|
-
|
|
21
15
|
"border": "#d8c9b3",
|
|
22
16
|
"focusRing": "#926a35",
|
|
23
|
-
|
|
24
17
|
"luxuryGold": "#b38a4a",
|
|
25
|
-
"luxuryDivider": "#d8c9b3"
|
|
18
|
+
"luxuryDivider": "#d8c9b3",
|
|
19
|
+
"controlBorder": "#d8c9b3",
|
|
20
|
+
"primarySoft": "#f1eae0",
|
|
21
|
+
"primarySoftForeground": "#24211e"
|
|
26
22
|
},
|
|
27
|
-
|
|
28
23
|
"dark": {
|
|
29
24
|
"background": "#151311",
|
|
30
25
|
"foreground": "#f4eee5",
|
|
31
|
-
|
|
32
26
|
"surface": "#24201c",
|
|
33
27
|
"surfaceForeground": "#f4eee5",
|
|
34
|
-
|
|
35
28
|
"primary": "#e8cf9b",
|
|
36
29
|
"primaryHover": "#f3dfb5",
|
|
37
30
|
"primaryForeground": "#24211e",
|
|
38
|
-
|
|
39
31
|
"secondary": "#342f29",
|
|
40
32
|
"secondaryHover": "#453d34",
|
|
41
33
|
"secondaryForeground": "#f4eee5",
|
|
42
|
-
|
|
43
34
|
"muted": "#2d2822",
|
|
44
35
|
"mutedForeground": "#c4b7a5",
|
|
45
|
-
|
|
46
36
|
"border": "#675743",
|
|
47
37
|
"focusRing": "#e8cf9b",
|
|
48
|
-
|
|
49
38
|
"luxuryGold": "#e8cf9b",
|
|
50
|
-
"luxuryDivider": "#675743"
|
|
39
|
+
"luxuryDivider": "#675743",
|
|
40
|
+
"controlBorder": "#675743",
|
|
41
|
+
"primarySoft": "#2d2822",
|
|
42
|
+
"primarySoftForeground": "#e8cf9b"
|
|
51
43
|
}
|
|
52
44
|
}
|
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
"border": "#737373",
|
|
14
14
|
"focusRing": "#171717",
|
|
15
15
|
"surface": "#ffffff",
|
|
16
|
-
"surfaceForeground": "#171717"
|
|
16
|
+
"surfaceForeground": "#171717",
|
|
17
|
+
"controlBorder": "#737373",
|
|
18
|
+
"primarySoft": "#f5f5f5",
|
|
19
|
+
"primarySoftForeground": "#171717"
|
|
17
20
|
},
|
|
18
21
|
"dark": {
|
|
19
22
|
"primary": "#fafafa",
|
|
@@ -29,6 +32,9 @@
|
|
|
29
32
|
"border": "#737373",
|
|
30
33
|
"focusRing": "#fafafa",
|
|
31
34
|
"surface": "#262626",
|
|
32
|
-
"surfaceForeground": "#fafafa"
|
|
35
|
+
"surfaceForeground": "#fafafa",
|
|
36
|
+
"controlBorder": "#737373",
|
|
37
|
+
"primarySoft": "#262626",
|
|
38
|
+
"primarySoftForeground": "#fafafa"
|
|
33
39
|
}
|
|
34
40
|
}
|
|
@@ -1,46 +1,40 @@
|
|
|
1
|
-
|
|
2
1
|
{
|
|
3
2
|
"light": {
|
|
4
3
|
"background": "#fffdf5",
|
|
5
4
|
"foreground": "#171717",
|
|
6
|
-
|
|
7
5
|
"surface": "#ffffff",
|
|
8
6
|
"surfaceForeground": "#171717",
|
|
9
|
-
|
|
10
7
|
"primary": "#dfff57",
|
|
11
8
|
"primaryHover": "#c9ef34",
|
|
12
9
|
"primaryForeground": "#171717",
|
|
13
|
-
|
|
14
10
|
"secondary": "#c4b5fd",
|
|
15
11
|
"secondaryHover": "#b29cf9",
|
|
16
12
|
"secondaryForeground": "#171717",
|
|
17
|
-
|
|
18
13
|
"muted": "#f2eddf",
|
|
19
14
|
"mutedForeground": "#525252",
|
|
20
|
-
|
|
21
15
|
"border": "#171717",
|
|
22
|
-
"focusRing": "#4338ca"
|
|
16
|
+
"focusRing": "#4338ca",
|
|
17
|
+
"controlBorder": "#171717",
|
|
18
|
+
"primarySoft": "#f2eddf",
|
|
19
|
+
"primarySoftForeground": "#dfff57"
|
|
23
20
|
},
|
|
24
|
-
|
|
25
21
|
"dark": {
|
|
26
22
|
"background": "#171717",
|
|
27
23
|
"foreground": "#fafafa",
|
|
28
|
-
|
|
29
24
|
"surface": "#262626",
|
|
30
25
|
"surfaceForeground": "#fafafa",
|
|
31
|
-
|
|
32
26
|
"primary": "#dfff57",
|
|
33
27
|
"primaryHover": "#edff96",
|
|
34
28
|
"primaryForeground": "#171717",
|
|
35
|
-
|
|
36
29
|
"secondary": "#c4b5fd",
|
|
37
30
|
"secondaryHover": "#ddd6fe",
|
|
38
31
|
"secondaryForeground": "#171717",
|
|
39
|
-
|
|
40
32
|
"muted": "#333333",
|
|
41
33
|
"mutedForeground": "#d4d4d4",
|
|
42
|
-
|
|
43
34
|
"border": "#fafafa",
|
|
44
|
-
"focusRing": "#dfff57"
|
|
35
|
+
"focusRing": "#dfff57",
|
|
36
|
+
"controlBorder": "#fafafa",
|
|
37
|
+
"primarySoft": "#333333",
|
|
38
|
+
"primarySoftForeground": "#dfff57"
|
|
45
39
|
}
|
|
46
40
|
}
|
package/src/visual/default.json
CHANGED
|
@@ -3,10 +3,19 @@
|
|
|
3
3
|
"control-border-width": "1px",
|
|
4
4
|
"solid-border-color": "transparent",
|
|
5
5
|
"shadow-raised": "none",
|
|
6
|
-
"shadow-sm": "0
|
|
7
|
-
"button-font-weight": "
|
|
6
|
+
"shadow-sm": "0 2px 8px rgba(38, 35, 45, 0.08)",
|
|
7
|
+
"button-font-weight": "500",
|
|
8
|
+
"radius-sm": "6px",
|
|
9
|
+
"radius-md": "10px",
|
|
10
|
+
"radius-lg": "16px",
|
|
11
|
+
"font-body": "\"DM Sans\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
|
|
12
|
+
"font-heading": "inherit",
|
|
13
|
+
"font-mono": "\"IBM Plex Mono\", ui-monospace, SFMono-Regular, Menlo, monospace",
|
|
14
|
+
"font-display": "\"Newsreader\", Georgia, \"Times New Roman\", serif",
|
|
15
|
+
"interaction-duration": "120ms",
|
|
16
|
+
"interaction-easing": "cubic-bezier(.2, 0, 0, 1)"
|
|
8
17
|
},
|
|
9
18
|
"dark": {
|
|
10
|
-
"shadow-sm": "0
|
|
19
|
+
"shadow-sm": "0 2px 8px rgba(0, 0, 0, 0.24)"
|
|
11
20
|
}
|
|
12
21
|
}
|
package/style-base.css
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
:where([data-pimolu-style]) {
|
|
7
7
|
|
|
8
8
|
/* Semantic defaults */
|
|
9
|
-
--pimolu-outline-hover-border: var(--pimolu-border);
|
|
9
|
+
--pimolu-outline-hover-border: var(--pimolu-control-border, var(--pimolu-border));
|
|
10
10
|
|
|
11
11
|
--pimolu-secondary: var(--pimolu-muted);
|
|
12
12
|
--pimolu-secondary-hover: var(--pimolu-border);
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
|
|
32
32
|
--pimolu-font-body: var(--pimolu-font-family-sans, system-ui, sans-serif);
|
|
33
33
|
--pimolu-font-heading: inherit;
|
|
34
|
+
--pimolu-font-display: var(--pimolu-font-heading, inherit);
|
|
34
35
|
--pimolu-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
35
36
|
|
|
36
37
|
--pimolu-button-font-weight: 400;
|
|
@@ -38,6 +39,9 @@
|
|
|
38
39
|
|
|
39
40
|
/* Interactions */
|
|
40
41
|
|
|
42
|
+
--pimolu-interaction-duration: 150ms;
|
|
43
|
+
--pimolu-interaction-easing: ease-out;
|
|
44
|
+
|
|
41
45
|
--pimolu-button-active-transform: none;
|
|
42
46
|
--pimolu-button-active-shadow: none;
|
|
43
47
|
|