@nanahoshi/mona-ui 0.27.2 → 0.29.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.
Files changed (213) hide show
  1. package/docs/api/chart.md +2 -2
  2. package/docs/api/locales.md +8 -0
  3. package/docs/api/popup.md +1 -1
  4. package/docs/api/theme.md +2 -2
  5. package/docs/chart.md +14 -0
  6. package/docs/editor.md +2 -0
  7. package/docs/installation.md +147 -15
  8. package/docs/introduction.md +37 -15
  9. package/docs/theming-built-in-themes.md +67 -0
  10. package/docs/theming-custom-colors.md +274 -0
  11. package/docs/theming-custom-themes.md +168 -0
  12. package/docs/theming.md +164 -248
  13. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +1089 -603
  14. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +369 -184
  15. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +658 -371
  16. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +513 -359
  17. package/fesm2022/nanahoshi-mona-ui-button.mjs +622 -517
  18. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +2071 -1573
  19. package/fesm2022/nanahoshi-mona-ui-card.mjs +620 -316
  20. package/fesm2022/nanahoshi-mona-ui-chart.mjs +61151 -64921
  21. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +646 -317
  22. package/fesm2022/nanahoshi-mona-ui-chip.mjs +737 -516
  23. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +441 -242
  24. package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +443 -390
  25. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +1138 -814
  26. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +1114 -959
  27. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +858 -504
  28. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +1181 -742
  29. package/fesm2022/nanahoshi-mona-ui-command.mjs +1454 -853
  30. package/fesm2022/nanahoshi-mona-ui-common.mjs +569 -743
  31. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +978 -532
  32. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +283 -266
  33. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +973 -451
  34. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +1203 -658
  35. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +1415 -936
  36. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +1165 -568
  37. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +1142 -677
  38. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +1018 -734
  39. package/fesm2022/nanahoshi-mona-ui-editor.mjs +3589 -2122
  40. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +577 -359
  41. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +311 -151
  42. package/fesm2022/nanahoshi-mona-ui-filter.mjs +1086 -718
  43. package/fesm2022/nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs +77 -0
  44. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs +480 -0
  45. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-WbXAzGCa.mjs +470 -0
  46. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-DkWTD3pN.mjs +2115 -0
  47. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DAHqTwBJ.mjs +330 -0
  48. package/fesm2022/nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs +3766 -0
  49. package/fesm2022/nanahoshi-mona-ui-grid.mjs +5418 -2
  50. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +1379 -1079
  51. package/fesm2022/nanahoshi-mona-ui-i18n.mjs +4451 -5077
  52. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +344 -143
  53. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +257 -127
  54. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +2080 -1829
  55. package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +103 -141
  56. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +2498 -2706
  57. package/fesm2022/nanahoshi-mona-ui-internal.mjs +722 -1007
  58. package/fesm2022/nanahoshi-mona-ui-label.mjs +313 -202
  59. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +1308 -1009
  60. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +1411 -677
  61. package/fesm2022/nanahoshi-mona-ui-list.mjs +1 -6
  62. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +556 -577
  63. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +530 -573
  64. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +530 -573
  65. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +533 -576
  66. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +520 -555
  67. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +530 -571
  68. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +520 -555
  69. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +520 -555
  70. package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +599 -0
  71. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +530 -571
  72. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +576 -591
  73. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +530 -565
  74. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +520 -555
  75. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +520 -555
  76. package/fesm2022/nanahoshi-mona-ui-locales.mjs +61 -77
  77. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +1411 -829
  78. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +1326 -702
  79. package/fesm2022/nanahoshi-mona-ui-notification.mjs +763 -675
  80. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +1306 -826
  81. package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +1122 -897
  82. package/fesm2022/nanahoshi-mona-ui-pager.mjs +1110 -651
  83. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +95 -53
  84. package/fesm2022/nanahoshi-mona-ui-popover.mjs +559 -397
  85. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +2323 -1694
  86. package/fesm2022/nanahoshi-mona-ui-popup.mjs +1657 -1455
  87. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +441 -267
  88. package/fesm2022/nanahoshi-mona-ui-query.mjs +211 -340
  89. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +1017 -548
  90. package/fesm2022/nanahoshi-mona-ui-rating.mjs +874 -624
  91. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +1130 -917
  92. package/fesm2022/nanahoshi-mona-ui-segmented.mjs +705 -455
  93. package/fesm2022/nanahoshi-mona-ui-sheet.mjs +461 -283
  94. package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +2791 -2449
  95. package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +145 -90
  96. package/fesm2022/nanahoshi-mona-ui-slider.mjs +1563 -1103
  97. package/fesm2022/nanahoshi-mona-ui-spinner.mjs +738 -673
  98. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +1287 -647
  99. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +1313 -909
  100. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +761 -540
  101. package/fesm2022/nanahoshi-mona-ui-switch.mjs +611 -280
  102. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +1393 -841
  103. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +142 -73
  104. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +876 -374
  105. package/fesm2022/nanahoshi-mona-ui-theme.mjs +1465 -1449
  106. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +897 -443
  107. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +1100 -703
  108. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +789 -538
  109. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +1361 -805
  110. package/fesm2022/nanahoshi-mona-ui-window.mjs +2145 -1531
  111. package/fesm2022/nanahoshi-mona-ui.mjs +1 -8
  112. package/llms.txt +7 -3
  113. package/locales/pl-pl/package.json +4 -0
  114. package/locales/pl-pl/pl-pl.messages.json +536 -0
  115. package/package.json +66 -23
  116. package/types/nanahoshi-mona-ui-auto-complete.d.ts +367 -233
  117. package/types/nanahoshi-mona-ui-avatar.d.ts +722 -649
  118. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +134 -103
  119. package/types/nanahoshi-mona-ui-button-group.d.ts +213 -152
  120. package/types/nanahoshi-mona-ui-button.d.ts +227 -166
  121. package/types/nanahoshi-mona-ui-calendar.d.ts +324 -259
  122. package/types/nanahoshi-mona-ui-card.d.ts +125 -111
  123. package/types/nanahoshi-mona-ui-chart.d.ts +10483 -7326
  124. package/types/nanahoshi-mona-ui-check-box.d.ts +293 -180
  125. package/types/nanahoshi-mona-ui-chip.d.ts +208 -141
  126. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +194 -133
  127. package/types/nanahoshi-mona-ui-collapsible.d.ts +103 -87
  128. package/types/nanahoshi-mona-ui-color-gradient.d.ts +281 -213
  129. package/types/nanahoshi-mona-ui-color-palette.d.ts +201 -138
  130. package/types/nanahoshi-mona-ui-color-picker.d.ts +283 -194
  131. package/types/nanahoshi-mona-ui-combo-box.d.ts +401 -262
  132. package/types/nanahoshi-mona-ui-command.d.ts +279 -191
  133. package/types/nanahoshi-mona-ui-common.d.ts +354 -385
  134. package/types/nanahoshi-mona-ui-contextmenu.d.ts +142 -117
  135. package/types/nanahoshi-mona-ui-date-input.d.ts +79 -96
  136. package/types/nanahoshi-mona-ui-date-picker.d.ts +338 -208
  137. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +413 -259
  138. package/types/nanahoshi-mona-ui-dialog.d.ts +470 -381
  139. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +216 -168
  140. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +369 -243
  141. package/types/nanahoshi-mona-ui-dropdowns.d.ts +231 -217
  142. package/types/nanahoshi-mona-ui-editor.d.ts +302 -235
  143. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +140 -109
  144. package/types/nanahoshi-mona-ui-fieldset.d.ts +98 -68
  145. package/types/nanahoshi-mona-ui-filter.d.ts +150 -124
  146. package/types/nanahoshi-mona-ui-grid.d.ts +1956 -1678
  147. package/types/nanahoshi-mona-ui-i18n-icu.d.ts +25 -34
  148. package/types/nanahoshi-mona-ui-i18n.d.ts +987 -1052
  149. package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +118 -71
  150. package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +56 -27
  151. package/types/nanahoshi-mona-ui-internal-list.d.ts +474 -408
  152. package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +143 -150
  153. package/types/nanahoshi-mona-ui-internal-tree.d.ts +493 -506
  154. package/types/nanahoshi-mona-ui-internal.d.ts +195 -213
  155. package/types/nanahoshi-mona-ui-label.d.ts +108 -78
  156. package/types/nanahoshi-mona-ui-list-box.d.ts +392 -322
  157. package/types/nanahoshi-mona-ui-list-view.d.ts +423 -282
  158. package/types/nanahoshi-mona-ui-list.d.ts +2 -1
  159. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +540 -542
  160. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +540 -542
  161. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +540 -542
  162. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +540 -542
  163. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +540 -542
  164. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +540 -542
  165. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +540 -542
  166. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +540 -542
  167. package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +540 -0
  168. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +540 -542
  169. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +540 -542
  170. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +540 -542
  171. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +540 -542
  172. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +540 -542
  173. package/types/nanahoshi-mona-ui-locales.d.ts +18 -19
  174. package/types/nanahoshi-mona-ui-menubar.d.ts +210 -181
  175. package/types/nanahoshi-mona-ui-multi-select.d.ts +416 -276
  176. package/types/nanahoshi-mona-ui-notification.d.ts +140 -151
  177. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +407 -270
  178. package/types/nanahoshi-mona-ui-otp-input.d.ts +364 -241
  179. package/types/nanahoshi-mona-ui-pager.d.ts +379 -301
  180. package/types/nanahoshi-mona-ui-placeholder.d.ts +35 -28
  181. package/types/nanahoshi-mona-ui-popover.d.ts +176 -134
  182. package/types/nanahoshi-mona-ui-popup-menu.d.ts +488 -344
  183. package/types/nanahoshi-mona-ui-popup.d.ts +698 -560
  184. package/types/nanahoshi-mona-ui-progress-bar.d.ts +197 -137
  185. package/types/nanahoshi-mona-ui-query.d.ts +82 -88
  186. package/types/nanahoshi-mona-ui-radio-button.d.ts +434 -269
  187. package/types/nanahoshi-mona-ui-rating.d.ts +348 -254
  188. package/types/nanahoshi-mona-ui-scroll-view.d.ts +244 -172
  189. package/types/nanahoshi-mona-ui-segmented.d.ts +250 -175
  190. package/types/nanahoshi-mona-ui-sheet.d.ts +115 -63
  191. package/types/nanahoshi-mona-ui-sidebar.d.ts +653 -493
  192. package/types/nanahoshi-mona-ui-skeleton.d.ts +55 -39
  193. package/types/nanahoshi-mona-ui-slider.d.ts +503 -354
  194. package/types/nanahoshi-mona-ui-spinner.d.ts +125 -112
  195. package/types/nanahoshi-mona-ui-split-button.d.ts +241 -196
  196. package/types/nanahoshi-mona-ui-splitter.d.ts +124 -78
  197. package/types/nanahoshi-mona-ui-stepper.d.ts +206 -181
  198. package/types/nanahoshi-mona-ui-switch.d.ts +197 -131
  199. package/types/nanahoshi-mona-ui-tabs.d.ts +349 -248
  200. package/types/nanahoshi-mona-ui-text-area.d.ts +52 -36
  201. package/types/nanahoshi-mona-ui-text-box.d.ts +349 -218
  202. package/types/nanahoshi-mona-ui-theme.d.ts +415 -408
  203. package/types/nanahoshi-mona-ui-time-picker.d.ts +357 -217
  204. package/types/nanahoshi-mona-ui-time-selector.d.ts +255 -170
  205. package/types/nanahoshi-mona-ui-tooltip.d.ts +222 -144
  206. package/types/nanahoshi-mona-ui-tree-view.d.ts +466 -308
  207. package/types/nanahoshi-mona-ui-window.d.ts +494 -399
  208. package/types/nanahoshi-mona-ui.d.ts +1 -2
  209. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-DjNnVxHE.mjs +0 -181
  210. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-ihQIKeP-.mjs +0 -208
  211. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-BpnybNcs.mjs +0 -1082
  212. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-CYlgfc7c.mjs +0 -186
  213. package/fesm2022/nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-LCzfCYd3.mjs +0 -7568
