burne-ui 2.1.3 → 2.1.4

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 (98) hide show
  1. package/README.md +8 -4
  2. package/cli/burne-ui.js +4 -3
  3. package/cli/init.js +83 -19
  4. package/cli/skin-validate.mjs +83 -2
  5. package/cli/tailwind.css +12 -0
  6. package/cli/theme-bridge.css +2 -0
  7. package/dist/authoring.d.ts +2 -0
  8. package/dist/authoring.js +8 -0
  9. package/dist/components/composite/Accordion/accordionStyles.js +1 -1
  10. package/dist/components/composite/ButtonGroup/buttonGroupStyles.js +1 -1
  11. package/dist/components/composite/Form/formStyles.js +4 -4
  12. package/dist/components/core/Alert/alertStyles.d.ts +1 -1
  13. package/dist/components/core/Alert/alertStyles.js +1 -1
  14. package/dist/components/core/Breadcrumbs/breadcrumbsStyles.js +4 -4
  15. package/dist/components/core/Button/buttonStyles.d.ts +1 -1
  16. package/dist/components/core/Button/buttonStyles.js +9 -8
  17. package/dist/components/core/Calendar/calendarStyles.d.ts +3 -3
  18. package/dist/components/core/Calendar/calendarStyles.js +4 -4
  19. package/dist/components/core/Card/cardStyles.d.ts +2 -2
  20. package/dist/components/core/Card/cardStyles.js +2 -2
  21. package/dist/components/core/Checkbox/checkboxStyles.d.ts +3 -3
  22. package/dist/components/core/Checkbox/checkboxStyles.js +3 -3
  23. package/dist/components/core/ColorPicker/colorPickerStyles.d.ts +2 -2
  24. package/dist/components/core/ColorPicker/colorPickerStyles.js +2 -2
  25. package/dist/components/core/ColorPicker/colorSliderStyles.d.ts +1 -1
  26. package/dist/components/core/ColorPicker/colorSliderStyles.js +1 -1
  27. package/dist/components/core/ComboBox/comboBoxStyles.d.ts +4 -4
  28. package/dist/components/core/ComboBox/comboBoxStyles.js +4 -4
  29. package/dist/components/core/DatePicker/datePickerStyles.d.ts +2 -2
  30. package/dist/components/core/DatePicker/datePickerStyles.js +2 -2
  31. package/dist/components/core/Disclosure/disclosureStyles.d.ts +1 -1
  32. package/dist/components/core/Disclosure/disclosureStyles.js +3 -3
  33. package/dist/components/core/Dropdown/dropdownStyles.d.ts +3 -3
  34. package/dist/components/core/Dropdown/dropdownStyles.js +3 -3
  35. package/dist/components/core/Expandable/expandableStyles.d.ts +1 -1
  36. package/dist/components/core/Expandable/expandableStyles.js +1 -1
  37. package/dist/components/core/Field/fieldStyles.js +1 -1
  38. package/dist/components/core/Input/inputStyles.d.ts +5 -5
  39. package/dist/components/core/Input/inputStyles.js +5 -5
  40. package/dist/components/core/Kbd/kbdStyles.d.ts +1 -1
  41. package/dist/components/core/Kbd/kbdStyles.js +1 -1
  42. package/dist/components/core/Link/linkStyles.d.ts +1 -1
  43. package/dist/components/core/Link/linkStyles.js +1 -1
  44. package/dist/components/core/ListBox/listBoxStyles.d.ts +3 -3
  45. package/dist/components/core/ListBox/listBoxStyles.js +3 -3
  46. package/dist/components/core/Loading/loadingStyles.js +1 -1
  47. package/dist/components/core/Meter/meterStyles.d.ts +1 -1
  48. package/dist/components/core/Meter/meterStyles.js +1 -1
  49. package/dist/components/core/NumberInput/numberInputStyles.js +2 -2
  50. package/dist/components/core/Pagination/paginationStyles.d.ts +3 -3
  51. package/dist/components/core/Pagination/paginationStyles.js +3 -3
  52. package/dist/components/core/PinInput/pinInputStyles.d.ts +1 -1
  53. package/dist/components/core/PinInput/pinInputStyles.js +2 -2
  54. package/dist/components/core/ProgressBar/progressBarStyles.d.ts +1 -1
  55. package/dist/components/core/ProgressBar/progressBarStyles.js +1 -1
  56. package/dist/components/core/Radio/radioStyles.d.ts +3 -3
  57. package/dist/components/core/Radio/radioStyles.js +3 -3
  58. package/dist/components/core/SearchInput/searchInputStyles.d.ts +2 -2
  59. package/dist/components/core/SearchInput/searchInputStyles.js +2 -2
  60. package/dist/components/core/Select/selectStyles.d.ts +3 -3
  61. package/dist/components/core/Select/selectStyles.js +3 -3
  62. package/dist/components/core/Separator/separatorStyles.d.ts +2 -2
  63. package/dist/components/core/Separator/separatorStyles.js +2 -2
  64. package/dist/components/core/Slider/sliderStyles.d.ts +1 -1
  65. package/dist/components/core/Slider/sliderStyles.js +1 -1
  66. package/dist/components/core/Stepper/stepperStyles.js +1 -1
  67. package/dist/components/core/Switch/switchStyles.d.ts +3 -3
  68. package/dist/components/core/Switch/switchStyles.js +3 -3
  69. package/dist/components/core/Table/tableStyles.d.ts +1 -1
  70. package/dist/components/core/Table/tableStyles.js +2 -2
  71. package/dist/components/core/Tabs/tabsStyles.js +1 -1
  72. package/dist/components/core/TagsInput/tagsInputStyles.js +2 -2
  73. package/dist/components/core/TextArea/textAreaStyles.d.ts +3 -3
  74. package/dist/components/core/TextArea/textAreaStyles.js +2 -2
  75. package/dist/components/core/TimeField/timeFieldStyles.d.ts +1 -1
  76. package/dist/components/core/TimeField/timeFieldStyles.js +1 -1
  77. package/dist/components/core/Toast/toastStyles.d.ts +1 -1
  78. package/dist/components/core/Toast/toastStyles.js +1 -1
  79. package/dist/components/core/Tooltip/tooltipStyles.d.ts +1 -1
  80. package/dist/components/core/Tooltip/tooltipStyles.js +1 -1
  81. package/dist/components/core/utils/inputAffixStyles.js +1 -1
  82. package/dist/components/core/utils/optionListItemStyles.d.ts +2 -2
  83. package/dist/components/core/utils/optionListItemStyles.js +2 -2
  84. package/dist/components/core/utils/semanticStatusSurface.js +4 -4
  85. package/dist/components/core/utils/sizeLayout/panel.js +4 -4
  86. package/dist/studio/colorPresets.d.ts +1 -1
  87. package/dist/studio/colorPresets.js +8 -1
  88. package/dist/studio.d.ts +1 -1
  89. package/dist/studio.js +13 -1
  90. package/dist/theme/namedPalettes.d.ts +12 -0
  91. package/dist/theme/namedPalettes.js +697 -1
  92. package/dist/tokens/config.d.ts +8 -2
  93. package/dist/tokens/config.js +8 -0
  94. package/dist/tokens/index.d.ts +1 -1
  95. package/dist/tokens/index.js +9 -0
  96. package/dist/ui.css +55 -45
  97. package/dist/utils/cn.js +2 -0
  98. package/package.json +1 -1
@@ -29,7 +29,7 @@ const PROGRESS_BAR_INDETERMINATE_FILL_REDUCED_VERTICAL_CLASS = "bottom-1/4 h-1/2
29
29
  const PROGRESS_BAR_HEADER_BASE_CLASS = "flex items-baseline justify-between gap-xsmall";
30
30
  const PROGRESS_BAR_HEADER_HORIZONTAL_CLASS = "w-full";
31
31
  const PROGRESS_BAR_HEADER_VERTICAL_CLASS = "min-w-[8rem]";
