@duskmoon-dev/core 1.21.2 → 1.21.3

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 CHANGED
@@ -627,7 +627,7 @@ html {
627
627
  --color-warning-container: oklch(35% 0.06 80);
628
628
  --color-on-warning-container: oklch(90% 0.06 80);
629
629
  --color-error: oklch(46.38% 0.1898 29.17);
630
- --color-error-content: oklch(86.38% 0.298 39.17);
630
+ --color-error-content: oklch(97% 0.01 15);
631
631
  --color-error-container: oklch(30% 0.08 25);
632
632
  --color-on-error-container: oklch(88% 0.06 25);
633
633
 
@@ -794,7 +794,7 @@ html {
794
794
  --color-warning-container: oklch(35% 0.06 80);
795
795
  --color-on-warning-container: oklch(90% 0.06 80);
796
796
  --color-error: oklch(46.38% 0.1898 29.17);
797
- --color-error-content: oklch(86.38% 0.298 39.17);
797
+ --color-error-content: oklch(97% 0.01 15);
798
798
  --color-error-container: oklch(30% 0.08 25);
799
799
  --color-on-error-container: oklch(88% 0.06 25);
800
800
 
@@ -2916,7 +2916,7 @@ html {
2916
2916
  appearance: none;
2917
2917
  background-color: transparent;
2918
2918
  border: 2px solid var(--radio-border-color);
2919
- border-radius: var(--radius-full);
2919
+ border-radius: var(--radius-full, 9999px);
2920
2920
  transition: border-color 150ms ease-in-out;
2921
2921
  }
2922
2922
 
@@ -2925,7 +2925,7 @@ html {
2925
2925
  content: "";
2926
2926
  width: 0.5em;
2927
2927
  height: 0.5em;
2928
- border-radius: var(--radius-full);
2928
+ border-radius: var(--radius-full, 9999px);
2929
2929
  background-color: var(--radio-color);
2930
2930
  transform: scale(0);
2931
2931
  transition: transform 150ms ease-in-out;
@@ -20397,7 +20397,7 @@ html {
20397
20397
  padding: 0.5rem;
20398
20398
  gap: 0.125rem;
20399
20399
  font-size: 0.875rem;
20400
- color: var(--color-on-surface);
20400
+ color: var(--nested-menu-fg, var(--color-on-surface));
20401
20401
  }
20402
20402
 
20403
20403
  /* ============================================
@@ -20410,7 +20410,7 @@ html {
20410
20410
  font-weight: 600;
20411
20411
  text-transform: uppercase;
20412
20412
  letter-spacing: 0.05em;
20413
- color: var(--color-on-surface-variant);
20413
+ color: var(--nested-menu-muted, var(--color-on-surface-variant));
20414
20414
  user-select: none;
20415
20415
  }
20416
20416
 
@@ -20426,7 +20426,7 @@ html {
20426
20426
  width: 100%;
20427
20427
  padding: 0.5rem 0.75rem;
20428
20428
  font-size: inherit;
20429
- color: var(--color-on-surface);
20429
+ color: var(--nested-menu-fg, var(--color-on-surface));
20430
20430
  text-decoration: none;
20431
20431
  background-color: transparent;
20432
20432
  border: none;
@@ -20437,7 +20437,7 @@ html {
20437
20437
 
20438
20438
  .nested-menu li > a:hover,
20439
20439
  .nested-menu li > button:hover {
20440
- background-color: var(--color-surface-container);
20440
+ background-color: var(--nested-menu-hover, var(--color-surface-container));
20441
20441
  }
20442
20442
 
20443
20443
  .nested-menu li > a:focus-visible,
@@ -20451,15 +20451,15 @@ html {
20451
20451
  .nested-menu li > button.active,
20452
20452
  .nested-menu li > a[aria-current="page"],
20453
20453
  .nested-menu li > button[aria-current="page"] {
20454
- background-color: var(--color-primary-container);
20455
- color: var(--color-on-primary-container);
20454
+ background-color: var(--nested-menu-active-bg, var(--color-primary-container));
20455
+ color: var(--nested-menu-active-fg, var(--color-on-primary-container));
20456
20456
  }
20457
20457
 
20458
20458
  .nested-menu li > a.active:hover,
20459
20459
  .nested-menu li > button.active:hover,
20460
20460
  .nested-menu li > a[aria-current="page"]:hover,
20461
20461
  .nested-menu li > button[aria-current="page"]:hover {
20462
- background-color: color-mix(in oklch, var(--color-primary-container), var(--color-on-primary-container) 8%);
20462
+ background-color: color-mix(in oklch, var(--nested-menu-active-bg, var(--color-primary-container)), var(--nested-menu-active-fg, var(--color-on-primary-container)) 8%);
20463
20463
  }
20464
20464
 
20465
20465
  /* Disabled state */
@@ -20472,7 +20472,7 @@ html {
20472
20472
  .nested-menu li.disabled > button,
20473
20473
  .nested-menu li > button:disabled,
20474
20474
  .nested-menu li > a[aria-disabled="true"] {
20475
- color: var(--color-on-surface-variant);
20475
+ color: var(--nested-menu-muted, var(--color-on-surface-variant));
20476
20476
  opacity: 0.5;
20477
20477
  cursor: not-allowed;
20478
20478
  }
@@ -20493,7 +20493,7 @@ html {
20493
20493
  width: 100%;
20494
20494
  padding: 0.5rem 0.75rem;
20495
20495
  font-size: inherit;
20496
- color: var(--color-on-surface);
20496
+ color: var(--nested-menu-fg, var(--color-on-surface));
20497
20497
  background-color: transparent;
20498
20498
  border: none;
20499
20499
  border-radius: var(--radius-field, 0.375rem);
@@ -20512,7 +20512,7 @@ html {
20512
20512
  }
20513
20513
 
20514
20514
  .nested-menu summary:hover {
20515
- background-color: var(--color-surface-container);
20515
+ background-color: var(--nested-menu-hover, var(--color-surface-container));
20516
20516
  }
20517
20517
 
20518
20518
  .nested-menu summary:focus-visible {
@@ -20621,12 +20621,83 @@ html {
20621
20621
 
20622
20622
  /* Bordered — sidebar panel look */
20623
20623
  .nested-menu-bordered {
20624
- background-color: var(--color-surface);
20624
+ background-color: var(--nested-menu-bg, var(--color-surface));
20625
20625
  border: 1px solid var(--color-outline-variant);
20626
20626
  border-radius: var(--radius-card, 0.75rem);
20627
20627
  box-shadow: var(--shadow-sm);
20628
20628
  }
20629
20629
 
20630
+ /* Filled color variants for sidebar navigation. */
20631
+ .nested-menu-primary {
20632
+ --nested-menu-bg: var(--color-primary);
20633
+ --nested-menu-fg: var(--color-primary-content);
20634
+ --nested-menu-muted: var(--color-primary-content);
20635
+ --nested-menu-hover: color-mix(in oklch, var(--color-primary-content) 8%, var(--color-primary));
20636
+ --nested-menu-active-bg: var(--color-primary-content);
20637
+ --nested-menu-active-fg: var(--color-primary);
20638
+ background-color: var(--nested-menu-bg);
20639
+ }
20640
+
20641
+ .nested-menu-secondary {
20642
+ --nested-menu-bg: var(--color-secondary);
20643
+ --nested-menu-fg: var(--color-secondary-content);
20644
+ --nested-menu-muted: var(--color-secondary-content);
20645
+ --nested-menu-hover: color-mix(in oklch, var(--color-secondary-content) 8%, var(--color-secondary));
20646
+ --nested-menu-active-bg: var(--color-secondary-content);
20647
+ --nested-menu-active-fg: var(--color-secondary);
20648
+ background-color: var(--nested-menu-bg);
20649
+ }
20650
+
20651
+ .nested-menu-tertiary {
20652
+ --nested-menu-bg: var(--color-tertiary);
20653
+ --nested-menu-fg: var(--color-tertiary-content);
20654
+ --nested-menu-muted: var(--color-tertiary-content);
20655
+ --nested-menu-hover: color-mix(in oklch, var(--color-tertiary-content) 8%, var(--color-tertiary));
20656
+ --nested-menu-active-bg: var(--color-tertiary-content);
20657
+ --nested-menu-active-fg: var(--color-tertiary);
20658
+ background-color: var(--nested-menu-bg);
20659
+ }
20660
+
20661
+ .nested-menu-info {
20662
+ --nested-menu-bg: var(--color-info);
20663
+ --nested-menu-fg: var(--color-info-content);
20664
+ --nested-menu-muted: var(--color-info-content);
20665
+ --nested-menu-hover: color-mix(in oklch, var(--color-info-content) 8%, var(--color-info));
20666
+ --nested-menu-active-bg: var(--color-info-content);
20667
+ --nested-menu-active-fg: var(--color-info);
20668
+ background-color: var(--nested-menu-bg);
20669
+ }
20670
+
20671
+ .nested-menu-success {
20672
+ --nested-menu-bg: var(--color-success);
20673
+ --nested-menu-fg: var(--color-success-content);
20674
+ --nested-menu-muted: var(--color-success-content);
20675
+ --nested-menu-hover: color-mix(in oklch, var(--color-success-content) 8%, var(--color-success));
20676
+ --nested-menu-active-bg: var(--color-success-content);
20677
+ --nested-menu-active-fg: var(--color-success);
20678
+ background-color: var(--nested-menu-bg);
20679
+ }
20680
+
20681
+ .nested-menu-warning {
20682
+ --nested-menu-bg: var(--color-warning);
20683
+ --nested-menu-fg: var(--color-warning-content);
20684
+ --nested-menu-muted: var(--color-warning-content);
20685
+ --nested-menu-hover: color-mix(in oklch, var(--color-warning-content) 8%, var(--color-warning));
20686
+ --nested-menu-active-bg: var(--color-warning-content);
20687
+ --nested-menu-active-fg: var(--color-warning);
20688
+ background-color: var(--nested-menu-bg);
20689
+ }
20690
+
20691
+ .nested-menu-error {
20692
+ --nested-menu-bg: var(--color-error);
20693
+ --nested-menu-fg: var(--color-error-content);
20694
+ --nested-menu-muted: var(--color-error-content);
20695
+ --nested-menu-hover: color-mix(in oklch, var(--color-error-content) 8%, var(--color-error));
20696
+ --nested-menu-active-bg: var(--color-error-content);
20697
+ --nested-menu-active-fg: var(--color-error);
20698
+ background-color: var(--nested-menu-bg);
20699
+ }
20700
+
20630
20701
  /* Compact — tighter padding throughout */
20631
20702
  .nested-menu-compact {
20632
20703
  padding: 0.25rem;