@duskmoon-dev/core 1.16.0 → 1.16.1
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.css +43 -79
- package/dist/index.min.css +1 -1
- package/dist/themes/generated/forest.css +5 -0
- package/dist/themes/generated/moonlight.css +5 -0
- package/dist/themes/generated/ocean.css +5 -0
- package/dist/themes/generated/sunshine.css +6 -1
- package/dist/types/themes/generated/ts/types.d.ts +7 -0
- package/dist/types/themes/generated/ts/types.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/plugin.d.ts +1 -1
- package/dist/types/types/plugin.d.ts.map +1 -1
- package/dist/types/types/theme.d.ts +1 -1
- package/dist/types/types/theme.d.ts.map +1 -1
- package/package.json +1 -4
- package/dist/themes/generated/sunset.css +0 -77
package/dist/index.css
CHANGED
|
@@ -108,6 +108,18 @@ html {
|
|
|
108
108
|
*/
|
|
109
109
|
|
|
110
110
|
@theme {
|
|
111
|
+
/* ============================================
|
|
112
|
+
* THEME METADATA (5 tokens)
|
|
113
|
+
* Set by generated theme CSS files (e.g., sunshine.css)
|
|
114
|
+
* Enables data-driven theme switching via --theme-pair
|
|
115
|
+
* ============================================ */
|
|
116
|
+
|
|
117
|
+
--theme-name: initial;
|
|
118
|
+
--theme-mode: initial;
|
|
119
|
+
--theme-family: initial;
|
|
120
|
+
--theme-pair: initial;
|
|
121
|
+
--theme-description: initial;
|
|
122
|
+
|
|
111
123
|
/* ============================================
|
|
112
124
|
* BRAND COLORS (12 tokens)
|
|
113
125
|
* ============================================ */
|
|
@@ -468,6 +480,11 @@ html {
|
|
|
468
480
|
/* Light default — sunshine theme */
|
|
469
481
|
:root {
|
|
470
482
|
color-scheme: light;
|
|
483
|
+
--theme-name: "sunshine";
|
|
484
|
+
--theme-mode: "light";
|
|
485
|
+
--theme-family: "duskmoon";
|
|
486
|
+
--theme-pair: "moonlight";
|
|
487
|
+
--theme-description: "Warm amber/coral";
|
|
471
488
|
--color-primary: oklch(72% 0.17 75);
|
|
472
489
|
--color-primary-content: oklch(100% 0 0);
|
|
473
490
|
--color-primary-container: oklch(95% 0.035 95.91);
|
|
@@ -544,6 +561,11 @@ html {
|
|
|
544
561
|
@media (prefers-color-scheme: dark) {
|
|
545
562
|
:root:not([data-theme]) {
|
|
546
563
|
color-scheme: dark;
|
|
564
|
+
--theme-name: "moonlight";
|
|
565
|
+
--theme-mode: "dark";
|
|
566
|
+
--theme-family: "duskmoon";
|
|
567
|
+
--theme-pair: "sunshine";
|
|
568
|
+
--theme-description: "Neutral white/gold";
|
|
547
569
|
--color-primary: oklch(85.45% 0 0);
|
|
548
570
|
--color-primary-content: oklch(14.94% 0.031 39.947);
|
|
549
571
|
--color-primary-container: oklch(25% 0.01 0);
|
|
@@ -623,6 +645,11 @@ html {
|
|
|
623
645
|
|
|
624
646
|
[data-theme="sunshine"] {
|
|
625
647
|
color-scheme: light;
|
|
648
|
+
--theme-name: "sunshine";
|
|
649
|
+
--theme-mode: "light";
|
|
650
|
+
--theme-family: "duskmoon";
|
|
651
|
+
--theme-pair: "moonlight";
|
|
652
|
+
--theme-description: "Warm amber/coral";
|
|
626
653
|
--color-primary: oklch(72% 0.17 75);
|
|
627
654
|
--color-primary-content: oklch(100% 0 0);
|
|
628
655
|
--color-primary-container: oklch(95% 0.035 95.91);
|
|
@@ -677,7 +704,7 @@ html {
|
|
|
677
704
|
--color-success-container: oklch(93% 0.04 150);
|
|
678
705
|
--color-on-success-container: oklch(30% 0.08 150);
|
|
679
706
|
--color-warning: oklch(68.19% 0.203 42.44);
|
|
680
|
-
--color-warning-content: oklch(18.19% 0.
|
|
707
|
+
--color-warning-content: oklch(18.19% 0.6 42);
|
|
681
708
|
--color-warning-container: oklch(93% 0.05 80);
|
|
682
709
|
--color-on-warning-container: oklch(38% 0.10 80);
|
|
683
710
|
--color-error: oklch(61.17% 0.237 28.15);
|
|
@@ -701,6 +728,11 @@ html {
|
|
|
701
728
|
|
|
702
729
|
[data-theme="moonlight"] {
|
|
703
730
|
color-scheme: dark;
|
|
731
|
+
--theme-name: "moonlight";
|
|
732
|
+
--theme-mode: "dark";
|
|
733
|
+
--theme-family: "duskmoon";
|
|
734
|
+
--theme-pair: "sunshine";
|
|
735
|
+
--theme-description: "Neutral white/gold";
|
|
704
736
|
--color-primary: oklch(85.45% 0 0);
|
|
705
737
|
--color-primary-content: oklch(14.94% 0.031 39.947);
|
|
706
738
|
--color-primary-container: oklch(25% 0.01 0);
|
|
@@ -779,6 +811,11 @@ html {
|
|
|
779
811
|
|
|
780
812
|
[data-theme="ocean"] {
|
|
781
813
|
color-scheme: dark;
|
|
814
|
+
--theme-name: "ocean";
|
|
815
|
+
--theme-mode: "dark";
|
|
816
|
+
--theme-family: "ecotone";
|
|
817
|
+
--theme-pair: "forest";
|
|
818
|
+
--theme-description: "Cool blue";
|
|
782
819
|
--color-primary: oklch(72% 0.12 210);
|
|
783
820
|
--color-primary-content: oklch(15% 0.02 210);
|
|
784
821
|
--color-primary-container: oklch(30% 0.08 210);
|
|
@@ -857,6 +894,11 @@ html {
|
|
|
857
894
|
|
|
858
895
|
[data-theme="forest"] {
|
|
859
896
|
color-scheme: light;
|
|
897
|
+
--theme-name: "forest";
|
|
898
|
+
--theme-mode: "light";
|
|
899
|
+
--theme-family: "ecotone";
|
|
900
|
+
--theme-pair: "ocean";
|
|
901
|
+
--theme-description: "Cool green/teal";
|
|
860
902
|
--color-primary: oklch(50% 0.14 150);
|
|
861
903
|
--color-primary-content: oklch(98% 0.01 150);
|
|
862
904
|
--color-primary-container: oklch(92% 0.04 150);
|
|
@@ -929,84 +971,6 @@ html {
|
|
|
929
971
|
--noise: 0.8;
|
|
930
972
|
}
|
|
931
973
|
|
|
932
|
-
/* GENERATED — DO NOT EDIT */
|
|
933
|
-
/* Source: tokens/sunset.yaml */
|
|
934
|
-
/* Generator: duskmoon-codegen v2.0.0 */
|
|
935
|
-
|
|
936
|
-
[data-theme="sunset"] {
|
|
937
|
-
color-scheme: light;
|
|
938
|
-
--color-primary: oklch(58% 0.18 35);
|
|
939
|
-
--color-primary-content: oklch(98% 0.01 35);
|
|
940
|
-
--color-primary-container: oklch(92% 0.04 35);
|
|
941
|
-
--color-on-primary-container: oklch(25% 0.07 35);
|
|
942
|
-
--color-secondary: oklch(58% 0.15 350);
|
|
943
|
-
--color-secondary-content: oklch(98% 0.01 350);
|
|
944
|
-
--color-secondary-container: oklch(92% 0.04 350);
|
|
945
|
-
--color-on-secondary-container: oklch(25% 0.06 350);
|
|
946
|
-
--color-tertiary: oklch(65% 0.14 75);
|
|
947
|
-
--color-tertiary-content: oklch(18% 0.04 75);
|
|
948
|
-
--color-tertiary-container: oklch(93% 0.04 75);
|
|
949
|
-
--color-on-tertiary-container: oklch(28% 0.06 75);
|
|
950
|
-
--color-accent: oklch(62% 0.14 310);
|
|
951
|
-
--color-accent-content: oklch(98% 0.01 310);
|
|
952
|
-
--color-neutral: oklch(14% 0.01 30);
|
|
953
|
-
--color-neutral-content: oklch(92% 0.01 50);
|
|
954
|
-
--color-neutral-variant: oklch(48% 0.015 40);
|
|
955
|
-
--color-surface: oklch(99% 0.008 50);
|
|
956
|
-
--color-surface-dim: oklch(95% 0.012 50);
|
|
957
|
-
--color-surface-bright: oklch(100% 0 0);
|
|
958
|
-
--color-surface-container-lowest: oklch(100% 0 0);
|
|
959
|
-
--color-surface-container-low: oklch(98% 0.01 50);
|
|
960
|
-
--color-surface-container: oklch(96% 0.012 50);
|
|
961
|
-
--color-surface-container-high: oklch(94% 0.015 50);
|
|
962
|
-
--color-surface-container-highest: oklch(92% 0.018 50);
|
|
963
|
-
--color-surface-variant: oklch(93% 0.02 50);
|
|
964
|
-
--color-on-surface: oklch(22% 0.02 30);
|
|
965
|
-
--color-on-surface-variant: oklch(42% 0.02 30);
|
|
966
|
-
--color-base-100: oklch(99% 0.008 50);
|
|
967
|
-
--color-base-200: oklch(92% 0.012 50);
|
|
968
|
-
--color-base-300: oklch(80% 0.01 50);
|
|
969
|
-
--color-base-400: oklch(60% 0.01 50);
|
|
970
|
-
--color-base-500: oklch(48% 0.01 50);
|
|
971
|
-
--color-base-600: oklch(38% 0.008 50);
|
|
972
|
-
--color-base-700: oklch(28% 0.008 50);
|
|
973
|
-
--color-base-800: oklch(20% 0.005 50);
|
|
974
|
-
--color-base-900: oklch(14% 0.003 50);
|
|
975
|
-
--color-base-content: oklch(14% 0.01 30);
|
|
976
|
-
--color-outline: oklch(60% 0.015 40);
|
|
977
|
-
--color-outline-variant: oklch(80% 0.01 40);
|
|
978
|
-
--color-inverse-surface: oklch(22% 0.02 30);
|
|
979
|
-
--color-inverse-on-surface: oklch(95% 0.01 50);
|
|
980
|
-
--color-inverse-primary: oklch(75% 0.14 35);
|
|
981
|
-
--color-shadow: oklch(0% 0 0);
|
|
982
|
-
--color-scrim: oklch(0% 0 0 / 45%);
|
|
983
|
-
--color-info: oklch(50% 0.10 245);
|
|
984
|
-
--color-info-content: oklch(98% 0.01 245);
|
|
985
|
-
--color-info-container: oklch(94% 0.03 245);
|
|
986
|
-
--color-on-info-container: oklch(28% 0.05 245);
|
|
987
|
-
--color-success: oklch(58% 0.14 140);
|
|
988
|
-
--color-success-content: oklch(98% 0.01 140);
|
|
989
|
-
--color-success-container: oklch(93% 0.04 140);
|
|
990
|
-
--color-on-success-container: oklch(26% 0.06 140);
|
|
991
|
-
--color-warning: oklch(65% 0.18 60);
|
|
992
|
-
--color-warning-content: oklch(18% 0.05 60);
|
|
993
|
-
--color-warning-container: oklch(93% 0.05 60);
|
|
994
|
-
--color-on-warning-container: oklch(32% 0.08 60);
|
|
995
|
-
--color-error: oklch(52% 0.20 20);
|
|
996
|
-
--color-error-content: oklch(98% 0.01 20);
|
|
997
|
-
--color-error-container: oklch(93% 0.04 20);
|
|
998
|
-
--color-on-error-container: oklch(28% 0.08 20);
|
|
999
|
-
|
|
1000
|
-
--radius-selector: 0.1875rem;
|
|
1001
|
-
--radius-field: 0.5rem;
|
|
1002
|
-
--radius-box: 1.25rem;
|
|
1003
|
-
--size-selector: 0.1875rem;
|
|
1004
|
-
--size-field: 0.1875rem;
|
|
1005
|
-
--border: 0.75px;
|
|
1006
|
-
--depth: 0.9;
|
|
1007
|
-
--noise: 0.7;
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
974
|
/* GENERATED — DO NOT EDIT */
|
|
1011
975
|
/* Source: tokens/_spacing.yaml */
|
|
1012
976
|
/* Generator: duskmoon-codegen v2.0.0 */
|