@@ -1,28 +1,26 @@
1
- import * as i0 from '@angular/core';
2
- import { Signal, EnvironmentProviders, InjectionToken } from '@angular/core';
3
- import * as _nanahoshi_mona_ui_theme from '@nanahoshi/mona-ui/theme';
4
-
5
- type BuiltInThemeName = "anna" | "luna" | "mona";
6
- type ThemeName = string;
7
- type ThemeVariant = "light" | "dark";
1
+ import * as i0 from "@angular/core";
2
+ import { EnvironmentProviders, InjectionToken, Signal } from "@angular/core";
3
+ import "culori/css";
4
+ export type BuiltInThemeName = "anna" | "luna" | "mona";
5
+ export type ThemeName = string;
6
+ export type ThemeVariant = "light" | "dark";
8
7
  /** A variant, or `"system"` to follow the operating system's light or dark setting. */
9
- type ThemeVariantPreference = ThemeVariant | "system";
8
+ export type ThemeVariantPreference = ThemeVariant | "system";
10
9
  /** A registered theme and the variants it has. */
11
- interface ThemeAvailability {
12
- readonly name: ThemeName;
13
- readonly variants: readonly ThemeVariant[];
10
+ export interface ThemeAvailability {
11
+ readonly name: ThemeName;
12
+ readonly variants: readonly ThemeVariant[];
14
13
  }
15
14
  /** What's asked for: a theme and a variant, which can be `"system"`. */
16
- interface ThemePreference {
17
- readonly name: ThemeName;
18
- readonly variant: ThemeVariantPreference;
15
+ export interface ThemePreference {
16
+ readonly name: ThemeName;
17
+ readonly variant: ThemeVariantPreference;
19
18
  }
20
19
  /** What's in effect: a theme and the variant it came to. */
21
- interface ThemeSelection {
22
- readonly name: ThemeName;
23
- readonly variant: ThemeVariant;
20
+ export interface ThemeSelection {
21
+ readonly name: ThemeName;
22
+ readonly variant: ThemeVariant;
24
23
  }
25
-
26
24
  type ThemeColorVariable = `--color-${string}`;
27
25
  type ThemeColors = Readonly<Record<ThemeColorVariable, string>>;
28
26
  type ThemeShadowVariable = `--shadow-${string}`;
@@ -39,55 +37,55 @@ type ThemeShape = Readonly<Record<ThemeShapeVariable, string>>;
39
37
  type ThemeComponentVariable = "--mona-calendar-background" | "--mona-calendar-shadow" | "--mona-list-background" | "--mona-list-disabled-background" | "--mona-list-group-background" | "--mona-list-group-border-width" | "--mona-list-group-font-weight" | "--mona-menubar-background" | "--mona-menubar-shadow" | "--mona-pager-background" | "--mona-slider-handle-border-color";
40
38
  type ThemeComponents = Readonly<Record<ThemeComponentVariable, string>>;
41
39
  interface ThemeProfile {
42
- readonly colors: ThemeColors;
43
- readonly components: ThemeComponents;
44
- readonly custom?: ThemeVariables;
45
- readonly effects: ThemeEffects;
46
- readonly motion: ThemeMotion;
47
- readonly shadows: ThemeShadows;
48
- readonly shape: ThemeShape;
40
+ readonly colors: ThemeColors;
41
+ readonly components: ThemeComponents;
42
+ readonly custom?: ThemeVariables;
43
+ readonly effects: ThemeEffects;
44
+ readonly motion: ThemeMotion;
45
+ readonly shadows: ThemeShadows;
46
+ readonly shape: ThemeShape;
49
47
  }
50
48
  interface ThemeProfileOverrides {
51
- readonly colors?: ThemeColors;
52
- readonly components?: Partial<ThemeComponents>;
53
- readonly custom?: ThemeVariables;
54
- readonly effects?: Partial<ThemeEffects>;
55
- readonly motion?: Partial<ThemeMotion>;
56
- readonly shadows?: ThemeShadows;
57
- readonly shape?: Partial<ThemeShape>;
49
+ readonly colors?: ThemeColors;
50
+ readonly components?: Partial<ThemeComponents>;
51
+ readonly custom?: ThemeVariables;
52
+ readonly effects?: Partial<ThemeEffects>;
53
+ readonly motion?: Partial<ThemeMotion>;
54
+ readonly shadows?: ThemeShadows;
55
+ readonly shape?: Partial<ThemeShape>;
58
56
  }
59
57
  type ThemeFamilyVariants = Readonly<{
60
- readonly dark: ThemeProfile;
61
- readonly light?: ThemeProfile;
58
+ readonly dark: ThemeProfile;
59
+ readonly light?: ThemeProfile;
62
60
  } | {
63
- readonly dark?: ThemeProfile;
64
- readonly light: ThemeProfile;
61
+ readonly dark?: ThemeProfile;
62
+ readonly light: ThemeProfile;
65
63
  }>;
66
64
  interface ThemeFamilyRegistration {
67
- readonly name: ThemeName;
68
- readonly variants: ThemeFamilyVariants;
65
+ readonly name: ThemeName;
66
+ readonly variants: ThemeFamilyVariants;
69
67
  }
70
68
  interface ThemeOverrideRegistration {
71
- readonly common?: ThemeProfileOverrides;
72
- readonly dark?: ThemeProfileOverrides;
73
- readonly light?: ThemeProfileOverrides;
74
- readonly theme: ThemeName;
69
+ readonly common?: ThemeProfileOverrides;
70
+ readonly dark?: ThemeProfileOverrides;
71
+ readonly light?: ThemeProfileOverrides;
72
+ readonly theme: ThemeName;
75
73
  }
76
74
  interface ThemeOptions {
77
- readonly initialTheme: ThemePreference;
78
- /**
79
- * Remembers the theme under this key, in `THEME_STORAGE`, and restores it in place of `initialTheme`. Nothing is
80
- * stored without one. A runtime color palette isn't part of what's remembered.
81
- */
82
- readonly persistKey?: string;
75
+ readonly initialTheme: ThemePreference;
76
+ /**
77
+ * Remembers the theme under this key, in `THEME_STORAGE`, and restores it in place of `initialTheme`. Nothing is
78
+ * stored without one. A runtime color palette isn't part of what's remembered.
79
+ */
80
+ readonly persistKey?: string;
83
81
  }
84
82
  interface ThemeColorPaletteSeeds {
85
- readonly error?: string;
86
- readonly info?: string;
87
- readonly primary: string;
88
- readonly secondary?: string;
89
- readonly success?: string;
90
- readonly warning?: string;
83
+ readonly error?: string;
84
+ readonly info?: string;
85
+ readonly primary: string;
86
+ readonly secondary?: string;
87
+ readonly success?: string;
88
+ readonly warning?: string;
91
89
  }
92
90
  type GeneratedThemeColorPalette = Readonly<Record<ThemeVariant, ThemeColors>>;
93
91
  /**
@@ -95,349 +93,366 @@ type GeneratedThemeColorPalette = Readonly<Record<ThemeVariant, ThemeColors>>;
95
93
  * corresponding page role, so a theme only states what it wants the sidebar to do differently.
96
94
  */
97
95
  interface SidebarColorRoleSeeds {
98
- readonly accent?: string;
99
- readonly accentForeground?: string;
100
- readonly background: string;
101
- readonly border?: string;
102
- readonly foreground?: string;
103
- readonly primary?: string;
104
- readonly primaryForeground?: string;
105
- readonly ring?: string;
96
+ readonly accent?: string;
97
+ readonly accentForeground?: string;
98
+ readonly background: string;
99
+ readonly border?: string;
100
+ readonly foreground?: string;
101
+ readonly primary?: string;
102
+ readonly primaryForeground?: string;
103
+ readonly ring?: string;
106
104
  }
107
105
  interface ThemeColorPaletteRegistration {
108
- readonly seeds: ThemeColorPaletteSeeds;
109
- readonly theme: ThemeName;
106
+ readonly seeds: ThemeColorPaletteSeeds;
107
+ readonly theme: ThemeName;
110
108
  }
111
- declare function flattenThemeProfile(profile: ThemeProfile): ThemeVariables;
112
-
113
- declare class ThemeService {
114
- #private;
115
- /** The consumer-provided seeds for the active runtime color palette, or `null` when provider defaults are active. */
116
- readonly colorPaletteSeeds: Signal<ThemeColorPaletteSeeds | null>;
117
- /** What was asked for, which is where `"system"` shows. `selection` says what that came to. */
118
- readonly preference: Signal<ThemePreference>;
119
- readonly profile: Signal<ThemeProfile>;
120
- /** The theme and variant in effect. It's always `light` or `dark`, whatever was asked for. */
121
- readonly selection: Signal<ThemeSelection>;
122
- readonly themeName: Signal<string>;
123
- readonly themeVariant: Signal<ThemeVariant>;
124
- constructor();
125
- /**
126
- * The registered themes and the variants each one has. A custom `ThemeStrategy` reports them through its
127
- * optional `availableThemes()`, and this is empty for one that doesn't.
128
- */
129
- availableThemes(): readonly ThemeAvailability[];
130
- /** Removes the runtime color palette and restores the registered profile and provider overrides. */
131
- clearColorPalette(): void;
132
- /**
133
- * Applies a runtime-generated semantic color palette after all registered profile overrides.
134
- * The palette remains active across theme and light/dark switches until cleared.
135
- */
136
- setColorPalette(seeds: ThemeColorPaletteSeeds): void;
137
- /** Updates only the runtime primary seed while retaining any other active runtime seeds. */
138
- setPrimaryColor(primary: string): void;
139
- /**
140
- * Switches the theme, and remembers it if a `persistKey` was given. `"system"` follows the operating system's
141
- * setting from then on, and takes the variant a theme has when it only has one.
142
- * @throws if the theme isn't registered, or doesn't have the variant asked for
143
- */
144
- setTheme(preference: ThemePreference): void;
145
- /** Whether `setTheme` would accept this. A saved choice can be checked with it before it's restored. */
146
- supportsVariant(name: ThemeName, variant: ThemeVariant): boolean;
147
- static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
148
- static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
109
+ export declare function flattenThemeProfile(profile: ThemeProfile): ThemeVariables;
110
+ export declare class ThemeService {
111
+ #private;
112
+ /** The consumer-provided seeds for the active runtime color palette, or `null` when provider defaults are active. */
113
+ readonly colorPaletteSeeds: Signal<ThemeColorPaletteSeeds | null>;
114
+ /** What was asked for, which is where `"system"` shows. `selection` says what that came to. */
115
+ readonly preference: Signal<ThemePreference>;
116
+ readonly profile: Signal<ThemeProfile>;
117
+ /** The theme and variant in effect. It's always `light` or `dark`, whatever was asked for. */
118
+ readonly selection: Signal<ThemeSelection>;
119
+ readonly themeName: Signal<string>;
120
+ readonly themeVariant: Signal<ThemeVariant>;
121
+ constructor();
122
+ /**
123
+ * The registered themes and the variants each one has. A custom `ThemeStrategy` reports them through its
124
+ * optional `availableThemes()`, and this is empty for one that doesn't.
125
+ */
126
+ availableThemes(): readonly ThemeAvailability[];
127
+ /** Removes the runtime color palette and restores the registered profile and provider overrides. */
128
+ clearColorPalette(): void;
129
+ /**
130
+ * Applies a runtime-generated semantic color palette after all registered profile overrides.
131
+ * The palette remains active across theme and light/dark switches until cleared.
132
+ */
133
+ setColorPalette(seeds: ThemeColorPaletteSeeds): void;
134
+ /** Updates only the runtime primary seed while retaining any other active runtime seeds. */
135
+ setPrimaryColor(primary: string): void;
136
+ /**
137
+ * Switches the theme, and remembers it if a `persistKey` was given. `"system"` follows the operating system's
138
+ * setting from then on, and takes the variant a theme has when it only has one.
139
+ * @throws if the theme isn't registered, or doesn't have the variant asked for
140
+ */
141
+ setTheme(preference: ThemePreference): void;
142
+ /** Whether `setTheme` would accept this. A saved choice can be checked with it before it's restored. */
143
+ supportsVariant(name: ThemeName, variant: ThemeVariant): boolean;
144
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
145
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
149
146
  }
150
-
151
147
  /**
152
148
  * Where the theme is remembered. Supplied through `THEME_STORAGE`, and only ever consulted when
153
149
  * `provideThemeOptions()` was given a `persistKey`.
154
150
  */
155
- interface ThemeStorage {
156
- /**
157
- * The remembered preference for `key`, or `null` when nothing has been stored under it, including when this
158
- * storage can't answer, such as on the server. A `null` leaves the theme on `initialTheme`.
159
- */
160
- read(key: string): ThemePreference | null;
161
- /** Records the preference for `key`. Failing to store it must not throw. */
162
- write(key: string, preference: ThemePreference): void;
151
+ export interface ThemeStorage {
152
+ /**
153
+ * The remembered preference for `key`, or `null` when nothing has been stored under it, including when this
154
+ * storage can't answer, such as on the server. A `null` leaves the theme on `initialTheme`.
155
+ */
156
+ read(key: string): ThemePreference | null;
157
+ /** Records the preference for `key`. Failing to store it must not throw. */
158
+ write(key: string, preference: ThemePreference): void;
163
159
  }
164
-
165
- declare const annaTheme: Readonly<{
166
- name: string;
167
- variants: {
168
- dark: Readonly<{
169
- colors: Readonly<Record<`--color-${string}`, string>>;
170
- components: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeComponentVariable, string>>;
171
- custom: Readonly<{
172
- "--mona-indicator-color": "var(--color-primary-border)";
173
- "--mona-indicator-foreground": "#161718";
174
- }>;
175
- effects: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeEffectVariable, string>>;
176
- motion: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeMotionVariable, string>>;
177
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
178
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
179
- }>;
180
- };
181
- }>;
182
-
183
- declare const builtInThemes: Readonly<{
184
- anna: Readonly<{
185
- name: string;
186
- variants: {
187
- dark: Readonly<{
188
- colors: Readonly<Record<`--color-${string}`, string>>;
189
- components: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeComponentVariable, string>>;
190
- custom: Readonly<{
191
- "--mona-indicator-color": "var(--color-primary-border)";
192
- "--mona-indicator-foreground": "#161718";
193
- }>;
194
- effects: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeEffectVariable, string>>;
195
- motion: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeMotionVariable, string>>;
196
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
197
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
198
- }>;
199
- };
200
- }>;
201
- luna: Readonly<{
202
- name: string;
203
- variants: {
204
- light: Readonly<{
205
- colors: Readonly<Record<`--color-${string}`, string>>;
206
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
207
- motion: Readonly<{
208
- "--mona-motion-fast": "180ms";
209
- "--mona-motion-standard": "320ms";
210
- }>;
211
- effects: Readonly<{
212
- "--mona-effect-control-background-color": "rgb(243 244 245 / 0.78)";
213
- "--mona-effect-control-fallback-background-color": "#f3f4f5";
214
- "--mona-effect-control-background-image": "none";
215
- "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
216
- "--mona-effect-raised-background-color": "rgb(252 252 252 / 0.76)";
217
- "--mona-effect-raised-fallback-background-color": "#fbfbfb";
218
- "--mona-effect-raised-background-image": "none";
219
- "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
220
- "--mona-effect-overlay-background-color": "rgb(249 249 250 / 0.72)";
221
- "--mona-effect-overlay-fallback-background-color": "#f9f9fa";
222
- "--mona-effect-overlay-background-image": "none";
223
- "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
224
- }>;
225
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
226
- custom: Readonly<{
227
- "--mona-date-popup-calendar-backdrop-filter": "none";
228
- "--mona-date-popup-calendar-background": "transparent";
229
- "--mona-date-popup-calendar-background-image": "none";
230
- "--mona-dropdown-popup-list-background": "transparent";
231
- "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
232
- "--mona-menu-item-hover-background": "rgb(37 37 37 / 0.06)";
233
- "--mona-menu-item-hover-foreground": "var(--color-foreground)";
234
- "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
235
- "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
236
- }>;
237
- components: Readonly<{
238
- "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
239
- "--mona-calendar-shadow": "var(--shadow-raised)";
240
- "--mona-list-background": "var(--color-surface)";
241
- "--mona-list-disabled-background": "var(--color-disabled-background)";
242
- "--mona-list-group-background": "rgb(37 37 37 / 0.05)";
243
- "--mona-list-group-border-width": "1px";
244
- "--mona-list-group-font-weight": "650";
245
- "--mona-menubar-background": "var(--mona-effect-control-background-color)";
246
- "--mona-menubar-shadow": "var(--shadow-control)";
247
- "--mona-pager-background": "var(--mona-effect-raised-background-color)";
248
- "--mona-slider-handle-border-color": "var(--color-border-control)";
249
- }>;
250
- }>;
251
- dark: Readonly<{
252
- colors: Readonly<Record<`--color-${string}`, string>>;
253
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
254
- motion: Readonly<{
255
- "--mona-motion-fast": "180ms";
256
- "--mona-motion-standard": "320ms";
257
- }>;
258
- effects: Readonly<{
259
- "--mona-effect-control-background-color": "rgb(37 37 39 / 0.74)";
260
- "--mona-effect-control-fallback-background-color": "#252527";
261
- "--mona-effect-control-background-image": "none";
262
- "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
263
- "--mona-effect-raised-background-color": "rgb(32 32 34 / 0.78)";
264
- "--mona-effect-raised-fallback-background-color": "#202022";
265
- "--mona-effect-raised-background-image": "none";
266
- "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
267
- "--mona-effect-overlay-background-color": "rgb(38 38 40 / 0.74)";
268
- "--mona-effect-overlay-fallback-background-color": "#262628";
269
- "--mona-effect-overlay-background-image": "none";
270
- "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
271
- }>;
272
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
273
- custom: Readonly<{
274
- "--mona-date-popup-calendar-backdrop-filter": "none";
275
- "--mona-date-popup-calendar-background": "transparent";
276
- "--mona-date-popup-calendar-background-image": "none";
277
- "--mona-dropdown-popup-list-background": "transparent";
278
- "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
279
- "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
280
- "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
281
- }>;
282
- components: Readonly<{
283
- "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
284
- "--mona-calendar-shadow": "var(--shadow-raised)";
285
- "--mona-list-background": "var(--color-surface)";
286
- "--mona-list-disabled-background": "var(--color-disabled-background)";
287
- "--mona-list-group-background": "rgb(255 255 255 / 0.04)";
288
- "--mona-list-group-border-width": "1px";
289
- "--mona-list-group-font-weight": "650";
290
- "--mona-menubar-background": "var(--mona-effect-control-background-color)";
291
- "--mona-menubar-shadow": "var(--shadow-control)";
292
- "--mona-pager-background": "var(--mona-effect-raised-background-color)";
293
- "--mona-slider-handle-border-color": "var(--color-border-control)";
294
- }>;
295
- }>;
296
- };
160
+ export declare const annaTheme: Readonly<{
161
+ name: string;
162
+ variants: {
163
+ light: Readonly<{
164
+ colors: Readonly<Record<`--color-${string}`, string>>;
165
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
166
+ custom: Readonly<{
167
+ "--mona-indicator-color": "var(--color-primary)";
168
+ "--mona-indicator-foreground": "var(--color-primary-foreground)";
169
+ }>;
170
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
171
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
172
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
173
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
297
174
  }>;
298
- mona: Readonly<{
299
- name: string;
300
- variants: {
301
- light: Readonly<{
302
- colors: Readonly<Record<`--color-${string}`, string>>;
303
- components: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeComponentVariable, string>>;
304
- effects: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeEffectVariable, string>>;
305
- motion: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeMotionVariable, string>>;
306
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
307
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
308
- }>;
309
- dark: Readonly<{
310
- colors: Readonly<Record<`--color-${string}`, string>>;
311
- components: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeComponentVariable, string>>;
312
- effects: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeEffectVariable, string>>;
313
- motion: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeMotionVariable, string>>;
314
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
315
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
316
- }>;
317
- };
175
+ dark: Readonly<{
176
+ colors: Readonly<Record<`--color-${string}`, string>>;
177
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
178
+ custom: Readonly<{
179
+ "--mona-indicator-color": "var(--color-primary-border)";
180
+ "--mona-indicator-foreground": "#161718";
181
+ }>;
182
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
183
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
184
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
185
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
318
186
  }>;
187
+ };
319
188
  }>;
320
-
321
- declare const lunaTheme: Readonly<{
189
+ export declare const builtInThemes: Readonly<{
190
+ anna: Readonly<{
322
191
  name: string;
323
192
  variants: {
324
- light: Readonly<{
325
- colors: Readonly<Record<`--color-${string}`, string>>;
326
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
327
- motion: Readonly<{
328
- "--mona-motion-fast": "180ms";
329
- "--mona-motion-standard": "320ms";
330
- }>;
331
- effects: Readonly<{
332
- "--mona-effect-control-background-color": "rgb(243 244 245 / 0.78)";
333
- "--mona-effect-control-fallback-background-color": "#f3f4f5";
334
- "--mona-effect-control-background-image": "none";
335
- "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
336
- "--mona-effect-raised-background-color": "rgb(252 252 252 / 0.76)";
337
- "--mona-effect-raised-fallback-background-color": "#fbfbfb";
338
- "--mona-effect-raised-background-image": "none";
339
- "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
340
- "--mona-effect-overlay-background-color": "rgb(249 249 250 / 0.72)";
341
- "--mona-effect-overlay-fallback-background-color": "#f9f9fa";
342
- "--mona-effect-overlay-background-image": "none";
343
- "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
344
- }>;
345
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
346
- custom: Readonly<{
347
- "--mona-date-popup-calendar-backdrop-filter": "none";
348
- "--mona-date-popup-calendar-background": "transparent";
349
- "--mona-date-popup-calendar-background-image": "none";
350
- "--mona-dropdown-popup-list-background": "transparent";
351
- "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
352
- "--mona-menu-item-hover-background": "rgb(37 37 37 / 0.06)";
353
- "--mona-menu-item-hover-foreground": "var(--color-foreground)";
354
- "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
355
- "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
356
- }>;
357
- components: Readonly<{
358
- "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
359
- "--mona-calendar-shadow": "var(--shadow-raised)";
360
- "--mona-list-background": "var(--color-surface)";
361
- "--mona-list-disabled-background": "var(--color-disabled-background)";
362
- "--mona-list-group-background": "rgb(37 37 37 / 0.05)";
363
- "--mona-list-group-border-width": "1px";
364
- "--mona-list-group-font-weight": "650";
365
- "--mona-menubar-background": "var(--mona-effect-control-background-color)";
366
- "--mona-menubar-shadow": "var(--shadow-control)";
367
- "--mona-pager-background": "var(--mona-effect-raised-background-color)";
368
- "--mona-slider-handle-border-color": "var(--color-border-control)";
369
- }>;
193
+ light: Readonly<{
194
+ colors: Readonly<Record<`--color-${string}`, string>>;
195
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
196
+ custom: Readonly<{
197
+ "--mona-indicator-color": "var(--color-primary)";
198
+ "--mona-indicator-foreground": "var(--color-primary-foreground)";
370
199
  }>;
371
- dark: Readonly<{
372
- colors: Readonly<Record<`--color-${string}`, string>>;
373
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
374
- motion: Readonly<{
375
- "--mona-motion-fast": "180ms";
376
- "--mona-motion-standard": "320ms";
377
- }>;
378
- effects: Readonly<{
379
- "--mona-effect-control-background-color": "rgb(37 37 39 / 0.74)";
380
- "--mona-effect-control-fallback-background-color": "#252527";
381
- "--mona-effect-control-background-image": "none";
382
- "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
383
- "--mona-effect-raised-background-color": "rgb(32 32 34 / 0.78)";
384
- "--mona-effect-raised-fallback-background-color": "#202022";
385
- "--mona-effect-raised-background-image": "none";
386
- "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
387
- "--mona-effect-overlay-background-color": "rgb(38 38 40 / 0.74)";
388
- "--mona-effect-overlay-fallback-background-color": "#262628";
389
- "--mona-effect-overlay-background-image": "none";
390
- "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
391
- }>;
392
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
393
- custom: Readonly<{
394
- "--mona-date-popup-calendar-backdrop-filter": "none";
395
- "--mona-date-popup-calendar-background": "transparent";
396
- "--mona-date-popup-calendar-background-image": "none";
397
- "--mona-dropdown-popup-list-background": "transparent";
398
- "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
399
- "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
400
- "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
401
- }>;
402
- components: Readonly<{
403
- "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
404
- "--mona-calendar-shadow": "var(--shadow-raised)";
405
- "--mona-list-background": "var(--color-surface)";
406
- "--mona-list-disabled-background": "var(--color-disabled-background)";
407
- "--mona-list-group-background": "rgb(255 255 255 / 0.04)";
408
- "--mona-list-group-border-width": "1px";
409
- "--mona-list-group-font-weight": "650";
410
- "--mona-menubar-background": "var(--mona-effect-control-background-color)";
411
- "--mona-menubar-shadow": "var(--shadow-control)";
412
- "--mona-pager-background": "var(--mona-effect-raised-background-color)";
413
- "--mona-slider-handle-border-color": "var(--color-border-control)";
414
- }>;
200
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
201
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
202
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
203
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
204
+ }>;
205
+ dark: Readonly<{
206
+ colors: Readonly<Record<`--color-${string}`, string>>;
207
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
208
+ custom: Readonly<{
209
+ "--mona-indicator-color": "var(--color-primary-border)";
210
+ "--mona-indicator-foreground": "#161718";
415
211
  }>;
212
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
213
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
214
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
215
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
216
+ }>;
416
217
  };
417
- }>;
418
-
419
- declare const monaTheme: Readonly<{
218
+ }>;
219
+ luna: Readonly<{
420
220
  name: string;
421
221
  variants: {
422
- light: Readonly<{
423
- colors: Readonly<Record<`--color-${string}`, string>>;
424
- components: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeComponentVariable, string>>;
425
- effects: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeEffectVariable, string>>;
426
- motion: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeMotionVariable, string>>;
427
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
428
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
222
+ light: Readonly<{
223
+ colors: Readonly<Record<`--color-${string}`, string>>;
224
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
225
+ motion: Readonly<{
226
+ "--mona-motion-fast": "180ms";
227
+ "--mona-motion-standard": "320ms";
228
+ }>;
229
+ effects: Readonly<{
230
+ "--mona-effect-control-background-color": "rgb(243 244 245 / 0.78)";
231
+ "--mona-effect-control-fallback-background-color": "#f3f4f5";
232
+ "--mona-effect-control-background-image": "none";
233
+ "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
234
+ "--mona-effect-raised-background-color": "rgb(252 252 252 / 0.76)";
235
+ "--mona-effect-raised-fallback-background-color": "#fbfbfb";
236
+ "--mona-effect-raised-background-image": "none";
237
+ "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
238
+ "--mona-effect-overlay-background-color": "rgb(249 249 250 / 0.72)";
239
+ "--mona-effect-overlay-fallback-background-color": "#f9f9fa";
240
+ "--mona-effect-overlay-background-image": "none";
241
+ "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
242
+ }>;
243
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
244
+ custom: Readonly<{
245
+ "--mona-date-popup-calendar-backdrop-filter": "none";
246
+ "--mona-date-popup-calendar-background": "transparent";
247
+ "--mona-date-popup-calendar-background-image": "none";
248
+ "--mona-dropdown-popup-list-background": "transparent";
249
+ "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
250
+ "--mona-menu-item-hover-background": "rgb(37 37 37 / 0.06)";
251
+ "--mona-menu-item-hover-foreground": "var(--color-foreground)";
252
+ "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
253
+ "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
254
+ }>;
255
+ components: Readonly<{
256
+ "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
257
+ "--mona-calendar-shadow": "var(--shadow-raised)";
258
+ "--mona-list-background": "var(--color-surface)";
259
+ "--mona-list-disabled-background": "var(--color-disabled-background)";
260
+ "--mona-list-group-background": "rgb(37 37 37 / 0.05)";
261
+ "--mona-list-group-border-width": "1px";
262
+ "--mona-list-group-font-weight": "650";
263
+ "--mona-menubar-background": "var(--mona-effect-control-background-color)";
264
+ "--mona-menubar-shadow": "var(--shadow-control)";
265
+ "--mona-pager-background": "var(--mona-effect-raised-background-color)";
266
+ "--mona-slider-handle-border-color": "var(--color-border-control)";
267
+ }>;
268
+ }>;
269
+ dark: Readonly<{
270
+ colors: Readonly<Record<`--color-${string}`, string>>;
271
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
272
+ motion: Readonly<{
273
+ "--mona-motion-fast": "180ms";
274
+ "--mona-motion-standard": "320ms";
429
275
  }>;
430
- dark: Readonly<{
431
- colors: Readonly<Record<`--color-${string}`, string>>;
432
- components: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeComponentVariable, string>>;
433
- effects: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeEffectVariable, string>>;
434
- motion: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeMotionVariable, string>>;
435
- shape: Readonly<Record<_nanahoshi_mona_ui_theme.ThemeShapeVariable, string>>;
436
- shadows: Readonly<Record<`--shadow-${string}`, string>>;
276
+ effects: Readonly<{
277
+ "--mona-effect-control-background-color": "rgb(37 37 39 / 0.74)";
278
+ "--mona-effect-control-fallback-background-color": "#252527";
279
+ "--mona-effect-control-background-image": "none";
280
+ "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
281
+ "--mona-effect-raised-background-color": "rgb(32 32 34 / 0.78)";
282
+ "--mona-effect-raised-fallback-background-color": "#202022";
283
+ "--mona-effect-raised-background-image": "none";
284
+ "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
285
+ "--mona-effect-overlay-background-color": "rgb(38 38 40 / 0.74)";
286
+ "--mona-effect-overlay-fallback-background-color": "#262628";
287
+ "--mona-effect-overlay-background-image": "none";
288
+ "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
437
289
  }>;
290
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
291
+ custom: Readonly<{
292
+ "--mona-date-popup-calendar-backdrop-filter": "none";
293
+ "--mona-date-popup-calendar-background": "transparent";
294
+ "--mona-date-popup-calendar-background-image": "none";
295
+ "--mona-dropdown-popup-list-background": "transparent";
296
+ "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
297
+ "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
298
+ "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
299
+ }>;
300
+ components: Readonly<{
301
+ "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
302
+ "--mona-calendar-shadow": "var(--shadow-raised)";
303
+ "--mona-list-background": "var(--color-surface)";
304
+ "--mona-list-disabled-background": "var(--color-disabled-background)";
305
+ "--mona-list-group-background": "rgb(255 255 255 / 0.04)";
306
+ "--mona-list-group-border-width": "1px";
307
+ "--mona-list-group-font-weight": "650";
308
+ "--mona-menubar-background": "var(--mona-effect-control-background-color)";
309
+ "--mona-menubar-shadow": "var(--shadow-control)";
310
+ "--mona-pager-background": "var(--mona-effect-raised-background-color)";
311
+ "--mona-slider-handle-border-color": "var(--color-border-control)";
312
+ }>;
313
+ }>;
314
+ };
315
+ }>;
316
+ mona: Readonly<{
317
+ name: string;
318
+ variants: {
319
+ light: Readonly<{
320
+ colors: Readonly<Record<`--color-${string}`, string>>;
321
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
322
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
323
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
324
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
325
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
326
+ }>;
327
+ dark: Readonly<{
328
+ colors: Readonly<Record<`--color-${string}`, string>>;
329
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
330
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
331
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
332
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
333
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
334
+ }>;
438
335
  };
336
+ }>;
337
+ }>;
338
+ export declare const lunaTheme: Readonly<{
339
+ name: string;
340
+ variants: {
341
+ light: Readonly<{
342
+ colors: Readonly<Record<`--color-${string}`, string>>;
343
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
344
+ motion: Readonly<{
345
+ "--mona-motion-fast": "180ms";
346
+ "--mona-motion-standard": "320ms";
347
+ }>;
348
+ effects: Readonly<{
349
+ "--mona-effect-control-background-color": "rgb(243 244 245 / 0.78)";
350
+ "--mona-effect-control-fallback-background-color": "#f3f4f5";
351
+ "--mona-effect-control-background-image": "none";
352
+ "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
353
+ "--mona-effect-raised-background-color": "rgb(252 252 252 / 0.76)";
354
+ "--mona-effect-raised-fallback-background-color": "#fbfbfb";
355
+ "--mona-effect-raised-background-image": "none";
356
+ "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
357
+ "--mona-effect-overlay-background-color": "rgb(249 249 250 / 0.72)";
358
+ "--mona-effect-overlay-fallback-background-color": "#f9f9fa";
359
+ "--mona-effect-overlay-background-image": "none";
360
+ "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
361
+ }>;
362
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
363
+ custom: Readonly<{
364
+ "--mona-date-popup-calendar-backdrop-filter": "none";
365
+ "--mona-date-popup-calendar-background": "transparent";
366
+ "--mona-date-popup-calendar-background-image": "none";
367
+ "--mona-dropdown-popup-list-background": "transparent";
368
+ "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
369
+ "--mona-menu-item-hover-background": "rgb(37 37 37 / 0.06)";
370
+ "--mona-menu-item-hover-foreground": "var(--color-foreground)";
371
+ "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
372
+ "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
373
+ }>;
374
+ components: Readonly<{
375
+ "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
376
+ "--mona-calendar-shadow": "var(--shadow-raised)";
377
+ "--mona-list-background": "var(--color-surface)";
378
+ "--mona-list-disabled-background": "var(--color-disabled-background)";
379
+ "--mona-list-group-background": "rgb(37 37 37 / 0.05)";
380
+ "--mona-list-group-border-width": "1px";
381
+ "--mona-list-group-font-weight": "650";
382
+ "--mona-menubar-background": "var(--mona-effect-control-background-color)";
383
+ "--mona-menubar-shadow": "var(--shadow-control)";
384
+ "--mona-pager-background": "var(--mona-effect-raised-background-color)";
385
+ "--mona-slider-handle-border-color": "var(--color-border-control)";
386
+ }>;
387
+ }>;
388
+ dark: Readonly<{
389
+ colors: Readonly<Record<`--color-${string}`, string>>;
390
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
391
+ motion: Readonly<{
392
+ "--mona-motion-fast": "180ms";
393
+ "--mona-motion-standard": "320ms";
394
+ }>;
395
+ effects: Readonly<{
396
+ "--mona-effect-control-background-color": "rgb(37 37 39 / 0.74)";
397
+ "--mona-effect-control-fallback-background-color": "#252527";
398
+ "--mona-effect-control-background-image": "none";
399
+ "--mona-effect-control-backdrop-filter": "blur(16px) saturate(110%)";
400
+ "--mona-effect-raised-background-color": "rgb(32 32 34 / 0.78)";
401
+ "--mona-effect-raised-fallback-background-color": "#202022";
402
+ "--mona-effect-raised-background-image": "none";
403
+ "--mona-effect-raised-backdrop-filter": "blur(22px) saturate(112%)";
404
+ "--mona-effect-overlay-background-color": "rgb(38 38 40 / 0.74)";
405
+ "--mona-effect-overlay-fallback-background-color": "#262628";
406
+ "--mona-effect-overlay-background-image": "none";
407
+ "--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
408
+ }>;
409
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
410
+ custom: Readonly<{
411
+ "--mona-date-popup-calendar-backdrop-filter": "none";
412
+ "--mona-date-popup-calendar-background": "transparent";
413
+ "--mona-date-popup-calendar-background-image": "none";
414
+ "--mona-dropdown-popup-list-background": "transparent";
415
+ "--mona-input-addon-background": "color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)";
416
+ "--mona-menubar-backdrop-filter": "var(--mona-effect-control-backdrop-filter)";
417
+ "--mona-menubar-background-image": "var(--mona-effect-control-background-image)";
418
+ }>;
419
+ components: Readonly<{
420
+ "--mona-calendar-background": "var(--mona-effect-raised-background-color)";
421
+ "--mona-calendar-shadow": "var(--shadow-raised)";
422
+ "--mona-list-background": "var(--color-surface)";
423
+ "--mona-list-disabled-background": "var(--color-disabled-background)";
424
+ "--mona-list-group-background": "rgb(255 255 255 / 0.04)";
425
+ "--mona-list-group-border-width": "1px";
426
+ "--mona-list-group-font-weight": "650";
427
+ "--mona-menubar-background": "var(--mona-effect-control-background-color)";
428
+ "--mona-menubar-shadow": "var(--shadow-control)";
429
+ "--mona-pager-background": "var(--mona-effect-raised-background-color)";
430
+ "--mona-slider-handle-border-color": "var(--color-border-control)";
431
+ }>;
432
+ }>;
433
+ };
434
+ }>;
435
+ export declare const monaTheme: Readonly<{
436
+ name: string;
437
+ variants: {
438
+ light: Readonly<{
439
+ colors: Readonly<Record<`--color-${string}`, string>>;
440
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
441
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
442
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
443
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
444
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
445
+ }>;
446
+ dark: Readonly<{
447
+ colors: Readonly<Record<`--color-${string}`, string>>;
448
+ components: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeComponentVariable, string>>;
449
+ effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
450
+ motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
451
+ shape: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeShapeVariable, string>>;
452
+ shadows: Readonly<Record<`--shadow-${string}`, string>>;
453
+ }>;
454
+ };
439
455
  }>;
440
-
441
456
  /**
442
457
  * Builds the sidebar's own colour roles. The sidebar is a persistent chrome region rather than page
443
458
  * content, so it is given a surface of its own instead of borrowing the page's — which is what lets a
@@ -448,43 +463,39 @@ declare const monaTheme: Readonly<{
448
463
  * reserves identity colour for the current item, and makes runtime primary-palette changes flow through
449
464
  * without rebuilding the sidebar recipe.
450
465
  */
451
- declare function createSidebarColorRoles(seeds: SidebarColorRoleSeeds): ThemeColors;
452
-
453
- declare function provideThemeFamily(registration: ThemeFamilyRegistration): EnvironmentProviders;
454
- declare function provideThemeOverrides(registration: ThemeOverrideRegistration): EnvironmentProviders;
455
- declare function provideThemeOptions(options: ThemeOptions): EnvironmentProviders;
466
+ export declare function createSidebarColorRoles(seeds: SidebarColorRoleSeeds): ThemeColors;
467
+ export declare function provideThemeFamily(registration: ThemeFamilyRegistration): EnvironmentProviders;
468
+ export declare function provideThemeOverrides(registration: ThemeOverrideRegistration): EnvironmentProviders;
469
+ export declare function provideThemeOptions(options: ThemeOptions): EnvironmentProviders;
456
470
  /**
457
471
  * Generates a light and a dark palette from the seeds, and applies whichever the theme has.
458
472
  */
459
- declare function provideThemeColorPalette(registration: ThemeColorPaletteRegistration): EnvironmentProviders;
473
+ export declare function provideThemeColorPalette(registration: ThemeColorPaletteRegistration): EnvironmentProviders;
460
474
  /**
461
475
  * Applies the theme to an element in place of `<html>`, for an application embedded in part of a page. Overlays
462
476
  * render outside any such element, so the overlay container gets the theme too. Each application has its own
463
477
  * overlay container, so two embedded applications can have two themes.
464
478
  * @param root the element, or a factory for it that runs in an injection context. It has to exist at startup.
465
479
  */
466
- declare function provideThemeRoot(root: HTMLElement | (() => HTMLElement | null)): EnvironmentProviders;
480
+ export declare function provideThemeRoot(root: HTMLElement | (() => HTMLElement | null)): EnvironmentProviders;
467
481
  /**
468
482
  * Replaces where the theme is remembered, which is `localStorage` by default. Only used when
469
483
  * `provideThemeOptions()` has a `persistKey`. Supply something the server can read too, such as a cookie, to have a
470
484
  * server-rendered application render the remembered theme rather than correcting it on hydration.
471
485
  * @param storage the storage, or a factory for it that runs in an injection context
472
486
  */
473
- declare function provideThemeStorage(storage: ThemeStorage | (() => ThemeStorage)): EnvironmentProviders;
474
-
487
+ export declare function provideThemeStorage(storage: ThemeStorage | (() => ThemeStorage)): EnvironmentProviders;
475
488
  interface ThemeStrategy {
476
- /** The registered themes and their variants, for `ThemeService.availableThemes()`. */
477
- availableThemes?(): readonly ThemeAvailability[];
478
- resolve(selection: ThemeSelection): ThemeProfile;
489
+ /** The registered themes and their variants, for `ThemeService.availableThemes()`. */
490
+ availableThemes?(): readonly ThemeAvailability[];
491
+ resolve(selection: ThemeSelection): ThemeProfile;
479
492
  }
480
-
481
- declare class DefaultThemeStrategy implements ThemeStrategy {
482
- #private;
483
- constructor(registrations: readonly ThemeFamilyRegistration[], overrides: readonly ThemeOverrideRegistration[]);
484
- availableThemes(): readonly ThemeAvailability[];
485
- resolve(selection: ThemeSelection): ThemeProfile;
493
+ export declare class DefaultThemeStrategy implements ThemeStrategy {
494
+ #private;
495
+ constructor(registrations: readonly ThemeFamilyRegistration[], overrides: readonly ThemeOverrideRegistration[]);
496
+ availableThemes(): readonly ThemeAvailability[];
497
+ resolve(selection: ThemeSelection): ThemeProfile;
486
498
  }
487
-
488
499
  /**
489
500
  * The default `ThemeStorage`: `localStorage`, as JSON, under the `persistKey`.
490
501
  *
@@ -496,30 +507,26 @@ declare class DefaultThemeStrategy implements ThemeStrategy {
496
507
  * shows as a flash. Storage that the server can read too, such as a cookie, avoids it; supply it through
497
508
  * `provideThemeStorage()`.
498
509
  */
499
- declare class LocalStorageThemeStorage implements ThemeStorage {
500
- #private;
501
- /** Takes the value of `PLATFORM_ID`, which is a string in practice though typed loosely. */
502
- constructor(platformId: string | object);
503
- read(key: string): ThemePreference | null;
504
- write(key: string, preference: ThemePreference): void;
510
+ export declare class LocalStorageThemeStorage implements ThemeStorage {
511
+ #private;
512
+ /** Takes the value of `PLATFORM_ID`, which is a string in practice though typed loosely. */
513
+ constructor(platformId: string | object);
514
+ read(key: string): ThemePreference | null;
515
+ write(key: string, preference: ThemePreference): void;
505
516
  }
506
-
507
517
  /**
508
518
  * The element the theme is written to. Defaults to `<html>`. Replace it with `provideThemeRoot()`.
509
519
  */
510
- declare const THEME_ROOT: InjectionToken<HTMLElement | null>;
520
+ export declare const THEME_ROOT: InjectionToken<HTMLElement | null>;
511
521
  /**
512
522
  * Where the theme is remembered when `provideThemeOptions()` has a `persistKey`. Defaults to `localStorage`.
513
523
  * Replace it with `provideThemeStorage()`.
514
524
  */
515
- declare const THEME_STORAGE: InjectionToken<ThemeStorage>;
516
- declare const THEME_STRATEGY: InjectionToken<ThemeStrategy>;
517
-
525
+ export declare const THEME_STORAGE: InjectionToken<ThemeStorage>;
526
+ export declare const THEME_STRATEGY: InjectionToken<ThemeStrategy>;
518
527
  /**
519
528
  * Generates accessible light and dark color-role overrides from consumer-provided CSS colors.
520
529
  * Seed lightness is treated as source identity; the generated variants use fixed tonal anchors.
521
530
  */
522
- declare function generateThemeColorPalette(seeds: ThemeColorPaletteSeeds): GeneratedThemeColorPalette;
523
-
524
- export { DefaultThemeStrategy, LocalStorageThemeStorage, THEME_ROOT, THEME_STORAGE, THEME_STRATEGY, ThemeService, annaTheme, builtInThemes, createSidebarColorRoles, flattenThemeProfile, generateThemeColorPalette, lunaTheme, monaTheme, provideThemeColorPalette, provideThemeFamily, provideThemeOptions, provideThemeOverrides, provideThemeRoot, provideThemeStorage };
525
- export type { BuiltInThemeName, GeneratedThemeColorPalette, SidebarColorRoleSeeds, ThemeAvailability, ThemeColorPaletteRegistration, ThemeColorPaletteSeeds, ThemeColorVariable, ThemeColors, ThemeComponentVariable, ThemeComponents, ThemeEffectLevel, ThemeEffectVariable, ThemeEffects, ThemeFamilyRegistration, ThemeFamilyVariants, ThemeMotion, ThemeMotionVariable, ThemeName, ThemeOptions, ThemeOverrideRegistration, ThemePreference, ThemeProfile, ThemeProfileOverrides, ThemeSelection, ThemeShadowVariable, ThemeShadows, ThemeShape, ThemeShapeVariable, ThemeStorage, ThemeStrategy, ThemeVariable, ThemeVariables, ThemeVariant, ThemeVariantPreference };
531
+ export declare function generateThemeColorPalette(seeds: ThemeColorPaletteSeeds): GeneratedThemeColorPalette;
532
+ export type { GeneratedThemeColorPalette, SidebarColorRoleSeeds, ThemeColorPaletteRegistration, ThemeColorPaletteSeeds, ThemeColorVariable, ThemeColors, ThemeComponentVariable, ThemeComponents, ThemeEffectLevel, ThemeEffectVariable, ThemeEffects, ThemeFamilyRegistration, ThemeFamilyVariants, ThemeMotion, ThemeMotionVariable, ThemeOptions, ThemeOverrideRegistration, ThemeProfile, ThemeProfileOverrides, ThemeShadowVariable, ThemeShadows, ThemeShape, ThemeShapeVariable, ThemeStrategy, ThemeVariable, ThemeVariables };