@duskmoon-dev/core 1.18.0 → 1.18.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.
@@ -149,7 +149,7 @@ export const css = `/**
149
149
  /* Disabled State */
150
150
  .list-item:disabled,
151
151
  .list-item-disabled {
152
- opacity: 0.5;
152
+ opacity: 0.7;
153
153
  pointer-events: none;
154
154
  cursor: not-allowed;
155
155
  }
@@ -44,7 +44,6 @@ export const css = `/**
44
44
  .multi-select-placeholder {
45
45
  flex: 1;
46
46
  color: var(--color-on-surface-variant);
47
- opacity: 0.7;
48
47
  }
49
48
 
50
49
  /* Selected Tags Container */
@@ -66,6 +66,10 @@ export const css = `/**
66
66
  color: var(--color-error-content);
67
67
  }
68
68
 
69
+ .navbar a {
70
+ color: inherit;
71
+ }
72
+
69
73
  .navbar-start {
70
74
  display: flex;
71
75
  align-items: center;
@@ -418,7 +422,7 @@ export const css = `/**
418
422
 
419
423
  /* Disabled Breadcrumb Item */
420
424
  .breadcrumb-item-disabled {
421
- opacity: 0.38;
425
+ opacity: 1;
422
426
  pointer-events: none;
423
427
  cursor: not-allowed;
424
428
  }
@@ -84,10 +84,15 @@ export const css = `/**
84
84
 
85
85
  /* Disabled state */
86
86
  .nested-menu li.disabled {
87
- opacity: 0.5;
87
+ opacity: 1 !important;
88
88
  pointer-events: none;
89
89
  }
90
90
 
91
+ .nested-menu li.disabled > a,
92
+ .nested-menu li.disabled > button {
93
+ color: var(--color-on-surface-variant);
94
+ }
95
+
91
96
  /* ============================================
92
97
  * COLLAPSIBLE SUBMENUS (<details>/<summary>)
93
98
  * ============================================ */
@@ -96,7 +96,7 @@ export const css = `/**
96
96
  }
97
97
 
98
98
  .stepper-step-disabled .stepper-step-icon {
99
- opacity: 0.6;
99
+ opacity: 0.7;
100
100
  cursor: not-allowed;
101
101
  }
102
102
 
@@ -296,7 +296,7 @@ export const css = `/**
296
296
  /* Disabled State */
297
297
  .stepper-step-disabled .stepper-step-button {
298
298
  cursor: not-allowed;
299
- opacity: 0.6;
299
+ opacity: 0.7;
300
300
  }
301
301
 
302
302
  /* Icon Stepper */
@@ -35,8 +35,8 @@ export const css = `/**
35
35
  border: 2px solid var(--switch-border-color);
36
36
  border-radius: var(--switch-height);
37
37
  /* Use !important to override global * { transition } rules from layers */
38
- transition: background-color 200ms ease-in-out !important,
39
- border-color 200ms ease-in-out !important,
38
+ transition: background-color 200ms ease-in-out,
39
+ border-color 200ms ease-in-out,
40
40
  grid-template-columns 200ms ease-in-out !important;
41
41
  }
42
42
 
@@ -49,8 +49,8 @@ export const css = `/**
49
49
  background-color: var(--switch-thumb-color);
50
50
  border-radius: var(--radius-full);
51
51
  /* Use !important to override global * { transition } rules */
52
- transition: background-color 200ms ease-in-out !important,
53
- width 200ms ease-in-out !important,
52
+ transition: background-color 200ms ease-in-out,
53
+ width 200ms ease-in-out,
54
54
  margin 200ms ease-in-out !important;
55
55
  }
56
56
 
@@ -97,6 +97,7 @@ export const css = `/**
97
97
  border-radius: var(--radius-sm);
98
98
  outline: none;
99
99
  resize: vertical;
100
+ field-sizing: content;
100
101
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
101
102
  }
102
103
 
@@ -254,7 +255,7 @@ export const css = `/**
254
255
  }
255
256
 
256
257
  /* ============================================
257
- * AUTO-RESIZE (requires JS)
258
+ * COMPACT AUTO-RESIZE
258
259
  * ============================================ */
259
260
 
260
261
  .textarea-auto-resize,
