@pimolu/themes 0.1.0-beta.6 → 0.1.0-beta.8

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 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.6` est une prévisualisation. Les noms des presets et des tokens peuvent évoluer avant `1.0.0`.
9
+ > **Bêta :** `0.1.0-beta.8` 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.6` is a preview. Preset and token names may change before `1.0.0`.
9
+ > **Beta:** `0.1.0-beta.8` 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
@@ -6,7 +6,7 @@
6
6
  --pimolu-surface: #F8FAFC;
7
7
  --pimolu-surface-foreground: #0F172A;
8
8
  --pimolu-muted: #F1F5F9;
9
- --pimolu-muted-foreground: #64748B;
9
+ --pimolu-muted-foreground: #607087;
10
10
  --pimolu-border: #E2E8F0;
11
11
  --pimolu-primary: #4F46E5;
12
12
  --pimolu-primary-hover: #4338CA;
@@ -21,6 +21,9 @@
21
21
  --pimolu-danger: #DC2626;
22
22
  --pimolu-danger-hover: #B91C1C;
23
23
  --pimolu-danger-foreground: #FFFFFF;
24
+ --pimolu-control-border: #64748B;
25
+ --pimolu-primary-soft: #F1F5F9;
26
+ --pimolu-primary-soft-foreground: #4F46E5;
24
27
  }
25
28
 
26
29
  [data-pimolu-theme="dark"][data-pimolu-style="default"] {
@@ -44,6 +47,9 @@
44
47
  --pimolu-danger: #F87171;
45
48
  --pimolu-danger-hover: #EF4444;
46
49
  --pimolu-danger-foreground: #020617;
50
+ --pimolu-control-border: #64748B;
51
+ --pimolu-primary-soft: #1E293B;
52
+ --pimolu-primary-soft-foreground: #818CF8;
47
53
  }
48
54
 
49
55
  [data-pimolu-theme="system"][data-pimolu-style="default"] {
@@ -52,7 +58,7 @@
52
58
  --pimolu-surface: #F8FAFC;
53
59
  --pimolu-surface-foreground: #0F172A;
54
60
  --pimolu-muted: #F1F5F9;
55
- --pimolu-muted-foreground: #64748B;
61
+ --pimolu-muted-foreground: #607087;
56
62
  --pimolu-border: #E2E8F0;
57
63
  --pimolu-primary: #4F46E5;
58
64
  --pimolu-primary-hover: #4338CA;
@@ -67,6 +73,9 @@
67
73
  --pimolu-danger: #DC2626;
68
74
  --pimolu-danger-hover: #B91C1C;
69
75
  --pimolu-danger-foreground: #FFFFFF;
76
+ --pimolu-control-border: #64748B;
77
+ --pimolu-primary-soft: #F1F5F9;
78
+ --pimolu-primary-soft-foreground: #4F46E5;
70
79
  }
71
80
 
72
81
  @media (prefers-color-scheme: dark) {
@@ -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: #64748B;
104
+ --pimolu-primary-soft: #1E293B;
105
+ --pimolu-primary-soft-foreground: #818CF8;
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;
@@ -10,6 +29,7 @@
10
29
  --pimolu-color-slate-200: #E2E8F0;
11
30
  --pimolu-color-slate-400: #94A3B8;
12
31
  --pimolu-color-slate-500: #64748B;
32
+ --pimolu-color-slate-550: #607087;
13
33
  --pimolu-color-slate-800: #1E293B;
14
34
  --pimolu-color-slate-900: #0F172A;
15
35
  --pimolu-color-slate-950: #020617;
@@ -56,7 +76,7 @@
56
76
  --pimolu-surface: var(--pimolu-color-slate-50);
57
77
  --pimolu-surface-foreground: var(--pimolu-color-slate-900);
58
78
  --pimolu-muted: var(--pimolu-color-slate-100);
59
- --pimolu-muted-foreground: var(--pimolu-color-slate-500);
79
+ --pimolu-muted-foreground: var(--pimolu-color-slate-550);
60
80
  --pimolu-border: var(--pimolu-color-slate-200);
61
81
  --pimolu-primary: var(--pimolu-color-indigo-600);
62
82
  --pimolu-primary-hover: var(--pimolu-color-indigo-700);
@@ -71,6 +91,9 @@
71
91
  --pimolu-danger: var(--pimolu-color-red-600);
72
92
  --pimolu-danger-hover: var(--pimolu-color-red-700);
73
93
  --pimolu-danger-foreground: var(--pimolu-color-white);
94
+ --pimolu-control-border: var(--pimolu-color-slate-500);
95
+ --pimolu-primary-soft: var(--pimolu-color-slate-100);
96
+ --pimolu-primary-soft-foreground: var(--pimolu-color-indigo-600);
74
97
  }
75
98
 
76
99
  [data-pimolu-theme="dark"] {
@@ -95,4 +118,7 @@
95
118
  --pimolu-danger: var(--pimolu-color-red-400);
96
119
  --pimolu-danger-hover: var(--pimolu-color-red-500);
97
120
  --pimolu-danger-foreground: var(--pimolu-color-slate-950);
121
+ --pimolu-control-border: var(--pimolu-color-slate-500);
122
+ --pimolu-primary-soft: var(--pimolu-color-slate-800);
123
+ --pimolu-primary-soft-foreground: var(--pimolu-color-indigo-400);
98
124
  }
package/dist/themes.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "surface": "#F8FAFC",
6
6
  "surface-foreground": "#0F172A",
7
7
  "muted": "#F1F5F9",
8
- "muted-foreground": "#64748B",
8
+ "muted-foreground": "#607087",
9
9
  "border": "#E2E8F0",
10
10
  "primary": "#4F46E5",
11
11
  "primary-hover": "#4338CA",
@@ -19,7 +19,10 @@
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": "#64748B",
24
+ "primary-soft": "#F1F5F9",
25
+ "primary-soft-foreground": "#4F46E5"
23
26
  },
24
27
  "dark": {
25
28
  "background": "#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": "#64748B",
49
+ "primary-soft": "#1E293B",
50
+ "primary-soft-foreground": "#818CF8"
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 1px 2px rgba(15, 23, 42, 0.12);
42
- --pimolu-button-font-weight: 400;
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 1px 2px rgba(0, 0, 0, 0.3);
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 1px 2px rgba(0, 0, 0, 0.3);
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 1px 2px rgba(15, 23, 42, 0.12)",
37
- "button-font-weight": "400"
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 1px 2px rgba(0, 0, 0, 0.3)"
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.6",
3
+ "version": "0.1.0-beta.8",
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.6"
44
+ "@pimolu/design-tokens": "0.1.0-beta.8"
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
  }
@@ -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
  }
@@ -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
  }
@@ -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
  }
@@ -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 1px 2px rgba(15, 23, 42, 0.12)",
7
- "button-font-weight": "400"
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 1px 2px rgba(0, 0, 0, 0.3)"
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