pixelize-design-library 2.4.2-beta.1 → 2.4.2-beta.11

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 (201) hide show
  1. package/dist/Components/Accordion/Accordion.js +2 -2
  2. package/dist/Components/Button/Button.styles.js +4 -3
  3. package/dist/Components/ButtonGroupIcon/ButtonGroupIcon.js +6 -6
  4. package/dist/Components/Checkbox/Checkbox.js +1 -1
  5. package/dist/Components/Checkbox/Checkbox.styles.js +2 -0
  6. package/dist/Components/Common/fieldStyles.js +1 -1
  7. package/dist/Components/CopyButton/CopyButton.js +1 -1
  8. package/dist/Components/CustomModulesTable/EditModuleModal.js +1 -1
  9. package/dist/Components/DatePicker/CalendarPanel.js +1 -1
  10. package/dist/Components/DatePicker/RangeDatePicker.js +2 -2
  11. package/dist/Components/DatePicker/SingleDatePicker.js +2 -2
  12. package/dist/Components/DatePicker/TimeOnlyPicker.js +1 -1
  13. package/dist/Components/Dropdown/DropDown.js +3 -13
  14. package/dist/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.js +1 -1
  15. package/dist/Components/FilePreview/FilePreview.js +1 -1
  16. package/dist/Components/FilterSidebar/FilterSidebar.js +4 -4
  17. package/dist/Components/Form/FormWrapper.js +1 -1
  18. package/dist/Components/Header/HeaderActions.d.ts +3 -1
  19. package/dist/Components/Header/HeaderActions.js +7 -3
  20. package/dist/Components/Input/TextInput.styles.js +6 -4
  21. package/dist/Components/InputTextArea/InputTextArea.style.js +5 -4
  22. package/dist/Components/KanbanBoard/KanbanBoard.js +5 -45
  23. package/dist/Components/LimitReachedModal/LimitReachedModal.js +4 -5
  24. package/dist/Components/MultiSelect/MultiSelect.js +1 -1
  25. package/dist/Components/NavigationBar/NavigationBar.js +3 -3
  26. package/dist/Components/NoteTextArea/NoteTextArea.js +5 -3
  27. package/dist/Components/NumberInput/NumberInput.styles.js +5 -4
  28. package/dist/Components/OrgSwitcher/OrgSwitcher.js +2 -2
  29. package/dist/Components/PinInput/PinInput.js +1 -1
  30. package/dist/Components/PlanPill/PlanPill.js +5 -5
  31. package/dist/Components/PlanPill/planPillGradient.d.ts +2 -14
  32. package/dist/Components/PlanPill/planPillGradient.js +3 -15
  33. package/dist/Components/ProductCard/ProductPrice.js +1 -1
  34. package/dist/Components/ProfileCard/ProfileCard.js +1 -1
  35. package/dist/Components/ProfilePhotoViewer/ProfilePhotoViewer.js +1 -1
  36. package/dist/Components/RadioButton/RadioButton.js +1 -1
  37. package/dist/Components/Reorder/Reorder.js +1 -1
  38. package/dist/Components/ScrollbarBox/ScrollbarBox.d.ts +13 -0
  39. package/dist/Components/ScrollbarBox/ScrollbarBox.js +11 -0
  40. package/dist/Components/SearchSelect/SearchSelect.js +5 -4
  41. package/dist/Components/Select/Select.styles.js +3 -2
  42. package/dist/Components/SelectSearch/SelectSearch.js +3 -3
  43. package/dist/Components/SelectV2/SelectV2.js +5 -11
  44. package/dist/Components/SideBar/SecondaryBar.js +1 -1
  45. package/dist/Components/StageProgress/StageProgress.js +2 -9
  46. package/dist/Components/Table/Table.d.ts +1 -1
  47. package/dist/Components/Table/Table.js +17 -24
  48. package/dist/Components/Table/TableProps.d.ts +4 -0
  49. package/dist/Components/Table/components/TableActions.js +2 -2
  50. package/dist/Components/Table/components/TableBody.js +41 -12
  51. package/dist/Components/Table/components/TableGroupRow.js +1 -1
  52. package/dist/Components/Table/components/TableHeader.js +21 -8
  53. package/dist/Components/Table/components/TableSearch.js +1 -1
  54. package/dist/Components/Table/filters/ActiveFilters.js +2 -18
  55. package/dist/Components/Table/settings/ManageColumns.js +3 -17
  56. package/dist/Components/Table/settings/TableSettings.js +5 -11
  57. package/dist/Components/Table/variants/TableVariantContext.d.ts +4 -0
  58. package/dist/Components/Table/variants/TableVariantContext.js +17 -0
  59. package/dist/Components/Table/variants/classic.d.ts +6 -0
  60. package/dist/Components/Table/variants/classic.js +47 -0
  61. package/dist/Components/Table/variants/index.d.ts +7 -0
  62. package/dist/Components/Table/variants/index.js +27 -0
  63. package/dist/Components/Table/variants/pillInk.d.ts +6 -0
  64. package/dist/Components/Table/variants/pillInk.js +21 -0
  65. package/dist/Components/Table/variants/studio.d.ts +6 -0
  66. package/dist/Components/Table/variants/studio.js +50 -0
  67. package/dist/Components/Table/variants/tokens.d.ts +49 -0
  68. package/dist/Components/Table/variants/tokens.js +2 -0
  69. package/dist/Components/Timeline/Timeline.js +2 -2
  70. package/dist/Components/Toaster/Toaster.js +1 -1
  71. package/dist/Components/Trail/TrailWorks.js +1 -1
  72. package/dist/Components/UpgradeButton/UpgradeButton.js +3 -3
  73. package/dist/Constants/Sidebar.js +3 -2
  74. package/dist/Theme/chakra/Menu.styles.d.ts +9 -6
  75. package/dist/Theme/chakra/Menu.styles.js +11 -5
  76. package/dist/Theme/chakra/Popover.styles.d.ts +6 -3
  77. package/dist/Theme/chakra/Popover.styles.js +11 -6
  78. package/dist/Theme/chakra/Switch.styles.d.ts +1 -1
  79. package/dist/Theme/chakra/Switch.styles.js +7 -9
  80. package/dist/Theme/chakra/componentStyles.d.ts +15 -9
  81. package/dist/Theme/chakra/createBrandTheme.js +3 -16
  82. package/dist/Theme/provider/PixelizeThemeProvider.js +18 -20
  83. package/dist/Theme/provider/ThemeSwitcher.js +13 -20
  84. package/dist/Theme/tokens/brands/emerald/palette.light.js +5 -7
  85. package/dist/Theme/tokens/brands/lavender/palette.light.js +5 -116
  86. package/dist/Theme/tokens/brands/meadow/palette.light.js +5 -7
  87. package/dist/Theme/tokens/brands/neutrals.d.ts +8 -0
  88. package/dist/Theme/tokens/brands/neutrals.js +119 -0
  89. package/dist/Theme/tokens/brands/radiant/palette.light.js +5 -7
  90. package/dist/Theme/tokens/brands/rosewood/palette.light.js +5 -7
  91. package/dist/Theme/tokens/brands/skyline/palette.light.js +5 -7
  92. package/dist/Theme/tokens/brands/slate/palette.light.js +6 -12
  93. package/dist/Theme/tokens/brands/storefront/palette.light.js +5 -7
  94. package/dist/Theme/tokens/builders/brandInk.d.ts +11 -0
  95. package/dist/Theme/tokens/builders/brandInk.js +106 -0
  96. package/dist/Theme/tokens/builders/chartColorsFromTheme.js +1 -1
  97. package/dist/Theme/tokens/builders/gradientInk.d.ts +22 -0
  98. package/dist/Theme/tokens/builders/gradientInk.js +28 -0
  99. package/dist/Theme/tokens/builders/index.d.ts +3 -0
  100. package/dist/Theme/tokens/builders/index.js +3 -0
  101. package/dist/Theme/tokens/builders/outlineRung.d.ts +32 -3
  102. package/dist/Theme/tokens/builders/outlineRung.js +74 -5
  103. package/dist/Theme/tokens/builders/placeholderInk.d.ts +19 -0
  104. package/dist/Theme/tokens/builders/placeholderInk.js +35 -0
  105. package/dist/Theme/tokens/builders/resolvedRungs.d.ts +5 -1
  106. package/dist/Theme/tokens/builders/resolvedRungs.js +7 -2
  107. package/dist/Theme/tokens/builders/scrollbar.d.ts +12 -0
  108. package/dist/Theme/tokens/builders/scrollbar.js +57 -0
  109. package/dist/Theme/tokens/builders/surfaceRungs.d.ts +5 -0
  110. package/dist/Theme/tokens/builders/surfaceRungs.js +20 -5
  111. package/dist/Theme/tokens/types.d.ts +5 -0
  112. package/dist/esm/Components/Accordion/Accordion.js +2 -2
  113. package/dist/esm/Components/Button/Button.styles.js +5 -4
  114. package/dist/esm/Components/ButtonGroupIcon/ButtonGroupIcon.js +6 -6
  115. package/dist/esm/Components/Checkbox/Checkbox.js +1 -1
  116. package/dist/esm/Components/Checkbox/Checkbox.styles.js +2 -0
  117. package/dist/esm/Components/Common/fieldStyles.js +1 -1
  118. package/dist/esm/Components/CopyButton/CopyButton.js +1 -1
  119. package/dist/esm/Components/CustomModulesTable/EditModuleModal.js +1 -1
  120. package/dist/esm/Components/DatePicker/CalendarPanel.js +1 -1
  121. package/dist/esm/Components/DatePicker/RangeDatePicker.js +2 -2
  122. package/dist/esm/Components/DatePicker/SingleDatePicker.js +2 -2
  123. package/dist/esm/Components/DatePicker/TimeOnlyPicker.js +1 -1
  124. package/dist/esm/Components/Dropdown/DropDown.js +3 -13
  125. package/dist/esm/Components/EmailCards/VerifyEmailOtp/VerifyEmailOtp.js +1 -1
  126. package/dist/esm/Components/FilePreview/FilePreview.js +1 -1
  127. package/dist/esm/Components/FilterSidebar/FilterSidebar.js +4 -4
  128. package/dist/esm/Components/Form/FormWrapper.js +1 -1
  129. package/dist/esm/Components/Header/HeaderActions.js +8 -4
  130. package/dist/esm/Components/Input/TextInput.styles.js +6 -4
  131. package/dist/esm/Components/InputTextArea/InputTextArea.style.js +5 -4
  132. package/dist/esm/Components/KanbanBoard/KanbanBoard.js +5 -45
  133. package/dist/esm/Components/LimitReachedModal/LimitReachedModal.js +4 -5
  134. package/dist/esm/Components/MultiSelect/MultiSelect.js +1 -1
  135. package/dist/esm/Components/NavigationBar/NavigationBar.js +3 -3
  136. package/dist/esm/Components/NoteTextArea/NoteTextArea.js +5 -3
  137. package/dist/esm/Components/NumberInput/NumberInput.styles.js +5 -4
  138. package/dist/esm/Components/OrgSwitcher/OrgSwitcher.js +2 -2
  139. package/dist/esm/Components/PinInput/PinInput.js +1 -1
  140. package/dist/esm/Components/PlanPill/PlanPill.js +6 -6
  141. package/dist/esm/Components/PlanPill/planPillGradient.js +3 -15
  142. package/dist/esm/Components/ProductCard/ProductPrice.js +1 -1
  143. package/dist/esm/Components/ProfileCard/ProfileCard.js +1 -1
  144. package/dist/esm/Components/ProfilePhotoViewer/ProfilePhotoViewer.js +1 -1
  145. package/dist/esm/Components/RadioButton/RadioButton.js +1 -1
  146. package/dist/esm/Components/Reorder/Reorder.js +1 -1
  147. package/dist/esm/Components/ScrollbarBox/ScrollbarBox.js +9 -0
  148. package/dist/esm/Components/SearchSelect/SearchSelect.js +5 -4
  149. package/dist/esm/Components/Select/Select.styles.js +3 -2
  150. package/dist/esm/Components/SelectSearch/SelectSearch.js +3 -3
  151. package/dist/esm/Components/SelectV2/SelectV2.js +5 -11
  152. package/dist/esm/Components/SideBar/SecondaryBar.js +1 -1
  153. package/dist/esm/Components/StageProgress/StageProgress.js +2 -9
  154. package/dist/esm/Components/Table/Table.js +17 -24
  155. package/dist/esm/Components/Table/components/TableActions.js +2 -2
  156. package/dist/esm/Components/Table/components/TableBody.js +42 -13
  157. package/dist/esm/Components/Table/components/TableGroupRow.js +1 -1
  158. package/dist/esm/Components/Table/components/TableHeader.js +21 -8
  159. package/dist/esm/Components/Table/components/TableSearch.js +1 -1
  160. package/dist/esm/Components/Table/filters/ActiveFilters.js +2 -18
  161. package/dist/esm/Components/Table/settings/ManageColumns.js +3 -17
  162. package/dist/esm/Components/Table/settings/TableSettings.js +5 -11
  163. package/dist/esm/Components/Table/variants/TableVariantContext.js +13 -0
  164. package/dist/esm/Components/Table/variants/classic.js +43 -0
  165. package/dist/esm/Components/Table/variants/index.js +9 -0
  166. package/dist/esm/Components/Table/variants/pillInk.js +18 -0
  167. package/dist/esm/Components/Table/variants/studio.js +46 -0
  168. package/dist/esm/Components/Table/variants/tokens.js +1 -0
  169. package/dist/esm/Components/Timeline/Timeline.js +2 -2
  170. package/dist/esm/Components/Toaster/Toaster.js +1 -1
  171. package/dist/esm/Components/Trail/TrailWorks.js +1 -1
  172. package/dist/esm/Components/UpgradeButton/UpgradeButton.js +3 -3
  173. package/dist/esm/Constants/Sidebar.js +3 -2
  174. package/dist/esm/Theme/chakra/Menu.styles.js +11 -5
  175. package/dist/esm/Theme/chakra/Popover.styles.js +11 -6
  176. package/dist/esm/Theme/chakra/Switch.styles.js +7 -9
  177. package/dist/esm/Theme/chakra/createBrandTheme.js +3 -16
  178. package/dist/esm/Theme/provider/PixelizeThemeProvider.js +18 -20
  179. package/dist/esm/Theme/provider/ThemeSwitcher.js +13 -20
  180. package/dist/esm/Theme/tokens/brands/emerald/palette.light.js +5 -4
  181. package/dist/esm/Theme/tokens/brands/lavender/palette.light.js +5 -116
  182. package/dist/esm/Theme/tokens/brands/meadow/palette.light.js +5 -4
  183. package/dist/esm/Theme/tokens/brands/neutrals.js +116 -0
  184. package/dist/esm/Theme/tokens/brands/radiant/palette.light.js +5 -4
  185. package/dist/esm/Theme/tokens/brands/rosewood/palette.light.js +5 -4
  186. package/dist/esm/Theme/tokens/brands/skyline/palette.light.js +5 -4
  187. package/dist/esm/Theme/tokens/brands/slate/palette.light.js +6 -9
  188. package/dist/esm/Theme/tokens/brands/storefront/palette.light.js +5 -4
  189. package/dist/esm/Theme/tokens/builders/brandInk.js +103 -0
  190. package/dist/esm/Theme/tokens/builders/chartColorsFromTheme.js +1 -1
  191. package/dist/esm/Theme/tokens/builders/gradientInk.js +22 -0
  192. package/dist/esm/Theme/tokens/builders/index.js +3 -0
  193. package/dist/esm/Theme/tokens/builders/outlineRung.js +70 -4
  194. package/dist/esm/Theme/tokens/builders/placeholderInk.js +29 -0
  195. package/dist/esm/Theme/tokens/builders/resolvedRungs.js +7 -2
  196. package/dist/esm/Theme/tokens/builders/scrollbar.js +52 -0
  197. package/dist/esm/Theme/tokens/builders/surfaceRungs.js +20 -5
  198. package/dist/esm/index.js +5 -1
  199. package/dist/index.d.ts +10 -2
  200. package/dist/index.js +17 -3
  201. package/package.json +4 -2
