@pimolu/themes 0.0.0-stage → 0.1.0-beta.2

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 ADDED
@@ -0,0 +1,40 @@
1
+ # @pimolu/themes
2
+
3
+ Les thèmes de couleurs clairs et sombres de Pimolu, ses presets visuels et ses données de style indépendantes de la plateforme. Utilisez ce package pour créer des interfaces sur la même base visuelle que les composants Pimolu.
4
+
5
+ > **0.1.0-beta.2** est une version de prévisualisation. Les noms des presets et des tokens peuvent évoluer avant la version 1.0.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ pnpm add @pimolu/themes@beta
11
+ ```
12
+
13
+ ## Utilisation sur le Web
14
+
15
+ Importez les couleurs sémantiques et les styles des presets dans votre CSS global :
16
+
17
+ ```css
18
+ @import "@pimolu/themes/styles.css";
19
+ @import "@pimolu/themes/presets.css";
20
+ ```
21
+
22
+ Choisissez ensuite un mode et un preset sur un élément parent :
23
+
24
+ ```html
25
+ <div data-pimolu-theme="dark" data-pimolu-style="glass">
26
+ <!-- Votre contenu -->
27
+ </div>
28
+ ```
29
+
30
+ Presets disponibles : `default`, `adaptive`, `cartoon`, `glass`, `luxury`, `monochrome` et `neo-brutalism`. `adaptive` est une option ; il ne remplace pas `default`. Dans une application React avec les composants Pimolu, importez plutôt `@pimolu/web-styles/styles.css` et définissez ces préférences avec `PimoluProvider`.
31
+
32
+ ## Utilisation comme données
33
+
34
+ `@pimolu/themes/presets` exporte `pimoluPresets` (palettes générées, hors `default`). `@pimolu/themes/visuals` exporte `pimoluPresetVisuals` pour les bordures, ombres, rayons, typographies et effets d'appui. Ces deux entrées fournissent des déclarations TypeScript. `@pimolu/themes/themes.json` contient les thèmes sémantiques clairs et sombres résolus.
35
+
36
+ ## Liens
37
+
38
+ [Guide des thèmes](https://pimolu.com/docs/theming) · [Tous les packages npm](https://www.npmjs.com/org/pimolu) · [Code source](https://github.com/pimoludev/ui/tree/main/packages/themes)
39
+
40
+ MIT © Pimolu
package/README.md CHANGED
@@ -1,3 +1,40 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
1
+ # @pimolu/themes
2
+
3
+ Pimolu's light and dark colour themes, visual presets and platform-neutral style data. Use this package to build custom interfaces with the same visual language as Pimolu components.
4
+
5
+ > **0.1.0-beta.2** is a preview release. Preset and token names may change before 1.0.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ pnpm add @pimolu/themes@beta
11
+ ```
12
+
13
+ ## Use in a web app
14
+
15
+ Import both the semantic colours and the preset styles in your global CSS:
16
+
17
+ ```css
18
+ @import "@pimolu/themes/styles.css";
19
+ @import "@pimolu/themes/presets.css";
20
+ ```
21
+
22
+ Then choose a colour mode and style preset on a containing element:
23
+
24
+ ```html
25
+ <div data-pimolu-theme="dark" data-pimolu-style="glass">
26
+ <!-- Your content -->
27
+ </div>
28
+ ```
29
+
30
+ Available presets: `default`, `adaptive`, `cartoon`, `glass`, `luxury`, `monochrome` and `neo-brutalism`. `adaptive` is available as an option; it does not replace `default`. For a React application using Pimolu components, import `@pimolu/web-styles/styles.css` and set these preferences through `PimoluProvider` instead.
31
+
32
+ ## Use as data
33
+
34
+ `@pimolu/themes/presets` exports `pimoluPresets` (generated colour palettes except `default`). `@pimolu/themes/visuals` exports `pimoluPresetVisuals` for borders, shadows, radii, typography and press effects. Both entries include TypeScript declarations. `@pimolu/themes/themes.json` provides the resolved light and dark semantic themes.
35
+
36
+ ## Links
37
+
38
+ [Theming guide](https://pimolu.com/docs/theming) · [All npm packages](https://www.npmjs.com/org/pimolu) · [Source](https://github.com/pimoludev/ui/tree/main/packages/themes)
39
+
40
+ MIT © Pimolu
@@ -0,0 +1,96 @@
1
+ /* Generated by Pimolu UI */
2
+
3
+ [data-pimolu-theme="light"][data-pimolu-style="default"] {
4
+ --pimolu-background: #FFFFFF;
5
+ --pimolu-foreground: #020617;
6
+ --pimolu-surface: #F8FAFC;
7
+ --pimolu-surface-foreground: #0F172A;
8
+ --pimolu-muted: #F1F5F9;
9
+ --pimolu-muted-foreground: #64748B;
10
+ --pimolu-border: #E2E8F0;
11
+ --pimolu-primary: #4F46E5;
12
+ --pimolu-primary-hover: #4338CA;
13
+ --pimolu-primary-foreground: #FFFFFF;
14
+ --pimolu-focus-ring: #6366F1;
15
+ --pimolu-success: #15803D;
16
+ --pimolu-success-hover: #166534;
17
+ --pimolu-success-foreground: #FFFFFF;
18
+ --pimolu-warning: #F59E0B;
19
+ --pimolu-warning-hover: #D97706;
20
+ --pimolu-warning-foreground: #020617;
21
+ --pimolu-danger: #DC2626;
22
+ --pimolu-danger-hover: #B91C1C;
23
+ --pimolu-danger-foreground: #FFFFFF;
24
+ }
25
+
26
+ [data-pimolu-theme="dark"][data-pimolu-style="default"] {
27
+ --pimolu-background: #020617;
28
+ --pimolu-foreground: #F8FAFC;
29
+ --pimolu-surface: #0F172A;
30
+ --pimolu-surface-foreground: #F8FAFC;
31
+ --pimolu-muted: #1E293B;
32
+ --pimolu-muted-foreground: #94A3B8;
33
+ --pimolu-border: #1E293B;
34
+ --pimolu-primary: #818CF8;
35
+ --pimolu-primary-hover: #6366F1;
36
+ --pimolu-primary-foreground: #020617;
37
+ --pimolu-focus-ring: #818CF8;
38
+ --pimolu-success: #22C55E;
39
+ --pimolu-success-hover: #16A34A;
40
+ --pimolu-success-foreground: #020617;
41
+ --pimolu-warning: #F59E0B;
42
+ --pimolu-warning-hover: #D97706;
43
+ --pimolu-warning-foreground: #020617;
44
+ --pimolu-danger: #F87171;
45
+ --pimolu-danger-hover: #EF4444;
46
+ --pimolu-danger-foreground: #020617;
47
+ }
48
+
49
+ [data-pimolu-theme="system"][data-pimolu-style="default"] {
50
+ --pimolu-background: #FFFFFF;
51
+ --pimolu-foreground: #020617;
52
+ --pimolu-surface: #F8FAFC;
53
+ --pimolu-surface-foreground: #0F172A;
54
+ --pimolu-muted: #F1F5F9;
55
+ --pimolu-muted-foreground: #64748B;
56
+ --pimolu-border: #E2E8F0;
57
+ --pimolu-primary: #4F46E5;
58
+ --pimolu-primary-hover: #4338CA;
59
+ --pimolu-primary-foreground: #FFFFFF;
60
+ --pimolu-focus-ring: #6366F1;
61
+ --pimolu-success: #15803D;
62
+ --pimolu-success-hover: #166534;
63
+ --pimolu-success-foreground: #FFFFFF;
64
+ --pimolu-warning: #F59E0B;
65
+ --pimolu-warning-hover: #D97706;
66
+ --pimolu-warning-foreground: #020617;
67
+ --pimolu-danger: #DC2626;
68
+ --pimolu-danger-hover: #B91C1C;
69
+ --pimolu-danger-foreground: #FFFFFF;
70
+ }
71
+
72
+ @media (prefers-color-scheme: dark) {
73
+ [data-pimolu-theme="system"][data-pimolu-style="default"] {
74
+ --pimolu-background: #020617;
75
+ --pimolu-foreground: #F8FAFC;
76
+ --pimolu-surface: #0F172A;
77
+ --pimolu-surface-foreground: #F8FAFC;
78
+ --pimolu-muted: #1E293B;
79
+ --pimolu-muted-foreground: #94A3B8;
80
+ --pimolu-border: #1E293B;
81
+ --pimolu-primary: #818CF8;
82
+ --pimolu-primary-hover: #6366F1;
83
+ --pimolu-primary-foreground: #020617;
84
+ --pimolu-focus-ring: #818CF8;
85
+ --pimolu-success: #22C55E;
86
+ --pimolu-success-hover: #16A34A;
87
+ --pimolu-success-foreground: #020617;
88
+ --pimolu-warning: #F59E0B;
89
+ --pimolu-warning-hover: #D97706;
90
+ --pimolu-warning-foreground: #020617;
91
+ --pimolu-danger: #F87171;
92
+ --pimolu-danger-hover: #EF4444;
93
+ --pimolu-danger-foreground: #020617;
94
+ }
95
+
96
+ }
@@ -0,0 +1,32 @@
1
+
2
+ /* Generated automatically — do not edit */
3
+
4
+ [data-pimolu-style="monochrome"] {
5
+ --pimolu-primary: #171717;
6
+ --pimolu-primary-hover: #404040;
7
+ --pimolu-primary-foreground: #ffffff;
8
+ --pimolu-secondary: #e5e5e5;
9
+ --pimolu-secondary-hover: #d4d4d4;
10
+ --pimolu-secondary-foreground: #171717;
11
+ --pimolu-background: #ffffff;
12
+ --pimolu-foreground: #171717;
13
+ --pimolu-muted: #f5f5f5;
14
+ --pimolu-muted-foreground: #737373;
15
+ --pimolu-border: #737373;
16
+ --pimolu-focus-ring: #171717;
17
+ }
18
+
19
+ [data-pimolu-theme="dark"][data-pimolu-style="monochrome"] {
20
+ --pimolu-primary: #fafafa;
21
+ --pimolu-primary-hover: #d4d4d4;
22
+ --pimolu-primary-foreground: #171717;
23
+ --pimolu-secondary: #333333;
24
+ --pimolu-secondary-hover: #404040;
25
+ --pimolu-secondary-foreground: #fafafa;
26
+ --pimolu-background: #111111;
27
+ --pimolu-foreground: #fafafa;
28
+ --pimolu-muted: #262626;
29
+ --pimolu-muted-foreground: #a3a3a3;
30
+ --pimolu-border: #737373;
31
+ --pimolu-focus-ring: #fafafa;
32
+ }
@@ -0,0 +1,345 @@
1
+ /* Generated by Pimolu UI — Do not edit */
2
+
3
+ [data-pimolu-style="adaptive"] {
4
+ --pimolu-primary: #5B55E7;
5
+ --pimolu-primary-hover: #4A44D4;
6
+ --pimolu-primary-foreground: #FFFFFF;
7
+ --pimolu-secondary: #ECEEF6;
8
+ --pimolu-secondary-hover: #E2E6F0;
9
+ --pimolu-secondary-foreground: #171B2B;
10
+ --pimolu-background: #F8F9FC;
11
+ --pimolu-foreground: #171B2B;
12
+ --pimolu-muted: #F1F3F9;
13
+ --pimolu-muted-foreground: #5C6479;
14
+ --pimolu-border: #E4E7EF;
15
+ --pimolu-control-border: #8A93A8;
16
+ --pimolu-focus-ring: #5B55E7;
17
+ --pimolu-surface: #FFFFFF;
18
+ --pimolu-surface-foreground: #171B2B;
19
+ --pimolu-accent: #0C9E8B;
20
+ --pimolu-accent-foreground: #FFFFFF;
21
+ }
22
+
23
+ [data-pimolu-theme="dark"][data-pimolu-style="adaptive"] {
24
+ --pimolu-primary: #7C77F0;
25
+ --pimolu-primary-hover: #918DF5;
26
+ --pimolu-primary-foreground: #0E111A;
27
+ --pimolu-secondary: #232838;
28
+ --pimolu-secondary-hover: #2C3245;
29
+ --pimolu-secondary-foreground: #E8EAF2;
30
+ --pimolu-background: #0E111A;
31
+ --pimolu-foreground: #E8EAF2;
32
+ --pimolu-muted: #1C2130;
33
+ --pimolu-muted-foreground: #A7AEC0;
34
+ --pimolu-border: #262B3A;
35
+ --pimolu-control-border: #5A6378;
36
+ --pimolu-focus-ring: #8A85F0;
37
+ --pimolu-surface: #161A26;
38
+ --pimolu-surface-foreground: #E8EAF2;
39
+ --pimolu-accent: #2BC4AF;
40
+ --pimolu-accent-foreground: #062A25;
41
+ }
42
+
43
+ @media (prefers-color-scheme: dark) {
44
+ [data-pimolu-theme="system"][data-pimolu-style="adaptive"] {
45
+ --pimolu-primary: #7C77F0;
46
+ --pimolu-primary-hover: #918DF5;
47
+ --pimolu-primary-foreground: #0E111A;
48
+ --pimolu-secondary: #232838;
49
+ --pimolu-secondary-hover: #2C3245;
50
+ --pimolu-secondary-foreground: #E8EAF2;
51
+ --pimolu-background: #0E111A;
52
+ --pimolu-foreground: #E8EAF2;
53
+ --pimolu-muted: #1C2130;
54
+ --pimolu-muted-foreground: #A7AEC0;
55
+ --pimolu-border: #262B3A;
56
+ --pimolu-control-border: #5A6378;
57
+ --pimolu-focus-ring: #8A85F0;
58
+ --pimolu-surface: #161A26;
59
+ --pimolu-surface-foreground: #E8EAF2;
60
+ --pimolu-accent: #2BC4AF;
61
+ --pimolu-accent-foreground: #062A25;
62
+ }
63
+ }
64
+
65
+ [data-pimolu-style="cartoon"] {
66
+ --pimolu-primary: #ffbd2e;
67
+ --pimolu-primary-hover: #ffcf56;
68
+ --pimolu-primary-foreground: #171717;
69
+ --pimolu-secondary: #7dd3fc;
70
+ --pimolu-secondary-hover: #bae6fd;
71
+ --pimolu-secondary-foreground: #171717;
72
+ --pimolu-background: #fff9ed;
73
+ --pimolu-foreground: #171717;
74
+ --pimolu-surface: #ffffff;
75
+ --pimolu-surface-foreground: #171717;
76
+ --pimolu-muted: #fff0c2;
77
+ --pimolu-muted-foreground: #525252;
78
+ --pimolu-border: #171717;
79
+ --pimolu-focus-ring: #2563eb;
80
+ }
81
+
82
+ [data-pimolu-theme="dark"][data-pimolu-style="cartoon"] {
83
+ --pimolu-primary: #ffbd2e;
84
+ --pimolu-primary-hover: #ffcf56;
85
+ --pimolu-primary-foreground: #171717;
86
+ --pimolu-secondary: #7dd3fc;
87
+ --pimolu-secondary-hover: #bae6fd;
88
+ --pimolu-secondary-foreground: #171717;
89
+ --pimolu-background: #171717;
90
+ --pimolu-foreground: #ffffff;
91
+ --pimolu-surface: #262626;
92
+ --pimolu-surface-foreground: #ffffff;
93
+ --pimolu-muted: #323232;
94
+ --pimolu-muted-foreground: #d4d4d4;
95
+ --pimolu-border: #ffffff;
96
+ --pimolu-focus-ring: #ffbd2e;
97
+ }
98
+
99
+ @media (prefers-color-scheme: dark) {
100
+ [data-pimolu-theme="system"][data-pimolu-style="cartoon"] {
101
+ --pimolu-primary: #ffbd2e;
102
+ --pimolu-primary-hover: #ffcf56;
103
+ --pimolu-primary-foreground: #171717;
104
+ --pimolu-secondary: #7dd3fc;
105
+ --pimolu-secondary-hover: #bae6fd;
106
+ --pimolu-secondary-foreground: #171717;
107
+ --pimolu-background: #171717;
108
+ --pimolu-foreground: #ffffff;
109
+ --pimolu-surface: #262626;
110
+ --pimolu-surface-foreground: #ffffff;
111
+ --pimolu-muted: #323232;
112
+ --pimolu-muted-foreground: #d4d4d4;
113
+ --pimolu-border: #ffffff;
114
+ --pimolu-focus-ring: #ffbd2e;
115
+ }
116
+ }
117
+
118
+ [data-pimolu-style="glass"] {
119
+ --pimolu-primary: #6265ef;
120
+ --pimolu-primary-hover: #4f46e5;
121
+ --pimolu-primary-foreground: #ffffff;
122
+ --pimolu-background: #eaf0ff;
123
+ --pimolu-foreground: #17213b;
124
+ --pimolu-surface: rgba(255, 255, 255, 0.72);
125
+ --pimolu-surface-foreground: #17213b;
126
+ --pimolu-muted: rgba(255, 255, 255, 0.65);
127
+ --pimolu-muted-foreground: #475569;
128
+ --pimolu-border: rgba(255, 255, 255, 0.75);
129
+ --pimolu-focus-ring: #6265ef;
130
+ --pimolu-glass-bg: rgba(255, 255, 255, 0.72);
131
+ --pimolu-glass-bg-hover: rgba(255, 255, 255, 0.88);
132
+ --pimolu-glass-border: rgba(255, 255, 255, 0.85);
133
+ --pimolu-secondary: rgba(255, 255, 255, 0.65);
134
+ --pimolu-secondary-hover: rgba(255, 255, 255, 0.88);
135
+ --pimolu-secondary-foreground: #17213b;
136
+ }
137
+
138
+ [data-pimolu-theme="dark"][data-pimolu-style="glass"] {
139
+ --pimolu-primary: #818cf8;
140
+ --pimolu-primary-hover: #a5b4fc;
141
+ --pimolu-primary-foreground: #0f172a;
142
+ --pimolu-background: #0b1024;
143
+ --pimolu-foreground: #f8fafc;
144
+ --pimolu-surface: rgba(15, 23, 42, 0.78);
145
+ --pimolu-surface-foreground: #f8fafc;
146
+ --pimolu-muted: rgba(51, 65, 85, 0.65);
147
+ --pimolu-muted-foreground: #cbd5e1;
148
+ --pimolu-border: rgba(255, 255, 255, 0.18);
149
+ --pimolu-focus-ring: #a5b4fc;
150
+ --pimolu-glass-bg: rgba(15, 23, 42, 0.78);
151
+ --pimolu-glass-bg-hover: rgba(30, 41, 59, 0.9);
152
+ --pimolu-glass-border: rgba(255, 255, 255, 0.2);
153
+ --pimolu-secondary: rgba(51, 65, 85, 0.65);
154
+ --pimolu-secondary-hover: rgba(71, 85, 105, 0.85);
155
+ --pimolu-secondary-foreground: #f8fafc;
156
+ }
157
+
158
+ @media (prefers-color-scheme: dark) {
159
+ [data-pimolu-theme="system"][data-pimolu-style="glass"] {
160
+ --pimolu-primary: #818cf8;
161
+ --pimolu-primary-hover: #a5b4fc;
162
+ --pimolu-primary-foreground: #0f172a;
163
+ --pimolu-background: #0b1024;
164
+ --pimolu-foreground: #f8fafc;
165
+ --pimolu-surface: rgba(15, 23, 42, 0.78);
166
+ --pimolu-surface-foreground: #f8fafc;
167
+ --pimolu-muted: rgba(51, 65, 85, 0.65);
168
+ --pimolu-muted-foreground: #cbd5e1;
169
+ --pimolu-border: rgba(255, 255, 255, 0.18);
170
+ --pimolu-focus-ring: #a5b4fc;
171
+ --pimolu-glass-bg: rgba(15, 23, 42, 0.78);
172
+ --pimolu-glass-bg-hover: rgba(30, 41, 59, 0.9);
173
+ --pimolu-glass-border: rgba(255, 255, 255, 0.2);
174
+ --pimolu-secondary: rgba(51, 65, 85, 0.65);
175
+ --pimolu-secondary-hover: rgba(71, 85, 105, 0.85);
176
+ --pimolu-secondary-foreground: #f8fafc;
177
+ }
178
+ }
179
+
180
+ [data-pimolu-style="luxury"] {
181
+ --pimolu-background: #faf7f2;
182
+ --pimolu-foreground: #24211e;
183
+ --pimolu-surface: #ffffff;
184
+ --pimolu-surface-foreground: #24211e;
185
+ --pimolu-primary: #24211e;
186
+ --pimolu-primary-hover: #403a33;
187
+ --pimolu-primary-foreground: #faf7f2;
188
+ --pimolu-secondary: #f1eae0;
189
+ --pimolu-secondary-hover: #e5d9c8;
190
+ --pimolu-secondary-foreground: #24211e;
191
+ --pimolu-muted: #f1eae0;
192
+ --pimolu-muted-foreground: #665e54;
193
+ --pimolu-border: #d8c9b3;
194
+ --pimolu-focus-ring: #926a35;
195
+ --pimolu-luxury-gold: #b38a4a;
196
+ --pimolu-luxury-divider: #d8c9b3;
197
+ }
198
+
199
+ [data-pimolu-theme="dark"][data-pimolu-style="luxury"] {
200
+ --pimolu-background: #151311;
201
+ --pimolu-foreground: #f4eee5;
202
+ --pimolu-surface: #24201c;
203
+ --pimolu-surface-foreground: #f4eee5;
204
+ --pimolu-primary: #e8cf9b;
205
+ --pimolu-primary-hover: #f3dfb5;
206
+ --pimolu-primary-foreground: #24211e;
207
+ --pimolu-secondary: #342f29;
208
+ --pimolu-secondary-hover: #453d34;
209
+ --pimolu-secondary-foreground: #f4eee5;
210
+ --pimolu-muted: #2d2822;
211
+ --pimolu-muted-foreground: #c4b7a5;
212
+ --pimolu-border: #675743;
213
+ --pimolu-focus-ring: #e8cf9b;
214
+ --pimolu-luxury-gold: #e8cf9b;
215
+ --pimolu-luxury-divider: #675743;
216
+ }
217
+
218
+ @media (prefers-color-scheme: dark) {
219
+ [data-pimolu-theme="system"][data-pimolu-style="luxury"] {
220
+ --pimolu-background: #151311;
221
+ --pimolu-foreground: #f4eee5;
222
+ --pimolu-surface: #24201c;
223
+ --pimolu-surface-foreground: #f4eee5;
224
+ --pimolu-primary: #e8cf9b;
225
+ --pimolu-primary-hover: #f3dfb5;
226
+ --pimolu-primary-foreground: #24211e;
227
+ --pimolu-secondary: #342f29;
228
+ --pimolu-secondary-hover: #453d34;
229
+ --pimolu-secondary-foreground: #f4eee5;
230
+ --pimolu-muted: #2d2822;
231
+ --pimolu-muted-foreground: #c4b7a5;
232
+ --pimolu-border: #675743;
233
+ --pimolu-focus-ring: #e8cf9b;
234
+ --pimolu-luxury-gold: #e8cf9b;
235
+ --pimolu-luxury-divider: #675743;
236
+ }
237
+ }
238
+
239
+ [data-pimolu-style="monochrome"] {
240
+ --pimolu-primary: #171717;
241
+ --pimolu-primary-hover: #404040;
242
+ --pimolu-primary-foreground: #ffffff;
243
+ --pimolu-secondary: #e5e5e5;
244
+ --pimolu-secondary-hover: #d4d4d4;
245
+ --pimolu-secondary-foreground: #171717;
246
+ --pimolu-background: #ffffff;
247
+ --pimolu-foreground: #171717;
248
+ --pimolu-muted: #f5f5f5;
249
+ --pimolu-muted-foreground: #737373;
250
+ --pimolu-border: #737373;
251
+ --pimolu-focus-ring: #171717;
252
+ --pimolu-surface: #ffffff;
253
+ --pimolu-surface-foreground: #171717;
254
+ }
255
+
256
+ [data-pimolu-theme="dark"][data-pimolu-style="monochrome"] {
257
+ --pimolu-primary: #fafafa;
258
+ --pimolu-primary-hover: #d4d4d4;
259
+ --pimolu-primary-foreground: #171717;
260
+ --pimolu-secondary: #333333;
261
+ --pimolu-secondary-hover: #404040;
262
+ --pimolu-secondary-foreground: #fafafa;
263
+ --pimolu-background: #111111;
264
+ --pimolu-foreground: #fafafa;
265
+ --pimolu-muted: #262626;
266
+ --pimolu-muted-foreground: #a3a3a3;
267
+ --pimolu-border: #737373;
268
+ --pimolu-focus-ring: #fafafa;
269
+ --pimolu-surface: #262626;
270
+ --pimolu-surface-foreground: #fafafa;
271
+ }
272
+
273
+ @media (prefers-color-scheme: dark) {
274
+ [data-pimolu-theme="system"][data-pimolu-style="monochrome"] {
275
+ --pimolu-primary: #fafafa;
276
+ --pimolu-primary-hover: #d4d4d4;
277
+ --pimolu-primary-foreground: #171717;
278
+ --pimolu-secondary: #333333;
279
+ --pimolu-secondary-hover: #404040;
280
+ --pimolu-secondary-foreground: #fafafa;
281
+ --pimolu-background: #111111;
282
+ --pimolu-foreground: #fafafa;
283
+ --pimolu-muted: #262626;
284
+ --pimolu-muted-foreground: #a3a3a3;
285
+ --pimolu-border: #737373;
286
+ --pimolu-focus-ring: #fafafa;
287
+ --pimolu-surface: #262626;
288
+ --pimolu-surface-foreground: #fafafa;
289
+ }
290
+ }
291
+
292
+ [data-pimolu-style="neo-brutalism"] {
293
+ --pimolu-background: #fffdf5;
294
+ --pimolu-foreground: #171717;
295
+ --pimolu-surface: #ffffff;
296
+ --pimolu-surface-foreground: #171717;
297
+ --pimolu-primary: #dfff57;
298
+ --pimolu-primary-hover: #c9ef34;
299
+ --pimolu-primary-foreground: #171717;
300
+ --pimolu-secondary: #c4b5fd;
301
+ --pimolu-secondary-hover: #b29cf9;
302
+ --pimolu-secondary-foreground: #171717;
303
+ --pimolu-muted: #f2eddf;
304
+ --pimolu-muted-foreground: #525252;
305
+ --pimolu-border: #171717;
306
+ --pimolu-focus-ring: #4338ca;
307
+ }
308
+
309
+ [data-pimolu-theme="dark"][data-pimolu-style="neo-brutalism"] {
310
+ --pimolu-background: #171717;
311
+ --pimolu-foreground: #fafafa;
312
+ --pimolu-surface: #262626;
313
+ --pimolu-surface-foreground: #fafafa;
314
+ --pimolu-primary: #dfff57;
315
+ --pimolu-primary-hover: #edff96;
316
+ --pimolu-primary-foreground: #171717;
317
+ --pimolu-secondary: #c4b5fd;
318
+ --pimolu-secondary-hover: #ddd6fe;
319
+ --pimolu-secondary-foreground: #171717;
320
+ --pimolu-muted: #333333;
321
+ --pimolu-muted-foreground: #d4d4d4;
322
+ --pimolu-border: #fafafa;
323
+ --pimolu-focus-ring: #dfff57;
324
+ }
325
+
326
+ @media (prefers-color-scheme: dark) {
327
+ [data-pimolu-theme="system"][data-pimolu-style="neo-brutalism"] {
328
+ --pimolu-background: #171717;
329
+ --pimolu-foreground: #fafafa;
330
+ --pimolu-surface: #262626;
331
+ --pimolu-surface-foreground: #fafafa;
332
+ --pimolu-primary: #dfff57;
333
+ --pimolu-primary-hover: #edff96;
334
+ --pimolu-primary-foreground: #171717;
335
+ --pimolu-secondary: #c4b5fd;
336
+ --pimolu-secondary-hover: #ddd6fe;
337
+ --pimolu-secondary-foreground: #171717;
338
+ --pimolu-muted: #333333;
339
+ --pimolu-muted-foreground: #d4d4d4;
340
+ --pimolu-border: #fafafa;
341
+ --pimolu-focus-ring: #dfff57;
342
+ }
343
+ }
344
+
345
+
@@ -0,0 +1,4 @@
1
+ export type PimoluTheme = "light" | "dark";
2
+ export type PimoluStylePreset = "default" | "adaptive" | "cartoon" | "glass" | "luxury" | "monochrome" | "neo-brutalism";
3
+ export type PimoluPresetColors = Readonly<Record<string, string>>;
4
+ export declare const pimoluPresets: Readonly<Record<Exclude<PimoluStylePreset, "default">, Record<PimoluTheme, PimoluPresetColors>>>;