@novie/ui 0.1.7 → 0.1.9
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/components/ui/button.d.ts +1 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/tag.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +24 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.css +55 -41
package/package.json
CHANGED
package/src/index.css
CHANGED
|
@@ -337,30 +337,37 @@
|
|
|
337
337
|
* BUTTON TOKENS
|
|
338
338
|
* ======================================== */
|
|
339
339
|
|
|
340
|
-
|
|
341
|
-
|
|
340
|
+
/* Brand (Primary Button — green) */
|
|
341
|
+
--button-brand-default: 151.5 59.7% 26.3%;
|
|
342
|
+
/* semantic: button/brand/default ← palette: forrest-600 hex: #1b6b45 */
|
|
343
|
+
--button-brand-hover: 152.3 51.9% 30.2%;
|
|
344
|
+
/* semantic: button/brand/hover ← palette: forrest-500 hex: #257550 */
|
|
345
|
+
--button-brand-pressed: 151.9 61.5% 20.4%;
|
|
346
|
+
/* semantic: button/brand/pressed ← palette: forrest-700 hex: #145436 */
|
|
347
|
+
|
|
348
|
+
/* Secondary Filled (black bg) */
|
|
349
|
+
--button-secondary-filled-hover: 0 0% 23.1%;
|
|
350
|
+
/* semantic: button/primary/background-tertiary ← palette: gray-700 hex: #3b3b3b */
|
|
351
|
+
|
|
352
|
+
/* Shared disabled tokens */
|
|
342
353
|
--button-primary-bg-disabled: 0 0% 78%;
|
|
343
354
|
/* semantic: button/primary/background-disabled ← palette: neutral-200 hex: #c7c7c7 */
|
|
344
|
-
--button-primary-text:
|
|
345
|
-
/* semantic:
|
|
346
|
-
--button-
|
|
347
|
-
/* semantic: button/
|
|
348
|
-
|
|
349
|
-
/*
|
|
350
|
-
--button-
|
|
351
|
-
/* semantic:
|
|
352
|
-
--button-
|
|
353
|
-
/* semantic: text/info/default ← palette: slate-600 hex: #434c54 */
|
|
354
|
-
--button-danger-hover: 346.3 71.3% 39.6%;
|
|
355
|
-
/* semantic: background/error/default-hover ← palette: red-700 hex: #ad1c31 */
|
|
356
|
-
--button-danger-bg-disabled: 14.1 85.5% 79.6%;
|
|
355
|
+
--button-primary-text-disabled: 208.2 11.3% 29.6%;
|
|
356
|
+
/* semantic: text/info/default ← palette: slate-700 hex: #434c54 */
|
|
357
|
+
--button-text-disabled: 0 0% 63.9%;
|
|
358
|
+
/* semantic: button/primary/text-disabled ← palette: neutral-400 hex: #a3a3a3 */
|
|
359
|
+
|
|
360
|
+
/* Danger */
|
|
361
|
+
--button-danger-hover: 11.1 80.6% 36.5%;
|
|
362
|
+
/* semantic: background/error/default-hover ← palette: red-600 hex: #a82e12 */
|
|
363
|
+
--button-danger-bg-disabled: 14.8 82.5% 79.4%;
|
|
357
364
|
/* semantic: button/destructive/background-disabled ← palette: red-200 hex: #f5b5a0 */
|
|
358
|
-
--button-danger-text-disabled:
|
|
365
|
+
--button-danger-text-disabled: 10.3 78.4% 14.5%;
|
|
359
366
|
/* semantic: text/error/on-surface ← palette: red-900 hex: #421208 */
|
|
360
|
-
|
|
361
|
-
/*
|
|
362
|
-
--button-ghost-
|
|
363
|
-
/* semantic:
|
|
367
|
+
|
|
368
|
+
/* Ghost */
|
|
369
|
+
--button-ghost-text-disabled: 0 0% 68.6%;
|
|
370
|
+
/* semantic: primary/400 ← palette: neutral-400 hex: #afafaf */
|
|
364
371
|
--icon-button-hover: 0 0% 50.2%;
|
|
365
372
|
/* semantic: icon/default/secondary ← palette: neutral-500 hex: #808080 */
|
|
366
373
|
--icon-button-disabled: 0 0% 70.6%;
|
|
@@ -912,30 +919,37 @@
|
|
|
912
919
|
* BUTTON TOKENS
|
|
913
920
|
* ======================================== */
|
|
914
921
|
|
|
915
|
-
|
|
916
|
-
|
|
922
|
+
/* Brand (Primary Button — green) */
|
|
923
|
+
--button-brand-default: 151.5 59.7% 26.3%;
|
|
924
|
+
/* semantic: button/brand/default (dark) ← palette: forrest-600 hex: #1b6b45 (estimated) */
|
|
925
|
+
--button-brand-hover: 152.3 51.9% 30.2%;
|
|
926
|
+
/* semantic: button/brand/hover (dark) ← palette: forrest-500 hex: #257550 (estimated) */
|
|
927
|
+
--button-brand-pressed: 151.9 61.5% 20.4%;
|
|
928
|
+
/* semantic: button/brand/pressed (dark) ← palette: forrest-700 hex: #145436 (estimated) */
|
|
929
|
+
|
|
930
|
+
/* Secondary Filled */
|
|
931
|
+
--button-secondary-filled-hover: 0 0% 89.8%;
|
|
932
|
+
/* semantic: button/primary/background-tertiary (dark) ← palette: gray-200 hex: #e5e5e5 (estimated) */
|
|
933
|
+
|
|
934
|
+
/* Shared disabled tokens */
|
|
917
935
|
--button-primary-bg-disabled: 0 0% 23.1%;
|
|
918
936
|
/* semantic: button/primary/background-disabled (dark) ← palette: gray-700 hex: #3b3b3b */
|
|
919
|
-
--button-primary-text:
|
|
920
|
-
/* semantic:
|
|
921
|
-
--button-
|
|
922
|
-
/* semantic: button/
|
|
923
|
-
|
|
924
|
-
/*
|
|
925
|
-
--button-
|
|
926
|
-
/* semantic:
|
|
927
|
-
--button-
|
|
928
|
-
/* semantic: text/info/default (dark) ← palette: slate-600 hex: #434c54 (estimated) */
|
|
929
|
-
--button-danger-hover: 346.3 71.3% 39.6%;
|
|
930
|
-
/* semantic: background/error/default-hover (dark) ← palette: red-700 hex: #ad1c31 (estimated) */
|
|
931
|
-
--button-danger-bg-disabled: 14.1 85.5% 79.6%;
|
|
937
|
+
--button-primary-text-disabled: 208.2 11.3% 29.6%;
|
|
938
|
+
/* semantic: text/info/default (dark) ← palette: slate-700 hex: #434c54 (estimated) */
|
|
939
|
+
--button-text-disabled: 0 0% 63.9%;
|
|
940
|
+
/* semantic: button/primary/text-disabled (dark) ← palette: neutral-400 hex: #a3a3a3 (estimated) */
|
|
941
|
+
|
|
942
|
+
/* Danger */
|
|
943
|
+
--button-danger-hover: 11.1 80.6% 36.5%;
|
|
944
|
+
/* semantic: background/error/default-hover (dark) ← palette: red-600 hex: #a82e12 (estimated) */
|
|
945
|
+
--button-danger-bg-disabled: 14.8 82.5% 79.4%;
|
|
932
946
|
/* semantic: button/destructive/background-disabled (dark) ← palette: red-200 hex: #f5b5a0 (estimated) */
|
|
933
|
-
--button-danger-text-disabled:
|
|
934
|
-
/* semantic: text/error/on-surface (dark)
|
|
935
|
-
|
|
936
|
-
/*
|
|
937
|
-
--button-ghost-
|
|
938
|
-
/* semantic:
|
|
947
|
+
--button-danger-text-disabled: 10.3 78.4% 14.5%;
|
|
948
|
+
/* semantic: text/error/on-surface (dark) ← palette: red-900 hex: #421208 (estimated) */
|
|
949
|
+
|
|
950
|
+
/* Ghost */
|
|
951
|
+
--button-ghost-text-disabled: 0 0% 68.6%;
|
|
952
|
+
/* semantic: primary/400 (dark) ← palette: neutral-400 hex: #afafaf (estimated) */
|
|
939
953
|
--icon-button-hover: 0 0% 50.2%;
|
|
940
954
|
/* semantic: icon/default/secondary (dark) ← palette: neutral-500 hex: #808080 (estimated) */
|
|
941
955
|
--icon-button-disabled: 0 0% 70.6%;
|