32
- const PROGRESS_BAR_VALUE_CLASS = "tabular-nums text-muted";
32
+ const PROGRESS_BAR_VALUE_CLASS = "tabular-nums text-muted-foreground";
33
33
  function progressBarRootClass({
34
34
  orientation,
35
35
  slotClass,
@@ -8,11 +8,11 @@ export declare const RADIO_CONTENT_COMPOUND_CLASS = "min-w-0";
8
8
  export declare const RADIO_LABEL_CLASS = "inline-flex flex-wrap items-center gap-x-xsmall gap-y-0";
9
9
  export declare const RADIO_LABEL_COMPOUND_SECONDARY_CLASS = "min-w-0";
10
10
  export declare const RADIO_LABEL_MOTION_CLASS = "origin-center";
11
- export declare const RADIO_LABEL_TEXT_DISABLED_CLASS = "text-muted";
11
+ export declare const RADIO_LABEL_TEXT_DISABLED_CLASS = "text-muted-foreground";
12
12
  export declare const RADIO_LABEL_TEXT_DANGER_CLASS = "text-danger";
13
13
  export declare const RADIO_REQUIRED_MARK_CLASS = "text-danger";
14
- export declare const RADIO_HINT_DISABLED_CLASS = "text-muted";
15
- export declare const RADIO_ERROR_DISABLED_CLASS = "text-muted";
14
+ export declare const RADIO_HINT_DISABLED_CLASS = "text-muted-foreground";
15
+ export declare const RADIO_ERROR_DISABLED_CLASS = "text-muted-foreground";
16
16
  export declare const RADIO_SIMPLE_LABEL_WRAP_CLASS = "origin-center";
17
17
  export declare const RADIO_SIMPLE_LABEL_TEXT_CLASS = "min-w-0";
18
18
  export declare const RADIO_ROOT_BASE_CLASS = "relative cursor-pointer select-none rounded-small text-start";
@@ -16,11 +16,11 @@ const RADIO_CONTENT_COMPOUND_CLASS = "min-w-0";
16
16
  const RADIO_LABEL_CLASS = "inline-flex flex-wrap items-center gap-x-xsmall gap-y-0";
17
17
  const RADIO_LABEL_COMPOUND_SECONDARY_CLASS = "min-w-0";
18
18
  const RADIO_LABEL_MOTION_CLASS = "origin-center";
19
- const RADIO_LABEL_TEXT_DISABLED_CLASS = "text-muted";
19
+ const RADIO_LABEL_TEXT_DISABLED_CLASS = "text-muted-foreground";
20
20
  const RADIO_LABEL_TEXT_DANGER_CLASS = "text-danger";
21
21
  const RADIO_REQUIRED_MARK_CLASS = "text-danger";
22
- const RADIO_HINT_DISABLED_CLASS = "text-muted";
23
- const RADIO_ERROR_DISABLED_CLASS = "text-muted";
22
+ const RADIO_HINT_DISABLED_CLASS = "text-muted-foreground";
23
+ const RADIO_ERROR_DISABLED_CLASS = "text-muted-foreground";
24
24
  const RADIO_SIMPLE_LABEL_WRAP_CLASS = "origin-center";
25
25
  const RADIO_SIMPLE_LABEL_TEXT_CLASS = "min-w-0";
26
26
  const RADIO_ROOT_BASE_CLASS = "relative cursor-pointer select-none rounded-small text-start";
@@ -3,9 +3,9 @@ import { ComponentSize } from '../utils/sizeLayout/index.js';
3
3
  import { FieldShellStatus } from '../utils/fieldShellVariant.js';
4
4
  import { SearchInputSize, SearchInputVariant, SearchSizeLayout } from './searchInputTypes.js';
5
5
  export declare const SEARCH_INPUT_EXPAND_TRIGGER_CLASS = "absolute inset-0 z-[2] m-0 cursor-pointer border-0 bg-transparent p-0 outline-none focus-ring-inset rounded-[inherit]";
6
- export declare const SEARCH_INPUT_ICON_WRAP_CLASS = "pointer-events-none absolute inset-y-0 z-[1] flex shrink-0 items-center justify-center text-muted";
6
+ export declare const SEARCH_INPUT_ICON_WRAP_CLASS = "pointer-events-none absolute inset-y-0 z-[1] flex shrink-0 items-center justify-center text-muted-foreground";
7
7
  export declare const SEARCH_INPUT_ICON_CLASS = "shrink-0";
8
- export declare const SEARCH_INPUT_CONTROL_BASE_CLASS = "box-border min-h-0 w-full border-0 bg-transparent text-foreground outline-none placeholder:text-muted [&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none disabled:cursor-not-allowed disabled:opacity-100";
8
+ export declare const SEARCH_INPUT_CONTROL_BASE_CLASS = "box-border min-h-0 w-full border-0 bg-transparent text-foreground outline-none placeholder:text-muted-foreground [&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none disabled:cursor-not-allowed disabled:opacity-100";
9
9
  export declare const SEARCH_INPUT_CONTROL_EXPANDED_CLASS = "pointer-events-auto absolute inset-0 z-[2] opacity-100";
10
10
  export declare const SEARCH_INPUT_CONTROL_COLLAPSED_CLASS = "pointer-events-none absolute inset-0 z-[2] opacity-0";
11
11
  export declare const SEARCH_INPUT_CLEAR_BUTTON_CLASS = "absolute top-1/2 z-[3] flex -translate-y-1/2 items-center justify-center rounded-full border-0 bg-transparent p-0 text-foreground outline-none focus-ring-inset cursor-pointer";
@@ -8,9 +8,9 @@ import { resolveVariantVisual, usesKitElevation } from "../../../skins/resolveVa
8
8
  import { KIT_SEARCH_INPUT_VARIANTS } from "./searchInputTypes.js";
9
9
  import { CONTROL_SIZE_LAYOUT } from "../utils/sizeLayout/control.js";
10
10
  const SEARCH_INPUT_EXPAND_TRIGGER_CLASS = "absolute inset-0 z-[2] m-0 cursor-pointer border-0 bg-transparent p-0 outline-none focus-ring-inset rounded-[inherit]";
11
- const SEARCH_INPUT_ICON_WRAP_CLASS = "pointer-events-none absolute inset-y-0 z-[1] flex shrink-0 items-center justify-center text-muted";
11
+ const SEARCH_INPUT_ICON_WRAP_CLASS = "pointer-events-none absolute inset-y-0 z-[1] flex shrink-0 items-center justify-center text-muted-foreground";
12
12
  const SEARCH_INPUT_ICON_CLASS = "shrink-0";
13
- const SEARCH_INPUT_CONTROL_BASE_CLASS = "box-border min-h-0 w-full border-0 bg-transparent text-foreground outline-none placeholder:text-muted [&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none disabled:cursor-not-allowed disabled:opacity-100";
13
+ const SEARCH_INPUT_CONTROL_BASE_CLASS = "box-border min-h-0 w-full border-0 bg-transparent text-foreground outline-none placeholder:text-muted-foreground [&::-webkit-search-cancel-button]:appearance-none [&::-webkit-search-decoration]:appearance-none disabled:cursor-not-allowed disabled:opacity-100";
14
14
  const SEARCH_INPUT_CONTROL_EXPANDED_CLASS = "pointer-events-auto absolute inset-0 z-[2] opacity-100";
15
15
  const SEARCH_INPUT_CONTROL_COLLAPSED_CLASS = "pointer-events-none absolute inset-0 z-[2] opacity-0";
16
16
  const SEARCH_INPUT_CLEAR_BUTTON_CLASS = "absolute top-1/2 z-[3] flex -translate-y-1/2 items-center justify-center rounded-full border-0 bg-transparent p-0 text-foreground outline-none focus-ring-inset cursor-pointer";
@@ -4,11 +4,11 @@ import { FieldShellStatus } from '../utils/fieldShellVariant.js';
4
4
  export declare const SELECT_VALUE_CONTROL: Record<InputSize, string>;
5
5
  export declare const SELECT_CHEVRON_ICON_SLOT: Record<InputSize, string>;
6
6
  export declare const SELECT_TRIGGER_GROUP_BASE_CLASS = "relative z-0 flex min-w-0 items-stretch border-1 text-start motion-reduce:transition-none";
7
- export declare const SELECT_CLEAR_CLASS = "inline-flex shrink-0 items-center self-center text-muted icon-slot icon-slot-base focus-ring";
7
+ export declare const SELECT_CLEAR_CLASS = "inline-flex shrink-0 items-center self-center text-muted-foreground icon-slot icon-slot-base focus-ring";
8
8
  export declare function selectClearClass(size: InputSize): string;
9
9
  export declare const SELECT_VALUE_BASE_CLASS = "min-w-0 flex-1 cursor-pointer truncate bg-transparent text-start text-foreground outline-none disabled:cursor-not-allowed";
10
- export declare const SELECT_VALUE_MUTED_CLASS = "text-muted";
11
- export declare const SELECT_TRIGGER_BASE_CLASS = "flex shrink-0 origin-center cursor-pointer items-center justify-center self-stretch px-small outline-none text-muted hover:text-foreground focus-ring-inset disabled:cursor-not-allowed";
10
+ export declare const SELECT_VALUE_MUTED_CLASS = "text-muted-foreground";
11
+ export declare const SELECT_TRIGGER_BASE_CLASS = "flex shrink-0 origin-center cursor-pointer items-center justify-center self-stretch px-small outline-none text-muted-foreground hover:text-foreground focus-ring-inset disabled:cursor-not-allowed";
12
12
  export declare const SELECT_TRIGGER_DISABLED_CLASS = "pointer-events-none";
13
13
  /** Same band as Popover; above Dialog when sharing a stacking context (not `showModal` top layer). */
14
14
  export declare const SELECT_POPOVER_CLASS = "z-popover";
@@ -19,7 +19,7 @@ const SELECT_CHEVRON_ICON_SLOT = {
19
19
  large: iconSlotClass("large")
20
20
  };
21
21
  const SELECT_TRIGGER_GROUP_BASE_CLASS = "relative z-0 flex min-w-0 items-stretch border-1 text-start motion-reduce:transition-none";
22
- const SELECT_CLEAR_CLASS = "inline-flex shrink-0 items-center self-center text-muted icon-slot icon-slot-base focus-ring";
22
+ const SELECT_CLEAR_CLASS = "inline-flex shrink-0 items-center self-center text-muted-foreground icon-slot icon-slot-base focus-ring";
23
23
  const SELECT_CLEAR_END_PAD = {
24
24
  small: "pe-base",
25
25
  base: "pe-mid",
@@ -30,8 +30,8 @@ function selectClearClass(size) {
30
30
  return cn(SELECT_CLEAR_CLASS, SELECT_CLEAR_END_PAD[size]);
31
31
  }
32
32
  const SELECT_VALUE_BASE_CLASS = "min-w-0 flex-1 cursor-pointer truncate bg-transparent text-start text-foreground outline-none disabled:cursor-not-allowed";
33
- const SELECT_VALUE_MUTED_CLASS = "text-muted";
34
- const SELECT_TRIGGER_BASE_CLASS = "flex shrink-0 origin-center cursor-pointer items-center justify-center self-stretch px-small outline-none text-muted hover:text-foreground focus-ring-inset disabled:cursor-not-allowed";
33
+ const SELECT_VALUE_MUTED_CLASS = "text-muted-foreground";
34
+ const SELECT_TRIGGER_BASE_CLASS = "flex shrink-0 origin-center cursor-pointer items-center justify-center self-stretch px-small outline-none text-muted-foreground hover:text-foreground focus-ring-inset disabled:cursor-not-allowed";
35
35
  const SELECT_TRIGGER_DISABLED_CLASS = "pointer-events-none";
36
36
  const SELECT_POPOVER_CLASS = "z-popover";
37
37
  const SELECT_POPOVER_BODY_CLASS = "gap-0 p-base";
@@ -1,5 +1,5 @@
1
1
  import { SeparatorOrientation } from './separatorTypes.js';
2
2
  export declare const SEPARATOR_BASE_CLASS = "box-border shrink-0";
3
- export declare const SEPARATOR_HORIZONTAL_CLASS = "my-xsmall h-0 w-full min-w-0 max-w-full border-t-token";
4
- export declare const SEPARATOR_VERTICAL_CLASS = "mx-xsmall min-h-[1.5rem] w-0 self-stretch border-s-token";
3
+ export declare const SEPARATOR_HORIZONTAL_CLASS = "h-0 w-full min-w-0 max-w-full border-t-token";
4
+ export declare const SEPARATOR_VERTICAL_CLASS = "min-h-[1.5rem] w-0 self-stretch border-s-token";
5
5
  export declare function separatorRootClass(orientation: SeparatorOrientation, className?: string): string;
@@ -1,7 +1,7 @@
1
1
  import { cn } from "../../../utils/cn.js";
2
2
  const SEPARATOR_BASE_CLASS = "box-border shrink-0";
3
- const SEPARATOR_HORIZONTAL_CLASS = "my-xsmall h-0 w-full min-w-0 max-w-full border-t-token";
4
- const SEPARATOR_VERTICAL_CLASS = "mx-xsmall min-h-[1.5rem] w-0 self-stretch border-s-token";
3
+ const SEPARATOR_HORIZONTAL_CLASS = "h-0 w-full min-w-0 max-w-full border-t-token";
4
+ const SEPARATOR_VERTICAL_CLASS = "min-h-[1.5rem] w-0 self-stretch border-s-token";
5
5
  function separatorRootClass(orientation, className) {
6
6
  return cn(
7
7
  SEPARATOR_BASE_CLASS,
@@ -4,7 +4,7 @@ export declare function sliderThicknessToCss(thickness: number | string): string
4
4
  export declare const SLIDER_SCALE_HEADER_BASE_CLASS = "flex items-baseline justify-between gap-xsmall";
5
5
  export declare const SLIDER_SCALE_HEADER_HORIZONTAL_CLASS = "w-full";
6
6
  export declare const SLIDER_SCALE_HEADER_VERTICAL_CLASS = "min-w-[8rem]";
7
- export declare const SLIDER_SCALE_VALUE_CLASS = "tabular-nums text-muted";
7
+ export declare const SLIDER_SCALE_VALUE_CLASS = "tabular-nums text-muted-foreground";
8
8
  export declare const SLIDER_RAIL_HEIGHT: Record<SliderSize, string>;
9
9
  export declare const SLIDER_RAIL_WIDTH: Record<SliderSize, string>;
10
10
  export declare const SLIDER_RAIL_LAYOUT_CLASS = "pointer-events-none absolute inset-0 overflow-hidden";
@@ -9,7 +9,7 @@ function sliderThicknessToCss(thickness) {
9
9
  const SLIDER_SCALE_HEADER_BASE_CLASS = "flex items-baseline justify-between gap-xsmall";
10
10
  const SLIDER_SCALE_HEADER_HORIZONTAL_CLASS = "w-full";
11
11
  const SLIDER_SCALE_HEADER_VERTICAL_CLASS = "min-w-[8rem]";
12
- const SLIDER_SCALE_VALUE_CLASS = "tabular-nums text-muted";
12
+ const SLIDER_SCALE_VALUE_CLASS = "tabular-nums text-muted-foreground";
13
13
  const SLIDER_RAIL_HEIGHT = {
14
14
  small: "h-[var(--selection-indicator-small)] min-h-[var(--selection-indicator-small)]",
15
15
  base: "h-[var(--selection-indicator-base)] min-h-[var(--selection-indicator-base)]",
@@ -85,7 +85,7 @@ function stepperTitleClass(orientation, size, slotClass, className) {
85
85
  }
86
86
  function stepperDescriptionClass(orientation, slotClass, className) {
87
87
  return cn(
88
- "min-w-0 text-xsmall text-muted",
88
+ "min-w-0 text-xsmall text-muted-foreground",
89
89
  orientation === "vertical" && "col-start-2 row-start-2",
90
90
  slotClass,
91
91
  className
@@ -14,9 +14,9 @@ export declare const SWITCH_LABEL_COMPOUND_SECONDARY_CLASS = "min-w-0";
14
14
  export declare const SWITCH_LABEL_MOTION_CLASS = "origin-center";
15
15
  export declare const SWITCH_LABEL_TEXT_CLASS = "font-w-mid";
16
16
  export declare const SWITCH_LABEL_TEXT_DANGER_CLASS = "text-danger";
17
- export declare const SWITCH_LABEL_TEXT_DISABLED_CLASS = "text-muted";
18
- export declare const SWITCH_HINT_DISABLED_CLASS = "text-muted";
19
- export declare const SWITCH_ERROR_DISABLED_CLASS = "text-muted";
17
+ export declare const SWITCH_LABEL_TEXT_DISABLED_CLASS = "text-muted-foreground";
18
+ export declare const SWITCH_HINT_DISABLED_CLASS = "text-muted-foreground";
19
+ export declare const SWITCH_ERROR_DISABLED_CLASS = "text-muted-foreground";
20
20
  export declare const SWITCH_SIMPLE_LABEL_WRAP_CLASS = "origin-center";
21
21
  export declare const SWITCH_SIMPLE_LABEL_TEXT_CLASS = "min-w-0 font-w-mid";
22
22
  export declare const SWITCH_ROOT_BASE_CLASS = "relative cursor-pointer select-none rounded-small text-start";
@@ -19,9 +19,9 @@ const SWITCH_LABEL_COMPOUND_SECONDARY_CLASS = "min-w-0";
19
19
  const SWITCH_LABEL_MOTION_CLASS = "origin-center";
20
20
  const SWITCH_LABEL_TEXT_CLASS = "font-w-mid";
21
21
  const SWITCH_LABEL_TEXT_DANGER_CLASS = "text-danger";
22
- const SWITCH_LABEL_TEXT_DISABLED_CLASS = "text-muted";
23
- const SWITCH_HINT_DISABLED_CLASS = "text-muted";
24
- const SWITCH_ERROR_DISABLED_CLASS = "text-muted";
22
+ const SWITCH_LABEL_TEXT_DISABLED_CLASS = "text-muted-foreground";
23
+ const SWITCH_HINT_DISABLED_CLASS = "text-muted-foreground";
24
+ const SWITCH_ERROR_DISABLED_CLASS = "text-muted-foreground";
25
25
  const SWITCH_SIMPLE_LABEL_WRAP_CLASS = "origin-center";
26
26
  const SWITCH_SIMPLE_LABEL_TEXT_CLASS = "min-w-0 font-w-mid";
27
27
  const SWITCH_ROOT_BASE_CLASS = "relative cursor-pointer select-none rounded-small text-start";
@@ -43,7 +43,7 @@ export declare const TABLE_COLUMN_LABEL_CLASS = "min-w-0 text-small text-start f
43
43
  export declare const TABLE_COLUMN_SORT_CHEVRON_BASE_CLASS = "shrink-0 origin-center";
44
44
  export declare const TABLE_COLUMN_SORT_CHEVRON_ICON_CLASS = "icon-xsmall";
45
45
  export declare const TABLE_COLUMN_SORT_CHEVRON_ACTIVE_CLASS = "text-primary opacity-100";
46
- export declare const TABLE_COLUMN_SORT_CHEVRON_IDLE_CLASS = "opacity-0 group-hover/col:opacity-40 text-muted";
46
+ export declare const TABLE_COLUMN_SORT_CHEVRON_IDLE_CLASS = "opacity-0 group-hover/col:opacity-40 text-muted-foreground";
47
47
  export declare const TABLE_BODY_EMPTY_CELL_CLASS = "px-large py-large text-center";
48
48
  export declare const TABLE_ROW_BASE_CLASS = "outline-none";
49
49
  export declare const TABLE_ROW_VARIANT_CLASS: Record<KitTableVariant, string>;
@@ -39,7 +39,7 @@ const TABLE_COLUMN_STICKY_CLASS = {
39
39
  const TABLE_COLUMN_VARIANT_CLASS = {
40
40
  default: "bg-secondary px-large py-mid text-start text-secondary-foreground whitespace-nowrap",
41
41
  secondary: "px-large py-mid text-start text-secondary-foreground whitespace-nowrap",
42
- toned: "px-large py-mid text-start text-muted whitespace-nowrap bg-transparent"
42
+ toned: "px-large py-mid text-start text-muted-foreground whitespace-nowrap bg-transparent"
43
43
  };
44
44
  const TABLE_COLUMN_SORTABLE_CLASS = "select-none";
45
45
  const TABLE_COLUMN_SORT_BUTTON_CLASS = "sort-btn inline-flex w-full min-w-0 items-center gap-xsmall border-0 bg-transparent text-inherit cursor-pointer outline-none focus-ring-inset rounded-small hover:text-foreground -mx-large -my-mid px-large py-mid box-border";
@@ -66,7 +66,7 @@ const TABLE_COLUMN_LABEL_CLASS = "min-w-0 text-small text-start font-w-mid";
66
66
  const TABLE_COLUMN_SORT_CHEVRON_BASE_CLASS = "shrink-0 origin-center";
67
67
  const TABLE_COLUMN_SORT_CHEVRON_ICON_CLASS = "icon-xsmall";
68
68
  const TABLE_COLUMN_SORT_CHEVRON_ACTIVE_CLASS = "text-primary opacity-100";
69
- const TABLE_COLUMN_SORT_CHEVRON_IDLE_CLASS = "opacity-0 group-hover/col:opacity-40 text-muted";
69
+ const TABLE_COLUMN_SORT_CHEVRON_IDLE_CLASS = "opacity-0 group-hover/col:opacity-40 text-muted-foreground";
70
70
  const TABLE_BODY_EMPTY_CELL_CLASS = "px-large py-large text-center";
71
71
  const TABLE_ROW_BASE_CLASS = "outline-none";
72
72
  const TABLE_ROW_VARIANT_CLASS = {
@@ -91,7 +91,7 @@ function tabsTabClass({
91
91
  isSurface && tabsSurfaceRadiusClass(visual.key),
92
92
  "focus-ring-inset",
93
93
  isDisabled ? "cursor-not-allowed opacity-45" : "cursor-pointer",
94
- isSelected ? "text-primary" : "text-muted hover:text-primary",
94
+ isSelected ? "text-primary" : "text-muted-foreground hover:text-primary",
95
95
  !isSelected && !isDisabled && TEXT_COLOR_TRANSITION,
96
96
  skinVisualClass(visual),
97
97
  slotClass,
@@ -71,13 +71,13 @@ function tagsInputTagTextClass(slotClass) {
71
71
  }
72
72
  function tagsInputRemoveClass(slotClass) {
73
73
  return cn(
74
- "icon-slot inline-flex size-[1em] shrink-0 items-center justify-center rounded-full p-0 text-muted focus-ring-inset",
74
+ "icon-slot inline-flex size-[1em] shrink-0 items-center justify-center rounded-full p-0 text-muted-foreground focus-ring-inset",
75
75
  slotClass
76
76
  );
77
77
  }
78
78
  function tagsInputFieldClass(slotClass) {
79
79
  return cn(
80
- "min-w-[6rem] flex-1 border-0 bg-transparent p-0 text-foreground outline-none placeholder:text-muted",
80
+ "min-w-[6rem] flex-1 border-0 bg-transparent p-0 text-foreground outline-none placeholder:text-muted-foreground",
81
81
  FIELD_CONTROL_MOBILE_NO_ZOOM_CLASS,
82
82
  slotClass
83
83
  );
@@ -2,13 +2,13 @@ import { FieldShellStatus } from '../utils/fieldShellVariant.js';
2
2
  import { TextAreaSize, TextAreaVariant } from './textAreaTypes.js';
3
3
  export declare const TEXTAREA_MIN_H: Record<TextAreaSize, string>;
4
4
  export declare const TEXTAREA_SHELL_LAYOUT_CLASS = "flex flex-col items-stretch";
5
- export declare const TEXTAREA_CONTROL_BASE_CLASS = "box-border block min-h-0 w-full flex-1 resize-none overflow-auto bg-transparent font-inherit text-foreground outline-none placeholder:text-muted appearance-none [field-sizing:content] field-control-mobile-no-zoom";
5
+ export declare const TEXTAREA_CONTROL_BASE_CLASS = "box-border block min-h-0 w-full flex-1 resize-none overflow-auto bg-transparent font-inherit text-foreground outline-none placeholder:text-muted-foreground appearance-none [field-sizing:content] field-control-mobile-no-zoom";
6
6
  /**
7
7
  * Resize grip — hardcoded SVG geometry (not theme border/size tokens).
8
8
  * Two 1px diagonals from the right edge to the bottom edge, fully inside the corner.
9
- * Stroke follows `currentColor` (`text-muted`).
9
+ * Stroke follows `currentColor` (`text-muted-foreground`).
10
10
  */
11
- export declare const TEXTAREA_RESIZE_GRIP_WRAP_CLASS = "pointer-events-none block size-[10px] shrink-0 overflow-hidden text-muted";
11
+ export declare const TEXTAREA_RESIZE_GRIP_WRAP_CLASS = "pointer-events-none block size-[10px] shrink-0 overflow-hidden text-muted-foreground";
12
12
  /** Hit area extends toward the start; grip sits flush in the block-end / inline-end corner. */
13
13
  export declare const TEXTAREA_RESIZE_HANDLE_BASE_CLASS = "absolute bottom-0 end-0 z-[2] m-0 flex touch-none select-none appearance-none border-0 bg-transparent items-end justify-end pe-0 pb-0 outline-none focus-ring-inset";
14
14
  export declare const TEXTAREA_RESIZE_HANDLE_DISABLED_CLASS = "cursor-not-allowed opacity-45";
@@ -12,8 +12,8 @@ const TEXTAREA_MIN_H = {
12
12
  large: "min-h-control-large"
13
13
  };
14
14
  const TEXTAREA_SHELL_LAYOUT_CLASS = "flex flex-col items-stretch";
15
- const TEXTAREA_CONTROL_BASE_CLASS = `box-border block min-h-0 w-full flex-1 resize-none overflow-auto bg-transparent font-inherit text-foreground outline-none placeholder:text-muted appearance-none [field-sizing:content] ${FIELD_CONTROL_MOBILE_NO_ZOOM_CLASS}`;
16
- const TEXTAREA_RESIZE_GRIP_WRAP_CLASS = "pointer-events-none block size-[10px] shrink-0 overflow-hidden text-muted";
15
+ const TEXTAREA_CONTROL_BASE_CLASS = `box-border block min-h-0 w-full flex-1 resize-none overflow-auto bg-transparent font-inherit text-foreground outline-none placeholder:text-muted-foreground appearance-none [field-sizing:content] ${FIELD_CONTROL_MOBILE_NO_ZOOM_CLASS}`;
16
+ const TEXTAREA_RESIZE_GRIP_WRAP_CLASS = "pointer-events-none block size-[10px] shrink-0 overflow-hidden text-muted-foreground";
17
17
  const TEXTAREA_RESIZE_HANDLE_BASE_CLASS = "absolute bottom-0 end-0 z-[2] m-0 flex touch-none select-none appearance-none border-0 bg-transparent items-end justify-end pe-0 pb-0 outline-none focus-ring-inset";
18
18
  const TEXTAREA_RESIZE_HANDLE_DISABLED_CLASS = "cursor-not-allowed opacity-45";
19
19
  const TEXTAREA_RESIZE_HANDLE_ENABLED_CLASS = "cursor-ns-resize";
@@ -11,7 +11,7 @@ export declare const TIME_FIELD_SEGMENT_DEFAULT_CLASS = "rounded-xsmall px-[leng
11
11
  export declare const TIME_FIELD_SEGMENT_FOCUSED_CLASS = "bg-primary text-primary-foreground";
12
12
  export declare const TIME_FIELD_SEGMENT_DISABLED_CLASS = "cursor-not-allowed";
13
13
  export declare const TIME_FIELD_SEGMENT_ENABLED_CLASS = "cursor-default";
14
- export declare const TIME_FIELD_SEGMENT_SEPARATOR_BASE_CLASS = "inline-flex w-[0.45em] shrink-0 select-none items-center justify-center self-center text-muted";
14
+ export declare const TIME_FIELD_SEGMENT_SEPARATOR_BASE_CLASS = "inline-flex w-[0.45em] shrink-0 select-none items-center justify-center self-center text-muted-foreground";
15
15
  export declare const TIME_FIELD_SEGMENT_SEPARATOR_SEGMENTED_CLASS = "mx-[length:var(--border-width)]";
16
16
  export declare const TIME_FIELD_SEGMENT_GROUP_CLASS = "inline-flex items-center";
17
17
  export declare const TIME_FIELD_SEGMENTS_BASE_CLASS = "relative flex min-w-0 flex-1 items-center font-mono tabular-nums leading-none";
@@ -21,7 +21,7 @@ const TIME_FIELD_SEGMENT_DEFAULT_CLASS = "rounded-xsmall px-[length:calc(var(--b
21
21
  const TIME_FIELD_SEGMENT_FOCUSED_CLASS = "bg-primary text-primary-foreground";
22
22
  const TIME_FIELD_SEGMENT_DISABLED_CLASS = "cursor-not-allowed";
23
23
  const TIME_FIELD_SEGMENT_ENABLED_CLASS = "cursor-default";
24
- const TIME_FIELD_SEGMENT_SEPARATOR_BASE_CLASS = "inline-flex w-[0.45em] shrink-0 select-none items-center justify-center self-center text-muted";
24
+ const TIME_FIELD_SEGMENT_SEPARATOR_BASE_CLASS = "inline-flex w-[0.45em] shrink-0 select-none items-center justify-center self-center text-muted-foreground";
25
25
  const TIME_FIELD_SEGMENT_SEPARATOR_SEGMENTED_CLASS = "mx-[length:var(--border-width)]";
26
26
  const TIME_FIELD_SEGMENT_GROUP_CLASS = "inline-flex items-center";
27
27
  const TIME_FIELD_SEGMENTS_BASE_CLASS = "relative flex min-w-0 flex-1 items-center font-mono tabular-nums leading-none";
@@ -11,7 +11,7 @@ export declare const TOAST_ICON_CLASS: Record<ToastStatus, string>;
11
11
  export declare const TOAST_COMPOUND_CONTENTS_CLASS = "contents";
12
12
  export declare const TOAST_TITLE_CLASS = "font-w-mid";
13
13
  export declare function toastTitleClass(status: ToastStatus): string;
14
- export declare const TOAST_DESCRIPTION_CLASS = "text-muted";
14
+ export declare const TOAST_DESCRIPTION_CLASS = "text-muted-foreground";
15
15
  export declare const TOAST_CLOSE_BUTTON_OFFSET_CLASS = "-mx-xsmall";
16
16
  export declare const TOAST_INDICATOR_BASE_CLASS = "inline-flex shrink-0 items-center justify-center";
17
17
  export declare function toastIndicatorClass(status: ToastStatus, iconSvgClass: string, slotClass?: string): string;
@@ -25,7 +25,7 @@ function toastTitleClass(status) {
25
25
  status !== "default" ? TOAST_ICON_CLASS[status] : ""
26
26
  );
27
27
  }
28
- const TOAST_DESCRIPTION_CLASS = "text-muted";
28
+ const TOAST_DESCRIPTION_CLASS = "text-muted-foreground";
29
29
  const TOAST_CLOSE_BUTTON_OFFSET_CLASS = "-mx-xsmall";
30
30
  const TOAST_INDICATOR_BASE_CLASS = "inline-flex shrink-0 items-center justify-center";
31
31
  function toastIndicatorClass(status, iconSvgClass, slotClass) {
@@ -18,7 +18,7 @@ export declare const TOOLTIP_GRID_GAP: Record<TooltipSize, string>;
18
18
  export declare const TOOLTIP_TRIGGER_BASE_CLASS = "inline-flex shrink-0 outline-none focus-ring";
19
19
  export declare const TOOLTIP_INDICATOR_BASE_CLASS = "inline-flex shrink-0";
20
20
  export declare const TOOLTIP_TITLE_CLASS = "font-w-mid";
21
- export declare const TOOLTIP_DESCRIPTION_MUTED_CLASS = "text-muted";
21
+ export declare const TOOLTIP_DESCRIPTION_MUTED_CLASS = "text-muted-foreground";
22
22
  export declare const TOOLTIP_ARROW_BASE_CLASS = "pointer-events-none absolute z-0 size-2 rotate-45";
23
23
  /** Arrow fill mirrors panel surface (no status tint). */
24
24
  export declare const TOOLTIP_ARROW_FILL_CLASS: Record<KitTooltipVariant, string>;
@@ -52,7 +52,7 @@ const TOOLTIP_GRID_GAP = {
52
52
  const TOOLTIP_TRIGGER_BASE_CLASS = "inline-flex shrink-0 outline-none focus-ring";
53
53
  const TOOLTIP_INDICATOR_BASE_CLASS = "inline-flex shrink-0";
54
54
  const TOOLTIP_TITLE_CLASS = "font-w-mid";
55
- const TOOLTIP_DESCRIPTION_MUTED_CLASS = "text-muted";
55
+ const TOOLTIP_DESCRIPTION_MUTED_CLASS = "text-muted-foreground";
56
56
  const TOOLTIP_ARROW_BASE_CLASS = "pointer-events-none absolute z-0 size-2 rotate-45";
57
57
  const TOOLTIP_ARROW_FILL_CLASS = {
58
58
  default: "bg-surface",
@@ -3,7 +3,7 @@ import { CONTROL_SIZE_LAYOUT } from "./sizeLayout/control.js";
3
3
  function affixSlotClass(size) {
4
4
  const layout = CONTROL_SIZE_LAYOUT[size];
5
5
  return cn(
6
- "flex self-stretch shrink-0 items-center text-muted",
6
+ "flex self-stretch shrink-0 items-center text-muted-foreground",
7
7
  layout.affixPadX,
8
8
  layout.affixText
9
9
  );
@@ -5,8 +5,8 @@ export declare const OPTION_LIST_ITEM_LABEL_TEXT_FILL_CLASS = "block min-w-0 w-f
5
5
  export declare const OPTION_LIST_ITEM_LABEL_MIN_WIDTH_CLASS = "min-w-0";
6
6
  export declare const OPTION_LIST_ITEM_LABEL_MOTION_CLASS = "origin-center";
7
7
  export declare const OPTION_LIST_ITEM_LABEL_TEXT_CLASS = "font-w-mid";
8
- export declare const OPTION_LIST_ITEM_LABEL_TEXT_DISABLED_CLASS = "text-muted";
9
- export declare const OPTION_LIST_ITEM_HINT_MUTED_CLASS = "text-muted";
8
+ export declare const OPTION_LIST_ITEM_LABEL_TEXT_DISABLED_CLASS = "text-muted-foreground";
9
+ export declare const OPTION_LIST_ITEM_HINT_MUTED_CLASS = "text-muted-foreground";
10
10
  export declare const OPTION_LIST_ITEM_HINT_ACTIVE_CLASS = "opacity-80";
11
11
  export declare const OPTION_LIST_ITEM_STRING_LABEL_CLASS = "opacity-90";
12
12
  export declare const OPTION_LIST_ITEM_ICON_WRAP_CLASS: string;
@@ -5,8 +5,8 @@ const OPTION_LIST_ITEM_LABEL_TEXT_FILL_CLASS = "block min-w-0 w-full";
5
5
  const OPTION_LIST_ITEM_LABEL_MIN_WIDTH_CLASS = "min-w-0";
6
6
  const OPTION_LIST_ITEM_LABEL_MOTION_CLASS = "origin-center";
7
7
  const OPTION_LIST_ITEM_LABEL_TEXT_CLASS = "font-w-mid";
8
- const OPTION_LIST_ITEM_LABEL_TEXT_DISABLED_CLASS = "text-muted";
9
- const OPTION_LIST_ITEM_HINT_MUTED_CLASS = "text-muted";
8
+ const OPTION_LIST_ITEM_LABEL_TEXT_DISABLED_CLASS = "text-muted-foreground";
9
+ const OPTION_LIST_ITEM_HINT_MUTED_CLASS = "text-muted-foreground";
10
10
  const OPTION_LIST_ITEM_HINT_ACTIVE_CLASS = "opacity-80";
11
11
  const OPTION_LIST_ITEM_ICON_WRAP_CLASS = `inline-flex items-center ${iconSlotClass("base")}`;
12
12
  const OPTION_LIST_ITEM_INDICATOR_SHELL_CLASS = "relative inline-flex shrink-0 items-center justify-center";
@@ -5,10 +5,10 @@ const SEMANTIC_STATUS_TEXT = {
5
5
  warning: "text-warning"
6
6
  };
7
7
  const SEMANTIC_STATUS_SURFACE_TINT = {
8
- danger: "bg-surface-tint-danger border-token",
9
- success: "bg-surface-tint-success border-token",
10
- info: "bg-surface-tint-info border-token",
11
- warning: "bg-surface-tint-warning border-token"
8
+ danger: "bg-surface-tint-danger border border-transparent",
9
+ success: "bg-surface-tint-success border border-transparent",
10
+ info: "bg-surface-tint-info border border-transparent",
11
+ warning: "bg-surface-tint-warning border border-transparent"
12
12
  };
13
13
  const SEMANTIC_STATUS_FILL = {
14
14
  danger: "bg-danger border border-transparent text-danger-foreground",
@@ -18,7 +18,7 @@ const PANEL_SIZE_LAYOUT = {
18
18
  descVariant: "small",
19
19
  bodyVariant: "small",
20
20
  titleClassName: "leading-none",
21
- descClassName: "text-muted",
21
+ descClassName: "text-muted-foreground",
22
22
  iconClass: "icon-mid",
23
23
  footerButtonSize: "small",
24
24
  closeButtonSize: "small"
@@ -40,7 +40,7 @@ const PANEL_SIZE_LAYOUT = {
40
40
  descVariant: "base",
41
41
  bodyVariant: "base",
42
42
  titleClassName: "leading-none",
43
- descClassName: "text-muted",
43
+ descClassName: "text-muted-foreground",
44
44
  iconClass: "icon-large",
45
45
  footerButtonSize: "base",
46
46
  closeButtonSize: "small"
@@ -62,7 +62,7 @@ const PANEL_SIZE_LAYOUT = {
62
62
  descVariant: "base",
63
63
  bodyVariant: "base",
64
64
  titleClassName: "leading-none",
65
- descClassName: "text-muted",
65
+ descClassName: "text-muted-foreground",
66
66
  iconClass: "icon-large",
67
67
  footerButtonSize: "base",
68
68
  closeButtonSize: "base"
@@ -84,7 +84,7 @@ const PANEL_SIZE_LAYOUT = {
84
84
  descVariant: "base",
85
85
  bodyVariant: "base",
86
86
  titleClassName: "leading-none",
87
- descClassName: "text-muted",
87
+ descClassName: "text-muted-foreground",
88
88
  iconClass: "icon-large",
89
89
  footerButtonSize: "base",
90
90
  closeButtonSize: "base"
@@ -1,6 +1,6 @@
1
1
  import { ThemeColors, ThemeMode } from '../theme/themeDefaults.js';
2
2
  import { ThemeEditorState } from './themeEditorState.js';
3
- export type ColorPresetKey = "default" | "contrast" | "ocean" | "violet" | "emerald" | "rose" | "amber" | "slate" | "toffee" | "berry" | "paprika" | "cherry" | "rustic" | "earthy" | "peach" | "sand" | "bold" | "autumn" | "harvest" | "mystic" | "dreamland" | "lavender";
3
+ export type ColorPresetKey = "default" | "contrast" | "zinc" | "stone" | "graphite" | "mist" | "sage" | "linen" | "ocean" | "violet" | "emerald" | "rose" | "amber" | "slate" | "toffee" | "berry" | "paprika" | "cherry" | "rustic" | "earthy" | "peach" | "sand" | "bold" | "autumn" | "harvest" | "mystic" | "dreamland" | "lavender";
4
4
  export type ColorPresetSlice = {
5
5
  colors: ThemeColors;
6
6
  shadowOpacity?: number;
@@ -1,6 +1,6 @@
1
1
  import { ensureModePalettes, activateThemeModePalette } from "../theme/themeDefaults.js";
2
2
  import { createDefaultEditorState } from "./themeEditorState.js";
3
- import { LAVENDER_LIGHT_COLORS, LAVENDER_DARK_COLORS, DREAMLAND_LIGHT_COLORS, DREAMLAND_DARK_COLORS, MYSTIC_LIGHT_COLORS, MYSTIC_DARK_COLORS, HARVEST_LIGHT_COLORS, HARVEST_DARK_COLORS, AUTUMN_LIGHT_COLORS, AUTUMN_DARK_COLORS, BOLD_LIGHT_COLORS, BOLD_DARK_COLORS, SAND_LIGHT_COLORS, SAND_DARK_COLORS, PEACH_LIGHT_COLORS, PEACH_DARK_COLORS, EARTHY_LIGHT_COLORS, EARTHY_DARK_COLORS, RUSTIC_LIGHT_COLORS, RUSTIC_DARK_COLORS, CHERRY_LIGHT_COLORS, CHERRY_DARK_COLORS, PAPRIKA_LIGHT_COLORS, PAPRIKA_DARK_COLORS, BERRY_LIGHT_COLORS, BERRY_DARK_COLORS, TOFFEE_LIGHT_COLORS, TOFFEE_DARK_COLORS, SLATE_LIGHT_COLORS, SLATE_DARK_COLORS, AMBER_LIGHT_COLORS, AMBER_DARK_COLORS, ROSE_LIGHT_COLORS, ROSE_DARK_COLORS, EMERALD_LIGHT_COLORS, EMERALD_DARK_COLORS, VIOLET_LIGHT_COLORS, VIOLET_DARK_COLORS, OCEAN_LIGHT_COLORS, OCEAN_DARK_COLORS, CONTRAST_LIGHT_COLORS, CONTRAST_DARK_COLORS } from "../theme/namedPalettes.js";
3
+ import { LAVENDER_LIGHT_COLORS, LAVENDER_DARK_COLORS, DREAMLAND_LIGHT_COLORS, DREAMLAND_DARK_COLORS, MYSTIC_LIGHT_COLORS, MYSTIC_DARK_COLORS, HARVEST_LIGHT_COLORS, HARVEST_DARK_COLORS, AUTUMN_LIGHT_COLORS, AUTUMN_DARK_COLORS, BOLD_LIGHT_COLORS, BOLD_DARK_COLORS, SAND_LIGHT_COLORS, SAND_DARK_COLORS, PEACH_LIGHT_COLORS, PEACH_DARK_COLORS, EARTHY_LIGHT_COLORS, EARTHY_DARK_COLORS, RUSTIC_LIGHT_COLORS, RUSTIC_DARK_COLORS, CHERRY_LIGHT_COLORS, CHERRY_DARK_COLORS, PAPRIKA_LIGHT_COLORS, PAPRIKA_DARK_COLORS, BERRY_LIGHT_COLORS, BERRY_DARK_COLORS, TOFFEE_LIGHT_COLORS, TOFFEE_DARK_COLORS, SLATE_LIGHT_COLORS, SLATE_DARK_COLORS, AMBER_LIGHT_COLORS, AMBER_DARK_COLORS, ROSE_LIGHT_COLORS, ROSE_DARK_COLORS, EMERALD_LIGHT_COLORS, EMERALD_DARK_COLORS, VIOLET_LIGHT_COLORS, VIOLET_DARK_COLORS, OCEAN_LIGHT_COLORS, OCEAN_DARK_COLORS, LINEN_LIGHT_COLORS, LINEN_DARK_COLORS, SAGE_LIGHT_COLORS, SAGE_DARK_COLORS, MIST_LIGHT_COLORS, MIST_DARK_COLORS, GRAPHITE_LIGHT_COLORS, GRAPHITE_DARK_COLORS, STONE_LIGHT_COLORS, STONE_DARK_COLORS, ZINC_LIGHT_COLORS, ZINC_DARK_COLORS, CONTRAST_LIGHT_COLORS, CONTRAST_DARK_COLORS } from "../theme/namedPalettes.js";
4
4
  import { LIGHT_COLORS, DARK_COLORS } from "../theme/themePalettes.js";
5
5
  function def(dark, light) {
6
6
  return { dark, light };
@@ -11,6 +11,13 @@ const COLOR_PRESET_DEFINITIONS = {
11
11
  { colors: CONTRAST_DARK_COLORS, shadowOpacity: 1.25 },
12
12
  { colors: CONTRAST_LIGHT_COLORS, shadowOpacity: 1.25 }
13
13
  ),
14
+ // Neutral presets — low-chroma surfaces with gray / ink primaries.
15
+ zinc: def({ colors: ZINC_DARK_COLORS }, { colors: ZINC_LIGHT_COLORS }),
16
+ stone: def({ colors: STONE_DARK_COLORS }, { colors: STONE_LIGHT_COLORS }),
17
+ graphite: def({ colors: GRAPHITE_DARK_COLORS }, { colors: GRAPHITE_LIGHT_COLORS }),
18
+ mist: def({ colors: MIST_DARK_COLORS }, { colors: MIST_LIGHT_COLORS }),
19
+ sage: def({ colors: SAGE_DARK_COLORS }, { colors: SAGE_LIGHT_COLORS }),
20
+ linen: def({ colors: LINEN_DARK_COLORS }, { colors: LINEN_LIGHT_COLORS }),
14
21
  ocean: def({ colors: OCEAN_DARK_COLORS }, { colors: OCEAN_LIGHT_COLORS }),
15
22
  violet: def({ colors: VIOLET_DARK_COLORS }, { colors: VIOLET_LIGHT_COLORS }),
16
23
  emerald: def({ colors: EMERALD_DARK_COLORS }, { colors: EMERALD_LIGHT_COLORS }),
package/dist/studio.d.ts CHANGED
@@ -17,7 +17,7 @@ export { designToSkin } from './studio/designDocument.js';
17
17
  export { createDefaultEditorState, type ThemeEditorState, } from './studio/themeEditorState.js';
18
18
  export { applyColorPresetToState, applyThemeModeToState, COLOR_PRESET_DEFINITIONS, colorPresetSlice, type ColorPresetDefinition, type ColorPresetKey, type ColorPresetSlice, } from './studio/colorPresets.js';
19
19
  export { applyThemePresetToState, FONT_PRESETS, LAYOUT_PRESETS, MONO_FONT_PRESETS, THEME_PRESETS, THEME_PRESET_LIST, type LayoutPresetKey, type ThemePresetDefinition, type ThemePresetKey, type ThemePresetTokenOverrides, type ThemePresetTokens, } from './studio/themePresets.js';
20
- export { AMBER_DARK_COLORS, AMBER_LIGHT_COLORS, AUTUMN_DARK_COLORS, AUTUMN_LIGHT_COLORS, BERRY_DARK_COLORS, BERRY_LIGHT_COLORS, BOLD_DARK_COLORS, BOLD_LIGHT_COLORS, CHERRY_DARK_COLORS, CHERRY_LIGHT_COLORS, CONTRAST_DARK_COLORS, CONTRAST_LIGHT_COLORS, DARK_COLORS, DREAMLAND_DARK_COLORS, DREAMLAND_LIGHT_COLORS, EARTHY_DARK_COLORS, EARTHY_LIGHT_COLORS, EMERALD_DARK_COLORS, EMERALD_LIGHT_COLORS, HARVEST_DARK_COLORS, HARVEST_LIGHT_COLORS, LAVENDER_DARK_COLORS, LAVENDER_LIGHT_COLORS, LIGHT_COLORS, MYSTIC_DARK_COLORS, MYSTIC_LIGHT_COLORS, OCEAN_DARK_COLORS, OCEAN_LIGHT_COLORS, PAPRIKA_DARK_COLORS, PAPRIKA_LIGHT_COLORS, PEACH_DARK_COLORS, PEACH_LIGHT_COLORS, ROSE_DARK_COLORS, ROSE_LIGHT_COLORS, RUSTIC_DARK_COLORS, RUSTIC_LIGHT_COLORS, SAND_DARK_COLORS, SAND_LIGHT_COLORS, SLATE_DARK_COLORS, SLATE_LIGHT_COLORS, TOFFEE_DARK_COLORS, TOFFEE_LIGHT_COLORS, VIOLET_DARK_COLORS, VIOLET_LIGHT_COLORS, } from './theme/namedPalettes.js';
20
+ export { AMBER_DARK_COLORS, AMBER_LIGHT_COLORS, AUTUMN_DARK_COLORS, AUTUMN_LIGHT_COLORS, BERRY_DARK_COLORS, BERRY_LIGHT_COLORS, BOLD_DARK_COLORS, BOLD_LIGHT_COLORS, CHERRY_DARK_COLORS, CHERRY_LIGHT_COLORS, CONTRAST_DARK_COLORS, CONTRAST_LIGHT_COLORS, DARK_COLORS, DREAMLAND_DARK_COLORS, DREAMLAND_LIGHT_COLORS, EARTHY_DARK_COLORS, EARTHY_LIGHT_COLORS, EMERALD_DARK_COLORS, EMERALD_LIGHT_COLORS, GRAPHITE_DARK_COLORS, GRAPHITE_LIGHT_COLORS, HARVEST_DARK_COLORS, HARVEST_LIGHT_COLORS, LAVENDER_DARK_COLORS, LAVENDER_LIGHT_COLORS, LIGHT_COLORS, LINEN_DARK_COLORS, LINEN_LIGHT_COLORS, MIST_DARK_COLORS, MIST_LIGHT_COLORS, MYSTIC_DARK_COLORS, MYSTIC_LIGHT_COLORS, OCEAN_DARK_COLORS, OCEAN_LIGHT_COLORS, PAPRIKA_DARK_COLORS, PAPRIKA_LIGHT_COLORS, PEACH_DARK_COLORS, PEACH_LIGHT_COLORS, ROSE_DARK_COLORS, ROSE_LIGHT_COLORS, RUSTIC_DARK_COLORS, RUSTIC_LIGHT_COLORS, SAGE_DARK_COLORS, SAGE_LIGHT_COLORS, SAND_DARK_COLORS, SAND_LIGHT_COLORS, SLATE_DARK_COLORS, SLATE_LIGHT_COLORS, STONE_DARK_COLORS, STONE_LIGHT_COLORS, TOFFEE_DARK_COLORS, TOFFEE_LIGHT_COLORS, VIOLET_DARK_COLORS, VIOLET_LIGHT_COLORS, ZINC_DARK_COLORS, ZINC_LIGHT_COLORS, } from './theme/namedPalettes.js';
21
21
  export { applyThemeTokens, clearThemeInlineTokens, createDefaultThemeState, exportThemeCss, motionConfigFromThemeState, type ThemeColors, type ThemeTokenState, } from './theme/themeDefaults.js';
22
22
  export { resolveThemeTokenState, themeTokenStateToConfig } from './theme/themeConfig.js';
23
23
  export { KIT_MOTION_RECIPE_META } from './components/core/utils/slotMotion/kitMotionRecipeMeta.js';
package/dist/studio.js CHANGED
@@ -9,7 +9,7 @@ import { paletteFromBrand } from "./studio/paletteFromBrand.js";
9
9
  import { createDefaultEditorState } from "./studio/themeEditorState.js";
10
10
  import { COLOR_PRESET_DEFINITIONS, applyColorPresetToState, applyThemeModeToState, colorPresetSlice } from "./studio/colorPresets.js";
11
11
  import { FONT_PRESETS, LAYOUT_PRESETS, MONO_FONT_PRESETS, THEME_PRESETS, THEME_PRESET_LIST, applyThemePresetToState } from "./studio/themePresets.js";
12
- import { AMBER_DARK_COLORS, AMBER_LIGHT_COLORS, AUTUMN_DARK_COLORS, AUTUMN_LIGHT_COLORS, BERRY_DARK_COLORS, BERRY_LIGHT_COLORS, BOLD_DARK_COLORS, BOLD_LIGHT_COLORS, CHERRY_DARK_COLORS, CHERRY_LIGHT_COLORS, CONTRAST_DARK_COLORS, CONTRAST_LIGHT_COLORS, DREAMLAND_DARK_COLORS, DREAMLAND_LIGHT_COLORS, EARTHY_DARK_COLORS, EARTHY_LIGHT_COLORS, EMERALD_DARK_COLORS, EMERALD_LIGHT_COLORS, HARVEST_DARK_COLORS, HARVEST_LIGHT_COLORS, LAVENDER_DARK_COLORS, LAVENDER_LIGHT_COLORS, MYSTIC_DARK_COLORS, MYSTIC_LIGHT_COLORS, OCEAN_DARK_COLORS, OCEAN_LIGHT_COLORS, PAPRIKA_DARK_COLORS, PAPRIKA_LIGHT_COLORS, PEACH_DARK_COLORS, PEACH_LIGHT_COLORS, ROSE_DARK_COLORS, ROSE_LIGHT_COLORS, RUSTIC_DARK_COLORS, RUSTIC_LIGHT_COLORS, SAND_DARK_COLORS, SAND_LIGHT_COLORS, SLATE_DARK_COLORS, SLATE_LIGHT_COLORS, TOFFEE_DARK_COLORS, TOFFEE_LIGHT_COLORS, VIOLET_DARK_COLORS, VIOLET_LIGHT_COLORS } from "./theme/namedPalettes.js";
12
+ import { AMBER_DARK_COLORS, AMBER_LIGHT_COLORS, AUTUMN_DARK_COLORS, AUTUMN_LIGHT_COLORS, BERRY_DARK_COLORS, BERRY_LIGHT_COLORS, BOLD_DARK_COLORS, BOLD_LIGHT_COLORS, CHERRY_DARK_COLORS, CHERRY_LIGHT_COLORS, CONTRAST_DARK_COLORS, CONTRAST_LIGHT_COLORS, DREAMLAND_DARK_COLORS, DREAMLAND_LIGHT_COLORS, EARTHY_DARK_COLORS, EARTHY_LIGHT_COLORS, EMERALD_DARK_COLORS, EMERALD_LIGHT_COLORS, GRAPHITE_DARK_COLORS, GRAPHITE_LIGHT_COLORS, HARVEST_DARK_COLORS, HARVEST_LIGHT_COLORS, LAVENDER_DARK_COLORS, LAVENDER_LIGHT_COLORS, LINEN_DARK_COLORS, LINEN_LIGHT_COLORS, MIST_DARK_COLORS, MIST_LIGHT_COLORS, MYSTIC_DARK_COLORS, MYSTIC_LIGHT_COLORS, OCEAN_DARK_COLORS, OCEAN_LIGHT_COLORS, PAPRIKA_DARK_COLORS, PAPRIKA_LIGHT_COLORS, PEACH_DARK_COLORS, PEACH_LIGHT_COLORS, ROSE_DARK_COLORS, ROSE_LIGHT_COLORS, RUSTIC_DARK_COLORS, RUSTIC_LIGHT_COLORS, SAGE_DARK_COLORS, SAGE_LIGHT_COLORS, SAND_DARK_COLORS, SAND_LIGHT_COLORS, SLATE_DARK_COLORS, SLATE_LIGHT_COLORS, STONE_DARK_COLORS, STONE_LIGHT_COLORS, TOFFEE_DARK_COLORS, TOFFEE_LIGHT_COLORS, VIOLET_DARK_COLORS, VIOLET_LIGHT_COLORS, ZINC_DARK_COLORS, ZINC_LIGHT_COLORS } from "./theme/namedPalettes.js";
13
13
  import { applyThemeTokens, clearThemeInlineTokens, createDefaultThemeState, exportThemeCss, motionConfigFromThemeState } from "./theme/themeDefaults.js";
14
14
  import { resolveThemeTokenState, themeTokenStateToConfig } from "./theme/themeConfig.js";
15
15
  import { KIT_MOTION_RECIPE_META } from "./components/core/utils/slotMotion/kitMotionRecipeMeta.js";
@@ -42,6 +42,8 @@ export {
42
42
  EMERALD_LIGHT_COLORS,
43
43
  FONT_PRESETS,
44
44
  FORCE_STATE_TOKENS,
45
+ GRAPHITE_DARK_COLORS,
46
+ GRAPHITE_LIGHT_COLORS,
45
47
  HARVEST_DARK_COLORS,
46
48
  HARVEST_LIGHT_COLORS,
47
49
  KIT_MOTION_RECIPE_META,
@@ -49,6 +51,10 @@ export {
49
51
  LAVENDER_LIGHT_COLORS,
50
52
  LAYOUT_PRESETS,
51
53
  LIGHT_COLORS,
54
+ LINEN_DARK_COLORS,
55
+ LINEN_LIGHT_COLORS,
56
+ MIST_DARK_COLORS,
57
+ MIST_LIGHT_COLORS,
52
58
  MONO_FONT_PRESETS,
53
59
  MYSTIC_DARK_COLORS,
54
60
  MYSTIC_LIGHT_COLORS,
@@ -62,6 +68,8 @@ export {
62
68
  ROSE_LIGHT_COLORS,
63
69
  RUSTIC_DARK_COLORS,
64
70
  RUSTIC_LIGHT_COLORS,
71
+ SAGE_DARK_COLORS,
72
+ SAGE_LIGHT_COLORS,
65
73
  SAND_DARK_COLORS,
66
74
  SAND_LIGHT_COLORS,
67
75
  SKIN_LAYER_SLOTS,
@@ -69,6 +77,8 @@ export {
69
77
  SKIN_TARGET_SLOTS,
70
78
  SLATE_DARK_COLORS,
71
79
  SLATE_LIGHT_COLORS,
80
+ STONE_DARK_COLORS,
81
+ STONE_LIGHT_COLORS,
72
82
  StudioModeProvider,
73
83
  THEME_PRESETS,
74
84
  THEME_PRESET_LIST,
@@ -77,6 +87,8 @@ export {
77
87
  TOFFEE_LIGHT_COLORS,
78
88
  VIOLET_DARK_COLORS,
79
89
  VIOLET_LIGHT_COLORS,
90
+ ZINC_DARK_COLORS,
91
+ ZINC_LIGHT_COLORS,
80
92
  applyColorPresetToState,
81
93
  applyThemeModeToState,
82
94
  applyThemePresetToState,
@@ -43,3 +43,15 @@ export declare const TOFFEE_DARK_COLORS: ThemeColors;
43
43
  export declare const TOFFEE_LIGHT_COLORS: ThemeColors;
44
44
  export declare const VIOLET_DARK_COLORS: ThemeColors;
45
45
  export declare const VIOLET_LIGHT_COLORS: ThemeColors;
46
+ export declare const ZINC_DARK_COLORS: ThemeColors;
47
+ export declare const ZINC_LIGHT_COLORS: ThemeColors;
48
+ export declare const STONE_DARK_COLORS: ThemeColors;
49
+ export declare const STONE_LIGHT_COLORS: ThemeColors;
50
+ export declare const GRAPHITE_DARK_COLORS: ThemeColors;
51
+ export declare const GRAPHITE_LIGHT_COLORS: ThemeColors;
52
+ export declare const MIST_DARK_COLORS: ThemeColors;
53
+ export declare const MIST_LIGHT_COLORS: ThemeColors;
54
+ export declare const SAGE_DARK_COLORS: ThemeColors;
55
+ export declare const SAGE_LIGHT_COLORS: ThemeColors;
56
+ export declare const LINEN_DARK_COLORS: ThemeColors;
57
+ export declare const LINEN_LIGHT_COLORS: ThemeColors;