@@ -70,26 +70,29 @@ export declare const componentStyles: {
70
70
  Menu: {
71
71
  baseStyle?: (({ theme }: StyleFunctionProps) => {
72
72
  list: {
73
- [x: string]: any;
73
+ [x: string]: string;
74
74
  bg: string;
75
- color: any;
75
+ color: string;
76
+ borderWidth: string;
77
+ borderStyle: string;
78
+ borderColor: string;
76
79
  };
77
80
  item: {
78
81
  bg: string;
79
82
  _focus: {
80
- [x: string]: any;
83
+ [x: string]: string;
81
84
  bg: string;
82
85
  };
83
86
  _hover: {
84
- [x: string]: any;
87
+ [x: string]: string;
85
88
  bg: string;
86
89
  };
87
90
  _active: {
88
- [x: string]: any;
91
+ [x: string]: string;
89
92
  bg: string;
90
93
  };
91
94
  _expanded: {
92
- [x: string]: any;
95
+ [x: string]: string;
93
96
  bg: string;
94
97
  };
95
98
  };
@@ -139,9 +142,12 @@ export declare const componentStyles: {
139
142
  Popover: {
140
143
  baseStyle?: (({ theme }: StyleFunctionProps) => {
141
144
  content: {
142
- [x: string]: any;
145
+ [x: string]: string;
143
146
  bg: string;
144
- color: any;
147
+ color: string;
148
+ borderWidth: string;
149
+ borderStyle: string;
150
+ borderColor: string;
145
151
  };
146
152
  }) | undefined;
147
153
  sizes?: {
@@ -188,7 +194,7 @@ export declare const componentStyles: {
188
194
  Switch: {
189
195
  baseStyle?: (({ theme }: StyleFunctionProps) => {
190
196
  thumb: {
191
- [x: string]: any;
197
+ [x: string]: string;
192
198
  bg: string;
193
199
  };
194
200
  }) | undefined;
@@ -9,6 +9,7 @@ const common_web_1 = __importDefault(require("./common.web"));
9
9
  const fonts_web_1 = __importDefault(require("./fonts.web"));
10
10
  const componentStyles_1 = require("./componentStyles");
11
11
  const accentText_1 = require("../tokens/builders/accentText");
12
+ const scrollbar_1 = require("../tokens/builders/scrollbar");
12
13
  /**
13
14
  * Builds a Chakra theme from a pure brand palette.
14
15
  *
@@ -89,22 +90,8 @@ const createBrandTheme = (palette, options = {}) => {
89
90
  color: (0, accentText_1.onFilled)(palette.primary[500], palette.white, palette.black),
90
91
  },
91
92
  // `color-scheme: dark` gives WebKit/Blink a dark scrollbar by default, but it's the
92
- // OS's generic dark gray, not brand-aware — style it explicitly so it matches the
93
- // canvas instead of floating as a mismatched gray bar.
94
- "::-webkit-scrollbar": {
95
- width: "10px",
96
- height: "10px",
97
- },
98
- "::-webkit-scrollbar-track": {
99
- background: palette.backgroundColor.main,
100
- },
101
- "::-webkit-scrollbar-thumb": {
102
- background: palette.gray[600],
103
- borderRadius: "6px",
104
- },
105
- "::-webkit-scrollbar-thumb:hover": {
106
- background: palette.gray[500],
107
- },
93
+ // OS's generic dark gray, not brand-aware.
94
+ ...(0, scrollbar_1.globalScrollbarStyles)(palette),
108
95
  // Chrome/Edge autofill paints its own opaque yellow/white fill behind the input
109
96
  // text via `-webkit-box-shadow` (not `background`), so a plain `bg` override never
110
97
  // reaches it — a bright light box survives on every dark autofilled field unless
@@ -165,42 +165,40 @@ const PixelizeThemeProvider = ({ children, brand: brandProp = DEFAULT_BRAND, onB
165
165
  * `data-mode` for consumers that want to hook their own dark CSS.
166
166
  */
167
167
  (0, react_1.useLayoutEffect)(() => {
168
- var _a, _b, _c, _d, _e, _f, _g;
169
168
  const root = document.documentElement;
170
169
  root.dataset.mode = resolvedMode;
171
- const colors = resolvedTheme.colors;
172
- const sem = (_a = colors.semantic) !== null && _a !== void 0 ? _a : {};
173
- const gray = colors.gray;
170
+ const { colors } = resolvedTheme;
171
+ const { gray, semantic } = colors;
174
172
  const HUE_SCALES = [
175
173
  "primary", "gray", "red", "orange", "yellow",
176
174
  "green", "teal", "blue", "cyan", "purple", "pink",
177
175
  ];
178
- const SEMANTIC_SCALES = ["success", "error", "warning", "info"]; // nested under colors.semantic
176
+ const SEMANTIC_SCALES = ["success", "error", "warning", "info"];
179
177
  const RUNGS = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900];
180
- // Single-value semantic vars → palette scale+rung. The dark gray ramp runs dark(50) → light(900),
181
- // so low rungs read as surfaces and high rungs as text — correct in dark, cleared in light.
178
+ // The dark gray ramp runs dark(50) → light(900), so low rungs read as surfaces
179
+ // and high rungs as text — correct in dark, cleared in light.
182
180
  const SEMANTIC_VARS = {
183
- "text-heading": gray === null || gray === void 0 ? void 0 : gray[900], "text-body": gray === null || gray === void 0 ? void 0 : gray[700],
184
- "text-subtle": gray === null || gray === void 0 ? void 0 : gray[500], "text-input": gray === null || gray === void 0 ? void 0 : gray[500],
185
- "bg-main": gray === null || gray === void 0 ? void 0 : gray[50], "bg-secondary": gray === null || gray === void 0 ? void 0 : gray[100], "bg-tertiary": gray === null || gray === void 0 ? void 0 : gray[100],
186
- "bg-quaternary": gray === null || gray === void 0 ? void 0 : gray[200], "bg-light": gray === null || gray === void 0 ? void 0 : gray[50], "bg-medium": gray === null || gray === void 0 ? void 0 : gray[100],
187
- "bg-accent": gray === null || gray === void 0 ? void 0 : gray[200], "bg-subtle": gray === null || gray === void 0 ? void 0 : gray[100], "bg-muted": gray === null || gray === void 0 ? void 0 : gray[200],
188
- "bg-neutral": gray === null || gray === void 0 ? void 0 : gray[100], "bg-base": gray === null || gray === void 0 ? void 0 : gray[50], "bg-table-header": gray === null || gray === void 0 ? void 0 : gray[100],
189
- "border-default": gray === null || gray === void 0 ? void 0 : gray[200], "border-light": gray === null || gray === void 0 ? void 0 : gray[100],
190
- "border-dark": gray === null || gray === void 0 ? void 0 : gray[300], "border-input": gray === null || gray === void 0 ? void 0 : gray[300],
191
- "border-error": (_b = sem.error) === null || _b === void 0 ? void 0 : _b[500], "border-success": (_c = sem.success) === null || _c === void 0 ? void 0 : _c[500],
192
- "border-warning": (_d = sem.warning) === null || _d === void 0 ? void 0 : _d[500], "border-info": (_e = sem.info) === null || _e === void 0 ? void 0 : _e[500],
181
+ "text-heading": gray[900], "text-body": gray[700],
182
+ "text-subtle": gray[500], "text-input": gray[500],
183
+ "bg-main": gray[50], "bg-secondary": gray[100], "bg-tertiary": gray[100],
184
+ "bg-quaternary": gray[200], "bg-light": gray[50], "bg-medium": gray[100],
185
+ "bg-accent": gray[200], "bg-subtle": gray[100], "bg-muted": gray[200],
186
+ "bg-neutral": gray[100], "bg-base": gray[50], "bg-table-header": gray[100],
187
+ "border-default": gray[200], "border-light": gray[100],
188
+ "border-dark": gray[300], "border-input": gray[300],
189
+ "border-error": semantic.error[500], "border-success": semantic.success[500],
190
+ "border-warning": semantic.warning[500], "border-info": semantic.info[500],
193
191
  };
194
- const set = (name, val) => val && root.style.setProperty(`--color-${name}`, val);
192
+ const set = (name, val) => root.style.setProperty(`--color-${name}`, val);
195
193
  const clear = (name) => root.style.removeProperty(`--color-${name}`);
196
194
  const allRampNames = [...HUE_SCALES, ...SEMANTIC_SCALES].flatMap((s) => RUNGS.map((r) => `${s}-${r}`));
197
195
  if (resolvedMode === "dark") {
198
196
  for (const s of HUE_SCALES)
199
197
  for (const r of RUNGS)
200
- set(`${s}-${r}`, (_f = colors[s]) === null || _f === void 0 ? void 0 : _f[r]);
198
+ set(`${s}-${r}`, colors[s][r]);
201
199
  for (const s of SEMANTIC_SCALES)
202
200
  for (const r of RUNGS)
203
- set(`${s}-${r}`, (_g = sem[s]) === null || _g === void 0 ? void 0 : _g[r]);
201
+ set(`${s}-${r}`, semantic[s][r]);
204
202
  for (const [name, val] of Object.entries(SEMANTIC_VARS))
205
203
  set(name, val);
206
204
  }
@@ -25,33 +25,26 @@ const toBrandLabel = (brand) => brand.charAt(0).toUpperCase() + brand.slice(1);
25
25
  * the dot always matches what selecting that brand actually looks like,
26
26
  * regardless of which brand/mode is currently active.
27
27
  */
28
- const brandSwatchColor = (brand) => {
29
- var _a, _b, _c, _d, _e;
30
- return (_e = (_d = (_c = (_b = (_a = index_1.brandThemes[brand]) === null || _a === void 0 ? void 0 : _a.light) === null || _b === void 0 ? void 0 : _b.colors) === null || _c === void 0 ? void 0 : _c.primary) === null || _d === void 0 ? void 0 : _d[500]) !== null && _e !== void 0 ? _e : "gray.400";
28
+ const brandSwatchColor = (brand) => index_1.brandThemes[brand].light.colors.primary[500];
29
+ const BrandSwatch = ({ brand }) => {
30
+ const { colors } = (0, useCustomTheme_1.useCustomTheme)();
31
+ return ((0, jsx_runtime_1.jsx)(react_2.Box, { as: "span", display: "inline-block", w: "0.625rem", h: "0.625rem", borderRadius: "full", bg: brandSwatchColor(brand), border: "1px solid", borderColor: colors.boxborder[200], flexShrink: 0 }));
31
32
  };
32
- const BrandSwatch = ({ brand }) => ((0, jsx_runtime_1.jsx)(react_2.Box, { as: "span", display: "inline-block", w: "0.625rem", h: "0.625rem", borderRadius: "full", bg: brandSwatchColor(brand), border: "1px solid", borderColor: "whiteAlpha.300", flexShrink: 0 }));
33
33
  /**
34
34
  * Palette values already differ per color mode (`brandThemes[brand].light|dark`), so tokens
35
35
  * are read straight from the active theme — no `useColorModeValue` pairing needed here.
36
- * Fallbacks are Chakra token names, never literal colors, for themes without a brand palette.
37
36
  */
38
37
  const useSwitcherColors = () => {
39
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
40
- const colors = (0, useCustomTheme_1.useCustomTheme)().colors;
38
+ const { colors } = (0, useCustomTheme_1.useCustomTheme)();
41
39
  return {
42
- trackBg: (_d = (_b = (_a = colors === null || colors === void 0 ? void 0 : colors.backgroundColor) === null || _a === void 0 ? void 0 : _a.secondary) !== null && _b !== void 0 ? _b : (_c = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _c === void 0 ? void 0 : _c[100]) !== null && _d !== void 0 ? _d : "gray.100",
43
- activeBg: (_g = (_f = (_e = colors === null || colors === void 0 ? void 0 : colors.backgroundColor) === null || _e === void 0 ? void 0 : _e.main) !== null && _f !== void 0 ? _f : colors === null || colors === void 0 ? void 0 : colors.white) !== null && _g !== void 0 ? _g : "white",
44
- activeColor: (_l = (_j = (_h = colors === null || colors === void 0 ? void 0 : colors.primary) === null || _h === void 0 ? void 0 : _h[500]) !== null && _j !== void 0 ? _j : (_k = colors === null || colors === void 0 ? void 0 : colors.text) === null || _k === void 0 ? void 0 : _k[900]) !== null && _l !== void 0 ? _l : "inherit",
45
- mutedColor: (_q = (_o = (_m = colors === null || colors === void 0 ? void 0 : colors.text) === null || _m === void 0 ? void 0 : _m[600]) !== null && _o !== void 0 ? _o : (_p = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _p === void 0 ? void 0 : _p[600]) !== null && _q !== void 0 ? _q : "gray.600",
46
- hoverBg: (_s = (_r = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _r === void 0 ? void 0 : _r[100]) !== null && _s !== void 0 ? _s : "gray.100",
47
- borderColor: (_w = (_u = (_t = colors === null || colors === void 0 ? void 0 : colors.border) === null || _t === void 0 ? void 0 : _t[200]) !== null && _u !== void 0 ? _u : (_v = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _v === void 0 ? void 0 : _v[200]) !== null && _w !== void 0 ? _w : "gray.200",
48
- // `--menu-bg` (and its hover/focus/active states) is now fixed centrally in the theme's
49
- // Menu component style (Theme/chakra/Menu.styles.ts) — every MenuList gets it from there.
50
- // Re-deriving it here too and pushing it back via `sx` on every render caused a redundant
51
- // Emotion style recompute per render, which showed up as flicker while hovering/scrolling
52
- // this list. Keep menuColor (Menu.styles.ts doesn't set list `color` per this component's
53
- // needs) but stop duplicating menuBg.
54
- menuColor: (_0 = (_y = (_x = colors === null || colors === void 0 ? void 0 : colors.text) === null || _x === void 0 ? void 0 : _x[900]) !== null && _y !== void 0 ? _y : (_z = colors === null || colors === void 0 ? void 0 : colors.gray) === null || _z === void 0 ? void 0 : _z[900]) !== null && _0 !== void 0 ? _0 : "gray.900",
40
+ trackBg: colors.backgroundColor.secondary,
41
+ activeBg: colors.backgroundColor.main,
42
+ activeColor: colors.primary[500],
43
+ mutedColor: colors.text[600],
44
+ hoverBg: colors.gray[100],
45
+ borderColor: colors.boxborder[200],
46
+ // NOTE: menuBg lives in Menu.styles.ts — re-pushing it via `sx` flickers on every render.
47
+ menuColor: colors.text[900],
55
48
  };
56
49
  };
57
50
  const BrandMenu = ({ size }) => {
@@ -1,10 +1,8 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const palette_light_1 = __importDefault(require("../lavender/palette.light"));
3
+ const neutrals_1 = require("../neutrals");
7
4
  const buildBrandTokens_1 = require("../../builders/buildBrandTokens");
5
+ const brandInk_1 = require("../../builders/brandInk");
8
6
  const PRIMARY_500 = "#0f9d8a"; // teal-emerald core (balanced, not too green/blue)
9
7
  const primary = {
10
8
  50: "#e6f7f5",
@@ -20,7 +18,8 @@ const primary = {
20
18
  opacity: (0, buildBrandTokens_1.buildPrimaryOpacity)(PRIMARY_500),
21
19
  };
22
20
  const palette = {
23
- ...palette_light_1.default,
21
+ ...neutrals_1.neutralTokens,
22
+ ...(0, brandInk_1.buildBrandInk)(PRIMARY_500),
24
23
  // Stops retuned so white gradient-button text (onGradient, accentText.ts) clears AA at both
25
24
  // ends — the original pair let white drop to 3.38/2.43 against from/to. Same hue, darker.
26
25
  // Both nudged one step further (4.537/4.515 -> 4.618/4.616): the first pass cleared AA by
@@ -128,8 +127,7 @@ const palette = {
128
127
  },
129
128
  boxShadow: {
130
129
  primary: (0, buildBrandTokens_1.buildPrimaryShadowTint)(PRIMARY_500),
131
- error: palette_light_1.default.boxShadow.error,
132
- default: palette_light_1.default.boxShadow.default,
130
+ ...neutrals_1.sharedBoxShadow,
133
131
  },
134
132
  };
135
133
  exports.default = palette;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const buildBrandTokens_1 = require("../../builders/buildBrandTokens");
4
+ const neutrals_1 = require("../neutrals");
4
5
  const PRIMARY_500 = "#8B3FC8";
5
6
  const SECONDARY_ANCHOR = "#1e0f30";
6
7
  const primary = {
@@ -30,56 +31,6 @@ const secondary = {
30
31
  opacity: (0, buildBrandTokens_1.buildPrimaryOpacity)(SECONDARY_ANCHOR),
31
32
  };
32
33
  const tertiary = { ...secondary };
33
- const semantic = {
34
- success: {
35
- 50: "#e9f8ef",
36
- 100: "#bbe9cc",
37
- 200: "#9adeb4",
38
- 300: "#6ccf92",
39
- 400: "#4fc67d",
40
- 500: "#23b85c",
41
- 600: "#20a754",
42
- 700: "#198341",
43
- 800: "#136533",
44
- 900: "#0f4d27",
45
- },
46
- error: {
47
- 50: "#feedeb",
48
- 100: "#fbc6c2",
49
- 200: "#f9aaa4",
50
- 300: "#f6837b",
51
- 400: "#f56b61",
52
- 500: "#f2463a",
53
- 600: "#dc4035",
54
- 700: "#ac3229",
55
- 800: "#852720",
56
- 900: "#661d18",
57
- },
58
- warning: {
59
- 50: "#fff4ef",
60
- 100: "#ffddce",
61
- 200: "#ffccb7",
62
- 300: "#ffb596",
63
- 400: "#ffa781",
64
- 500: "#ff9162",
65
- 600: "#e88459",
66
- 700: "#b56746",
67
- 800: "#8c5036",
68
- 900: "#6b3d29",
69
- },
70
- info: {
71
- 50: "#eff9fc",
72
- 100: "#cdedf5",
73
- 200: "#b5e4f0",
74
- 300: "#94d7e9",
75
- 400: "#7fd0e5",
76
- 500: "#5fc4de",
77
- 600: "#56b2ea",
78
- 700: "#438b9e",
79
- 800: "#346c78",
80
- 900: "#28525d",
81
- },
82
- };
83
34
  const gray = {
84
35
  50: "#f9f7fb",
85
36
  100: "#f0eaf6",
@@ -100,51 +51,6 @@ const gray = {
100
51
  };
101
52
  // These global color scales stay unchanged — they are
102
53
  // utility palettes, not theme-specific
103
- const red = {
104
- 50: "#feedeb", 100: "#fbc6c2", 200: "#f9aaa4", 300: "#f6837b",
105
- 400: "#f56b61", 500: "#f2463a", 600: "#dc4035", 700: "#ac3229",
106
- 800: "#852720", 900: "#661d18",
107
- };
108
- const orange = {
109
- 50: "#fff4ef", 100: "#ffddce", 200: "#ffccb7", 300: "#ffb596",
110
- 400: "#ffa781", 500: "#ff9162", 600: "#e88459", 700: "#b56746",
111
- 800: "#8c5036", 900: "#6b3d29",
112
- };
113
- const yellow = {
114
- 50: "#fefbec", 100: "#fdf1c5", 200: "#fbeba9", 300: "#fae281",
115
- 400: "#f9dc69", 500: "#f7d343", 600: "#e1c03d", 700: "#af9630",
116
- 800: "#887425", 900: "#68591c",
117
- };
118
- const green = {
119
- 50: "#e9f8ef", 100: "#bbe9cc", 200: "#9adeb4", 300: "#6ccf92",
120
- 400: "#4fc67d", 500: "#23b85c", 600: "#20a754", 700: "#198341",
121
- 800: "#136533", 900: "#0f4d27",
122
- };
123
- const teal = {
124
- 50: "#eff9fc", 100: "#cdedf5", 200: "#b5e4f0", 300: "#94d7e9",
125
- 400: "#7fd0e5", 500: "#5fc4de", 600: "#56b2ea", 700: "#438b9e",
126
- 800: "#346c78", 900: "#28525d",
127
- };
128
- const blue = {
129
- 50: "#ebf8ff", 100: "#bee3f8", 200: "#90cdf4", 300: "#63b3ed",
130
- 400: "#4299e1", 500: "#3182ce", 600: "#2b6cb0", 700: "#2c5282",
131
- 800: "#2a4365", 900: "#1a365d",
132
- };
133
- const cyan = {
134
- 50: "#edfdfd", 100: "#c4f1f9", 200: "#9decf9", 300: "#76e4f7",
135
- 400: "#0bc5ea", 500: "#00b5d8", 600: "#00a3c4", 700: "#0987a0",
136
- 800: "#086f83", 900: "#065666",
137
- };
138
- const purple = {
139
- 50: "#faf5ff", 100: "#e9d8fd", 200: "#d6bcfa", 300: "#b794f4",
140
- 400: "#9f7aea", 500: "#805ad5", 600: "#6b46c1", 700: "#553c9a",
141
- 800: "#44337a", 900: "#322659",
142
- };
143
- const pink = {
144
- 50: "#fff5f7", 100: "#fed7e2", 200: "#fbb6ce", 300: "#f687b3",
145
- 400: "#ed64a6", 500: "#d53f8c", 600: "#b83280", 700: "#97266d",
146
- 800: "#702459", 900: "#521b41",
147
- };
148
54
  const backgroundColor = {
149
55
  main: "#f9f7fc",
150
56
  secondary: "#f2edf8",
@@ -210,8 +116,7 @@ const placeholder = {
210
116
  };
211
117
  const boxShadow = {
212
118
  primary: (0, buildBrandTokens_1.buildPrimaryShadowTint)(PRIMARY_500),
213
- error: "#F2463A47",
214
- default: "#00000033",
119
+ ...neutrals_1.sharedBoxShadow,
215
120
  };
216
121
  const sidebar = {
217
122
  background: {
@@ -283,31 +188,15 @@ const disabled = {
283
188
  800: "#625d75",
284
189
  900: "#4b4759",
285
190
  };
286
- // Two-tone brand gradient (violet → pink). Each theme overrides with its own pair.
287
- // `to` stop retuned so white gradient-button text (onGradient, accentText.ts) clears AA — the
288
- // original let white drop to 3.53 there (`from` already passed at 5.76, unchanged).
289
- // Nudged one step further (4.511 -> 4.609): the first pass cleared AA by <0.02, too thin a
290
- // margin to trust against rounding/rendering variance.
291
- const gradient = { from: "#8B3FC8", to: "#df187a" };
191
+ // Single-hue gradient: white clears AA by margin, not by hundredths. See gradientTone.test.ts.
192
+ const gradient = { from: "#8b3fc8", to: "#762d9d" };
292
193
  const palette = {
293
194
  gradient,
294
195
  primary,
295
196
  secondary,
296
197
  tertiary,
297
- transparent: "transparent",
298
- black: "#000",
299
- white: "#fff",
300
- semantic,
198
+ ...neutrals_1.neutralTokens,
301
199
  gray,
302
- red,
303
- orange,
304
- yellow,
305
- green,
306
- teal,
307
- blue,
308
- cyan,
309
- purple,
310
- pink,
311
200
  backgroundColor,
312
201
  background,
313
202
  text,
@@ -1,10 +1,8 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const palette_light_1 = __importDefault(require("../lavender/palette.light"));
3
+ const neutrals_1 = require("../neutrals");
7
4
  const buildBrandTokens_1 = require("../../builders/buildBrandTokens");
5
+ const brandInk_1 = require("../../builders/brandInk");
8
6
  const PRIMARY_500 = "#2d6a4f"; // was #2caa3d — deeper, forest-toned
9
7
  const primary = {
10
8
  50: "#edf7f2",
@@ -20,7 +18,8 @@ const primary = {
20
18
  opacity: (0, buildBrandTokens_1.buildPrimaryOpacity)(PRIMARY_500),
21
19
  };
22
20
  const palette = {
23
- ...palette_light_1.default,
21
+ ...neutrals_1.neutralTokens,
22
+ ...(0, brandInk_1.buildBrandInk)(PRIMARY_500),
24
23
  // `to` stop retuned so white gradient-button text (onGradient, accentText.ts) clears AA — the
25
24
  // original let white drop to 2.49 there (`from` already passed at 6.39, unchanged).
26
25
  // Nudged one step further (4.519 -> 4.627): the first pass cleared AA by <0.02, too thin a
@@ -126,8 +125,7 @@ const palette = {
126
125
  },
127
126
  boxShadow: {
128
127
  primary: (0, buildBrandTokens_1.buildPrimaryShadowTint)(PRIMARY_500),
129
- error: palette_light_1.default.boxShadow.error,
130
- default: palette_light_1.default.boxShadow.default,
128
+ ...neutrals_1.sharedBoxShadow,
131
129
  },
132
130
  };
133
131
  exports.default = palette;
@@ -0,0 +1,8 @@
1
+ import type { NeutralPaletteTokens } from "../types";
2
+ /** Non-brand shadow tints. Only `primary` is brand-derived. */
3
+ export declare const sharedBoxShadow: {
4
+ error: string;
5
+ default: string;
6
+ };
7
+ /** Utility scales shared by every brand — never theme-specific. */
8
+ export declare const neutralTokens: NeutralPaletteTokens;
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.neutralTokens = exports.sharedBoxShadow = void 0;
4
+ const semantic = {
5
+ success: {
6
+ 50: "#e9f8ef",
7
+ 100: "#bbe9cc",
8
+ 200: "#9adeb4",
9
+ 300: "#6ccf92",
10
+ 400: "#4fc67d",
11
+ 500: "#23b85c",
12
+ 600: "#20a754",
13
+ 700: "#198341",
14
+ 800: "#136533",
15
+ 900: "#0f4d27",
16
+ },
17
+ error: {
18
+ 50: "#feedeb",
19
+ 100: "#fbc6c2",
20
+ 200: "#f9aaa4",
21
+ 300: "#f6837b",
22
+ 400: "#f56b61",
23
+ 500: "#f2463a",
24
+ 600: "#dc4035",
25
+ 700: "#ac3229",
26
+ 800: "#852720",
27
+ 900: "#661d18",
28
+ },
29
+ warning: {
30
+ 50: "#fff4ef",
31
+ 100: "#ffddce",
32
+ 200: "#ffccb7",
33
+ 300: "#ffb596",
34
+ 400: "#ffa781",
35
+ 500: "#ff9162",
36
+ 600: "#e88459",
37
+ 700: "#b56746",
38
+ 800: "#8c5036",
39
+ 900: "#6b3d29",
40
+ },
41
+ info: {
42
+ 50: "#eff9fc",
43
+ 100: "#cdedf5",
44
+ 200: "#b5e4f0",
45
+ 300: "#94d7e9",
46
+ 400: "#7fd0e5",
47
+ 500: "#5fc4de",
48
+ 600: "#56b2ea",
49
+ 700: "#438b9e",
50
+ 800: "#346c78",
51
+ 900: "#28525d",
52
+ },
53
+ };
54
+ const red = {
55
+ 50: "#feedeb", 100: "#fbc6c2", 200: "#f9aaa4", 300: "#f6837b",
56
+ 400: "#f56b61", 500: "#f2463a", 600: "#dc4035", 700: "#ac3229",
57
+ 800: "#852720", 900: "#661d18",
58
+ };
59
+ const orange = {
60
+ 50: "#fff4ef", 100: "#ffddce", 200: "#ffccb7", 300: "#ffb596",
61
+ 400: "#ffa781", 500: "#ff9162", 600: "#e88459", 700: "#b56746",
62
+ 800: "#8c5036", 900: "#6b3d29",
63
+ };
64
+ const yellow = {
65
+ 50: "#fefbec", 100: "#fdf1c5", 200: "#fbeba9", 300: "#fae281",
66
+ 400: "#f9dc69", 500: "#f7d343", 600: "#e1c03d", 700: "#af9630",
67
+ 800: "#887425", 900: "#68591c",
68
+ };
69
+ const green = {
70
+ 50: "#e9f8ef", 100: "#bbe9cc", 200: "#9adeb4", 300: "#6ccf92",
71
+ 400: "#4fc67d", 500: "#23b85c", 600: "#20a754", 700: "#198341",
72
+ 800: "#136533", 900: "#0f4d27",
73
+ };
74
+ const teal = {
75
+ 50: "#eff9fc", 100: "#cdedf5", 200: "#b5e4f0", 300: "#94d7e9",
76
+ 400: "#7fd0e5", 500: "#5fc4de", 600: "#56b2ea", 700: "#438b9e",
77
+ 800: "#346c78", 900: "#28525d",
78
+ };
79
+ const blue = {
80
+ 50: "#ebf8ff", 100: "#bee3f8", 200: "#90cdf4", 300: "#63b3ed",
81
+ 400: "#4299e1", 500: "#3182ce", 600: "#2b6cb0", 700: "#2c5282",
82
+ 800: "#2a4365", 900: "#1a365d",
83
+ };
84
+ const cyan = {
85
+ 50: "#edfdfd", 100: "#c4f1f9", 200: "#9decf9", 300: "#76e4f7",
86
+ 400: "#0bc5ea", 500: "#00b5d8", 600: "#00a3c4", 700: "#0987a0",
87
+ 800: "#086f83", 900: "#065666",
88
+ };
89
+ const purple = {
90
+ 50: "#faf5ff", 100: "#e9d8fd", 200: "#d6bcfa", 300: "#b794f4",
91
+ 400: "#9f7aea", 500: "#805ad5", 600: "#6b46c1", 700: "#553c9a",
92
+ 800: "#44337a", 900: "#322659",
93
+ };
94
+ const pink = {
95
+ 50: "#fff5f7", 100: "#fed7e2", 200: "#fbb6ce", 300: "#f687b3",
96
+ 400: "#ed64a6", 500: "#d53f8c", 600: "#b83280", 700: "#97266d",
97
+ 800: "#702459", 900: "#521b41",
98
+ };
99
+ /** Non-brand shadow tints. Only `primary` is brand-derived. */
100
+ exports.sharedBoxShadow = {
101
+ error: "#F2463A47",
102
+ default: "#00000033",
103
+ };
104
+ /** Utility scales shared by every brand — never theme-specific. */
105
+ exports.neutralTokens = {
106
+ transparent: "transparent",
107
+ black: "#000",
108
+ white: "#fff",
109
+ semantic,
110
+ red,
111
+ orange,
112
+ yellow,
113
+ green,
114
+ teal,
115
+ blue,
116
+ cyan,
117
+ purple,
118
+ pink,
119
+ };
@@ -1,10 +1,8 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const palette_light_1 = __importDefault(require("../lavender/palette.light"));
3
+ const neutrals_1 = require("../neutrals");
7
4
  const buildBrandTokens_1 = require("../../builders/buildBrandTokens");
5
+ const brandInk_1 = require("../../builders/brandInk");
8
6
  const PRIMARY_500 = "#cf4e3a"; // warm red (terracotta leaning)
9
7
  const primary = {
10
8
  50: "#fdf1ee",
@@ -20,7 +18,8 @@ const primary = {
20
18
  opacity: (0, buildBrandTokens_1.buildPrimaryOpacity)(PRIMARY_500),
21
19
  };
22
20
  const palette = {
23
- ...palette_light_1.default,
21
+ ...neutrals_1.neutralTokens,
22
+ ...(0, brandInk_1.buildBrandInk)(PRIMARY_500),
24
23
  // Stops retuned so white gradient-button text (onGradient, accentText.ts) clears AA at both
25
24
  // ends — the original pair let white drop to 4.37/2.15 against from/to. Same hue, darker.
26
25
  // Both nudged one step further (4.509/4.502 -> 4.601/4.617): the first pass cleared AA by
@@ -128,8 +127,7 @@ const palette = {
128
127
  },
129
128
  boxShadow: {
130
129
  primary: (0, buildBrandTokens_1.buildPrimaryShadowTint)(PRIMARY_500),
131
- error: palette_light_1.default.boxShadow.error,
132
- default: palette_light_1.default.boxShadow.default,
130
+ ...neutrals_1.sharedBoxShadow,
133
131
  },
134
132
  };
135
133
  exports.default = palette;
@@ -1,10 +1,8 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const palette_light_1 = __importDefault(require("../lavender/palette.light"));
3
+ const neutrals_1 = require("../neutrals");
7
4
  const buildBrandTokens_1 = require("../../builders/buildBrandTokens");
5
+ const brandInk_1 = require("../../builders/brandInk");
8
6
  const PRIMARY_500 = "#d16a7e"; // muted warm rose (not neon pink)
9
7
  const primary = {
10
8
  50: "#fdf2f5",
@@ -20,7 +18,8 @@ const primary = {
20
18
  opacity: (0, buildBrandTokens_1.buildPrimaryOpacity)(PRIMARY_500),
21
19
  };
22
20
  const palette = {
23
- ...palette_light_1.default,
21
+ ...neutrals_1.neutralTokens,
22
+ ...(0, brandInk_1.buildBrandInk)(PRIMARY_500),
24
23
  // Stops retuned so white gradient-button text (onGradient, accentText.ts) clears AA at both
25
24
  // ends — the original pair let white drop to 3.46/2.69 against from/to. Same hue, darker.
26
25
  // Both nudged one step further (4.520/4.505 -> 4.609/4.607): the first pass cleared AA by
@@ -132,8 +131,7 @@ const palette = {
132
131
  },
133
132
  boxShadow: {
134
133
  primary: (0, buildBrandTokens_1.buildPrimaryShadowTint)(PRIMARY_500),
135
- error: palette_light_1.default.boxShadow.error,
136
- default: palette_light_1.default.boxShadow.default,
134
+ ...neutrals_1.sharedBoxShadow,
137
135
  },
138
136
  };
139
137
  exports.default = palette;