@@ -81,6 +81,6 @@ var duskmoonPlugin = plugin(({ matchUtilities, theme }) => {
81
81
  });
82
82
  var tailwind_plugin_default = duskmoonPlugin;
83
83
  export {
84
- duskmoonPlugin,
85
- tailwind_plugin_default as default
84
+ tailwind_plugin_default as default,
85
+ duskmoonPlugin
86
86
  };
package/dist/index.css CHANGED
@@ -485,20 +485,20 @@ html {
485
485
  --theme-family: "duskmoon";
486
486
  --theme-pair: "moonlight";
487
487
  --theme-description: "Warm amber/coral";
488
- --color-primary: oklch(72% 0.17 75);
489
- --color-primary-content: oklch(25% 0.03 95.91);
488
+ --color-primary: oklch(52% 0.17 75);
489
+ --color-primary-content: oklch(100% 0 0);
490
490
  --color-primary-container: oklch(95% 0.035 95.91);
491
491
  --color-on-primary-container: oklch(25% 0.03 95.91);
492
- --color-secondary: oklch(62% 0.19 20);
492
+ --color-secondary: oklch(55% 0.19 20);
493
493
  --color-secondary-content: oklch(100% 0 0);
494
494
  --color-secondary-container: oklch(94% 0.05 87.01);
495
495
  --color-on-secondary-container: oklch(25% 0.05 87.01);
496
- --color-tertiary: oklch(80% 0.085 235);
497
- --color-tertiary-content: oklch(18% 0.010 235);
496
+ --color-tertiary: oklch(52% 0.085 235);
497
+ --color-tertiary-content: oklch(100% 0 0);
498
498
  --color-tertiary-container: oklch(95% 0.035 235);
499
499
  --color-on-tertiary-container: oklch(22% 0.012 235);
500
- --color-accent: oklch(85.23% 0.14 327);
501
- --color-accent-content: oklch(41% 0.112 45.904);
500
+ --color-accent: oklch(52% 0.14 327);
501
+ --color-accent-content: oklch(100% 0 0);
502
502
  --color-neutral: oklch(0% 0 0);
503
503
  --color-neutral-content: oklch(80% 0.015 50);
504
504
  --color-neutral-variant: oklch(50% 0.02 260);
@@ -534,16 +534,16 @@ html {
534
534
  --color-info-content: oklch(91.94% 0.114 254.39);
535
535
  --color-info-container: oklch(95% 0.03 235);
536
536
  --color-on-info-container: oklch(35% 0.08 235);
537
- --color-success: oklch(67.21% 0.19 133.55);
538
- --color-success-content: oklch(27.21% 0.19 133.55);
537
+ --color-success: oklch(50% 0.19 133.55);
538
+ --color-success-content: oklch(100% 0 0);
539
539
  --color-success-container: oklch(93% 0.04 150);
540
540
  --color-on-success-container: oklch(30% 0.08 150);
541
- --color-warning: oklch(68.19% 0.203 42.44);
542
- --color-warning-content: oklch(18.19% 0.3 42);
541
+ --color-warning: oklch(52% 0.203 42.44);
542
+ --color-warning-content: oklch(100% 0 0);
543
543
  --color-warning-container: oklch(93% 0.05 80);
544
544
  --color-on-warning-container: oklch(38% 0.10 80);
545
- --color-error: oklch(61.17% 0.237 28.15);
546
- --color-error-content: oklch(90.01% 0.153 84.78);
545
+ --color-error: oklch(52% 0.237 28.15);
546
+ --color-error-content: oklch(100% 0 0);
547
547
  --color-error-container: oklch(93% 0.04 25);
548
548
  --color-on-error-container: oklch(32% 0.10 25);
549
549
 
@@ -650,20 +650,20 @@ html {
650
650
  --theme-family: "duskmoon";
651
651
  --theme-pair: "moonlight";
652
652
  --theme-description: "Warm amber/coral";
653
- --color-primary: oklch(72% 0.17 75);
654
- --color-primary-content: oklch(25% 0.03 95.91);
653
+ --color-primary: oklch(52% 0.17 75);
654
+ --color-primary-content: oklch(100% 0 0);
655
655
  --color-primary-container: oklch(95% 0.035 95.91);
656
656
  --color-on-primary-container: oklch(25% 0.03 95.91);
657
- --color-secondary: oklch(62% 0.19 20);
657
+ --color-secondary: oklch(55% 0.19 20);
658
658
  --color-secondary-content: oklch(100% 0 0);
659
659
  --color-secondary-container: oklch(94% 0.05 87.01);
660
660
  --color-on-secondary-container: oklch(25% 0.05 87.01);
661
- --color-tertiary: oklch(80% 0.085 235);
662
- --color-tertiary-content: oklch(18% 0.010 235);
661
+ --color-tertiary: oklch(52% 0.085 235);
662
+ --color-tertiary-content: oklch(100% 0 0);
663
663
  --color-tertiary-container: oklch(95% 0.035 235);
664
664
  --color-on-tertiary-container: oklch(22% 0.012 235);
665
- --color-accent: oklch(85.23% 0.14 327);
666
- --color-accent-content: oklch(41% 0.112 45.904);
665
+ --color-accent: oklch(52% 0.14 327);
666
+ --color-accent-content: oklch(100% 0 0);
667
667
  --color-neutral: oklch(0% 0 0);
668
668
  --color-neutral-content: oklch(80% 0.015 50);
669
669
  --color-neutral-variant: oklch(50% 0.02 260);
@@ -699,16 +699,16 @@ html {
699
699
  --color-info-content: oklch(91.94% 0.114 254.39);
700
700
  --color-info-container: oklch(95% 0.03 235);
701
701
  --color-on-info-container: oklch(35% 0.08 235);
702
- --color-success: oklch(67.21% 0.19 133.55);
703
- --color-success-content: oklch(27.21% 0.19 133.55);
702
+ --color-success: oklch(50% 0.19 133.55);
703
+ --color-success-content: oklch(100% 0 0);
704
704
  --color-success-container: oklch(93% 0.04 150);
705
705
  --color-on-success-container: oklch(30% 0.08 150);
706
- --color-warning: oklch(68.19% 0.203 42.44);
707
- --color-warning-content: oklch(18.19% 0.6 42);
706
+ --color-warning: oklch(52% 0.203 42.44);
707
+ --color-warning-content: oklch(100% 0 0);
708
708
  --color-warning-container: oklch(93% 0.05 80);
709
709
  --color-on-warning-container: oklch(38% 0.10 80);
710
- --color-error: oklch(61.17% 0.237 28.15);
711
- --color-error-content: oklch(90.01% 0.153 84.78);
710
+ --color-error: oklch(52% 0.237 28.15);
711
+ --color-error-content: oklch(100% 0 0);
712
712
  --color-error-container: oklch(93% 0.04 25);
713
713
  --color-on-error-container: oklch(32% 0.10 25);
714
714
 
@@ -2656,6 +2656,7 @@ html {
2656
2656
  border: 1px solid currentColor;
2657
2657
  border-radius: var(--radius-sm);
2658
2658
  resize: vertical;
2659
+ field-sizing: content;
2659
2660
  transition: border-color 150ms ease-in-out;
2660
2661
  }
2661
2662
 
@@ -2915,6 +2916,10 @@ html {
2915
2916
  color: var(--color-error-content);
2916
2917
  }
2917
2918
 
2919
+ .navbar a {
2920
+ color: inherit;
2921
+ }
2922
+
2918
2923
  .navbar-start {
2919
2924
  display: flex;
2920
2925
  align-items: center;
@@ -3267,7 +3272,7 @@ html {
3267
3272
 
3268
3273
  /* Disabled Breadcrumb Item */
3269
3274
  .breadcrumb-item-disabled {
3270
- opacity: 0.38;
3275
+ opacity: 1;
3271
3276
  pointer-events: none;
3272
3277
  cursor: not-allowed;
3273
3278
  }
@@ -4810,28 +4815,22 @@ html {
4810
4815
  }
4811
4816
 
4812
4817
  .chat-start .chat-bubble::before,
4813
- .chat-end .chat-bubble::before,
4814
- .chat-start .chat-bubble::after,
4815
- .chat-end .chat-bubble::after {
4818
+ .chat-end .chat-bubble::before {
4816
4819
  content: "";
4817
4820
  position: absolute;
4818
4821
  top: 0;
4822
+ width: calc(1rem - 2px);
4823
+ height: calc(1rem - 2px);
4824
+ background-color: var(--chat-bubble-bg);
4819
4825
  clip-path: polygon(0 0, 100% 0, 100% 100%);
4826
+ filter:
4827
+ drop-shadow(-1px 0 0 var(--color-outline-variant))
4828
+ drop-shadow(0 -1px 0 var(--color-outline-variant));
4829
+ pointer-events: none;
4820
4830
  }
4821
4831
 
4822
4832
  .chat-start .chat-bubble::before {
4823
- left: -0.625rem;
4824
- width: 1rem;
4825
- height: 1rem;
4826
- background-color: var(--color-outline-variant);
4827
- }
4828
-
4829
- .chat-start .chat-bubble::after {
4830
4833
  left: -0.5rem;
4831
- width: calc(1rem - 2px);
4832
- height: calc(1rem - 2px);
4833
- top: 1px;
4834
- background-color: var(--chat-bubble-bg);
4835
4834
  }
4836
4835
 
4837
4836
  .chat-start .chat-bubble {
@@ -4839,19 +4838,7 @@ html {
4839
4838
  }
4840
4839
 
4841
4840
  .chat-end .chat-bubble::before {
4842
- right: -0.625rem;
4843
- width: 1rem;
4844
- height: 1rem;
4845
- background-color: var(--color-outline-variant);
4846
- transform: scaleX(-1);
4847
- }
4848
-
4849
- .chat-end .chat-bubble::after {
4850
4841
  right: -0.5rem;
4851
- width: calc(1rem - 2px);
4852
- height: calc(1rem - 2px);
4853
- top: 1px;
4854
- background-color: var(--chat-bubble-bg);
4855
4842
  transform: scaleX(-1);
4856
4843
  }
4857
4844
 
@@ -5130,15 +5117,23 @@ html {
5130
5117
  .chat-bubble-streaming::after,
5131
5118
  .chat-bubble-content.chat-bubble-streaming::after {
5132
5119
  content: "";
5120
+ position: static;
5121
+ inset: auto;
5133
5122
  display: inline-block;
5134
5123
  width: 1px;
5135
5124
  height: 1em;
5136
5125
  margin-left: 0.25rem;
5137
5126
  background-color: currentColor;
5127
+ clip-path: none;
5128
+ transform: none;
5138
5129
  vertical-align: -0.125em;
5139
5130
  animation: chat-stream-caret 1s step-end infinite;
5140
5131
  }
5141
5132
 
5133
+ .chat-bubble.chat-bubble-streaming:not(:has(.chat-reasoning, .chat-tool, .chat-bubble-content)) {
5134
+ display: block;
5135
+ }
5136
+
5142
5137
  .chat-bubble.chat-bubble-streaming:has(.chat-reasoning, .chat-tool, .chat-bubble-content)::after {
5143
5138
  content: none;
5144
5139
  }
@@ -5595,7 +5590,7 @@ html {
5595
5590
  /* Disabled State */
5596
5591
  .chip:disabled,
5597
5592
  .chip-disabled {
5598
- opacity: 0.5;
5593
+ opacity: 0.7;
5599
5594
  pointer-events: none;
5600
5595
  cursor: not-allowed;
5601
5596
  }
@@ -5766,7 +5761,7 @@ html {
5766
5761
  /* Disabled State */
5767
5762
  .list-item:disabled,
5768
5763
  .list-item-disabled {
5769
- opacity: 0.5;
5764
+ opacity: 0.7;
5770
5765
  pointer-events: none;
5771
5766
  cursor: not-allowed;
5772
5767
  }
@@ -7369,7 +7364,7 @@ html {
7369
7364
 
7370
7365
  .datepicker-day-other-month {
7371
7366
  color: var(--color-on-surface-variant);
7372
- opacity: 0.5;
7367
+ opacity: 0.9;
7373
7368
  }
7374
7369
 
7375
7370
  .datepicker-day-today {
@@ -7451,7 +7446,7 @@ html {
7451
7446
 
7452
7447
  .datepicker-day-disabled {
7453
7448
  color: var(--color-on-surface-variant);
7454
- opacity: 0.4;
7449
+ opacity: 0.9;
7455
7450
  cursor: not-allowed;
7456
7451
  pointer-events: none;
7457
7452
  }
@@ -8928,7 +8923,6 @@ html {
8928
8923
  .multi-select-placeholder {
8929
8924
  flex: 1;
8930
8925
  color: var(--color-on-surface-variant);
8931
- opacity: 0.7;
8932
8926
  }
8933
8927
 
8934
8928
  /* Selected Tags Container */
@@ -11404,8 +11398,8 @@ html {
11404
11398
  border: 2px solid var(--switch-border-color);
11405
11399
  border-radius: var(--switch-height);
11406
11400
  /* Use !important to override global * { transition } rules from layers */
11407
- transition: background-color 200ms ease-in-out !important,
11408
- border-color 200ms ease-in-out !important,
11401
+ transition: background-color 200ms ease-in-out,
11402
+ border-color 200ms ease-in-out,
11409
11403
  grid-template-columns 200ms ease-in-out !important;
11410
11404
  }
11411
11405
 
@@ -11418,8 +11412,8 @@ html {
11418
11412
  background-color: var(--switch-thumb-color);
11419
11413
  border-radius: var(--radius-full);
11420
11414
  /* Use !important to override global * { transition } rules */
11421
- transition: background-color 200ms ease-in-out !important,
11422
- width 200ms ease-in-out !important,
11415
+ transition: background-color 200ms ease-in-out,
11416
+ width 200ms ease-in-out,
11423
11417
  margin 200ms ease-in-out !important;
11424
11418
  }
11425
11419
 
@@ -11742,6 +11736,7 @@ html {
11742
11736
  border-radius: var(--radius-sm);
11743
11737
  outline: none;
11744
11738
  resize: vertical;
11739
+ field-sizing: content;
11745
11740
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
11746
11741
  }
11747
11742
 
@@ -11899,7 +11894,7 @@ html {
11899
11894
  }
11900
11895
 
11901
11896
  /* ============================================
11902
- * AUTO-RESIZE (requires JS)
11897
+ * COMPACT AUTO-RESIZE
11903
11898
  * ============================================ */
11904
11899
 
11905
11900
  .textarea-auto-resize,
@@ -13790,6 +13785,14 @@ html {
13790
13785
  margin-top: 0.5rem;
13791
13786
  }
13792
13787
 
13788
+ .alert-filled .alert-actions .btn-text {
13789
+ color: inherit;
13790
+ }
13791
+
13792
+ .alert-filled .alert-actions .btn-text:hover {
13793
+ background-color: color-mix(in oklch, currentColor 12%, transparent);
13794
+ }
13795
+
13793
13796
  /* Banner Style (full width) */
13794
13797
  .alert-banner {
13795
13798
  border-radius: 0;
@@ -17498,10 +17501,15 @@ html {
17498
17501
 
17499
17502
  /* Disabled state */
17500
17503
  .nested-menu li.disabled {
17501
- opacity: 0.5;
17504
+ opacity: 1 !important;
17502
17505
  pointer-events: none;
17503
17506
  }
17504
17507
 
17508
+ .nested-menu li.disabled > a,
17509
+ .nested-menu li.disabled > button {
17510
+ color: var(--color-on-surface-variant);
17511
+ }
17512
+
17505
17513
  /* ============================================
17506
17514
  * COLLAPSIBLE SUBMENUS (<details>/<summary>)
17507
17515
  * ============================================ */
@@ -17772,7 +17780,7 @@ html {
17772
17780
  }
17773
17781
 
17774
17782
  .stepper-step-disabled .stepper-step-icon {
17775
- opacity: 0.6;
17783
+ opacity: 0.7;
17776
17784
  cursor: not-allowed;
17777
17785
  }
17778
17786
 
@@ -17972,7 +17980,7 @@ html {
17972
17980
  /* Disabled State */
17973
17981
  .stepper-step-disabled .stepper-step-button {
17974
17982
  cursor: not-allowed;
17975
- opacity: 0.6;
17983
+ opacity: 0.7;
17976
17984
  }
17977
17985
 
17978
17986
  /* Icon Stepper */
@@ -18895,7 +18903,7 @@ html {
18895
18903
 
18896
18904
  /* Disabled State */
18897
18905
  .collapse-disabled {
18898
- opacity: 0.5;
18906
+ opacity: 0.7;
18899
18907
  pointer-events: none;
18900
18908
  }
18901
18909