@umami/react-zen 0.219.0 → 0.221.0
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/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +291 -168
- package/dist/index.mjs +223 -100
- package/package.json +1 -1
- package/styles.css +61 -0
- package/styles.full.css +1 -1
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -68,6 +68,8 @@
|
|
|
68
68
|
|
|
69
69
|
[data-theme="dark"],
|
|
70
70
|
.dark {
|
|
71
|
+
color-scheme: dark;
|
|
72
|
+
|
|
71
73
|
/* === SURFACES === */
|
|
72
74
|
--surface-base: oklch(0.205 0 0); /* neutral-900 */
|
|
73
75
|
--surface-raised: oklch(0.269 0 0); /* neutral-800 */
|
|
@@ -119,6 +121,65 @@
|
|
|
119
121
|
--status-error-text: oklch(0.936 0.032 17.717); /* red-100 */
|
|
120
122
|
}
|
|
121
123
|
|
|
124
|
+
/* Light theme - for overriding dark parent (must come after dark) */
|
|
125
|
+
[data-theme="light"] {
|
|
126
|
+
color-scheme: light;
|
|
127
|
+
|
|
128
|
+
/* === SURFACES (backgrounds) === */
|
|
129
|
+
--surface-base: #ffffff;
|
|
130
|
+
--surface-raised: oklch(0.985 0 0); /* neutral-50 */
|
|
131
|
+
--surface-sunken: oklch(0.97 0 0); /* neutral-100 */
|
|
132
|
+
--surface-overlay: #ffffff;
|
|
133
|
+
--surface-inverted: oklch(0.205 0 0); /* neutral-900 */
|
|
134
|
+
--surface-disabled: oklch(0.985 0 0); /* neutral-50 */
|
|
135
|
+
|
|
136
|
+
/* === TEXT === */
|
|
137
|
+
--text-primary: oklch(0.205 0 0); /* neutral-900 */
|
|
138
|
+
--text-secondary: oklch(0.439 0 0); /* neutral-600 */
|
|
139
|
+
--text-muted: oklch(0.556 0 0); /* neutral-500 */
|
|
140
|
+
--text-disabled: oklch(0.708 0 0); /* neutral-400 */
|
|
141
|
+
--text-inverted: oklch(0.985 0 0); /* neutral-50 */
|
|
142
|
+
--text-on-primary: #ffffff;
|
|
143
|
+
|
|
144
|
+
/* === BORDERS === */
|
|
145
|
+
--border-default: oklch(0.87 0 0); /* neutral-300 */
|
|
146
|
+
--border-muted: oklch(0.922 0 0); /* neutral-200 */
|
|
147
|
+
--border-strong: oklch(0.708 0 0); /* neutral-400 */
|
|
148
|
+
--border-inverted: oklch(0.205 0 0); /* neutral-900 */
|
|
149
|
+
|
|
150
|
+
/* === INTERACTIVE STATES === */
|
|
151
|
+
--interactive-bg: oklch(0.97 0 0); /* neutral-100 */
|
|
152
|
+
--interactive-bg-hover: oklch(0.922 0 0); /* neutral-200 */
|
|
153
|
+
--interactive-bg-pressed: oklch(0.87 0 0); /* neutral-300 */
|
|
154
|
+
--interactive-bg-selected: oklch(0.205 0 0); /* neutral-900 */
|
|
155
|
+
--interactive-text-selected: #ffffff;
|
|
156
|
+
|
|
157
|
+
/* === FOCUS === */
|
|
158
|
+
--focus-ring: oklch(0.708 0 0); /* neutral-400 */
|
|
159
|
+
--focus-ring-offset: #ffffff;
|
|
160
|
+
|
|
161
|
+
/* === TRACKS (sliders, progress) === */
|
|
162
|
+
--track-bg: oklch(0.922 0 0); /* neutral-200 */
|
|
163
|
+
--track-fill: oklch(0.205 0 0); /* neutral-900 */
|
|
164
|
+
|
|
165
|
+
/* === STATUS COLORS === */
|
|
166
|
+
--status-info: oklch(0.623 0.214 259.815); /* blue-500 */
|
|
167
|
+
--status-info-bg: oklch(0.97 0.014 254.604); /* blue-50 */
|
|
168
|
+
--status-info-text: oklch(0.379 0.146 265.522); /* blue-900 */
|
|
169
|
+
|
|
170
|
+
--status-success: oklch(0.723 0.219 149.579); /* green-500 */
|
|
171
|
+
--status-success-bg: oklch(0.982 0.018 155.826); /* green-50 */
|
|
172
|
+
--status-success-text: oklch(0.393 0.095 152.535); /* green-900 */
|
|
173
|
+
|
|
174
|
+
--status-warning: oklch(0.795 0.184 86.047); /* yellow-500 */
|
|
175
|
+
--status-warning-bg: oklch(0.987 0.026 102.212); /* yellow-50 */
|
|
176
|
+
--status-warning-text: oklch(0.421 0.095 57.708); /* yellow-900 */
|
|
177
|
+
|
|
178
|
+
--status-error: oklch(0.637 0.237 25.331); /* red-500 */
|
|
179
|
+
--status-error-bg: oklch(0.971 0.013 17.38); /* red-50 */
|
|
180
|
+
--status-error-text: oklch(0.396 0.141 25.723); /* red-900 */
|
|
181
|
+
}
|
|
182
|
+
|
|
122
183
|
|
|
123
184
|
/* ./src/components/Dots.css */
|
|
124
185
|
.zen-dot {
|