@cere/cere-design-system 0.0.40 → 0.0.42

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.
@@ -155,7 +155,7 @@ export interface ButtonProps extends Omit<MuiButtonProps, 'variant'> {
155
155
  **All components must follow the design tokens defined in the theme.**
156
156
 
157
157
  ### Design Tokens (Defined in `src/theme/index.ts`)
158
- - **Primary color**: `#1976d2` (blue)
158
+ - **Primary color**: `#aa44f2` (Cere brand violet). Mapped via `semantic.action.primary` → `primitives.violet[500]`. Legacy `primitives.blue` is retained for ROB highlights only.
159
159
  - **Border radius**:
160
160
  - Inputs/buttons: `12px`
161
161
  - Cards/chips: `16px`
package/dist/index.d.mts CHANGED
@@ -282,9 +282,9 @@ declare module '@mui/material/styles' {
282
282
  }
283
283
  declare const colors: {
284
284
  primary: {
285
- main: "#1976d2";
286
- light: "#1976d2";
287
- dark: "#1565c0";
285
+ main: "#aa44f2";
286
+ light: "#aa44f2";
287
+ dark: "#7c59ac";
288
288
  contrastText: "#FFFFFF";
289
289
  };
290
290
  secondary: {
package/dist/index.d.ts CHANGED
@@ -282,9 +282,9 @@ declare module '@mui/material/styles' {
282
282
  }
283
283
  declare const colors: {
284
284
  primary: {
285
- main: "#1976d2";
286
- light: "#1976d2";
287
- dark: "#1565c0";
285
+ main: "#aa44f2";
286
+ light: "#aa44f2";
287
+ dark: "#7c59ac";
288
288
  contrastText: "#FFFFFF";
289
289
  };
290
290
  secondary: {
package/dist/index.js CHANGED
@@ -204,6 +204,18 @@ var import_styles = require("@mui/material/styles");
204
204
 
205
205
  // src/theme/primitives.ts
206
206
  var primitives = {
207
+ /**
208
+ * Cere brand violet — the company's primary action color across web
209
+ * surfaces. Use via `semantic.action.primary` rather than reaching for
210
+ * raw hex.
211
+ */
212
+ violet: {
213
+ 100: "#f0e0fb",
214
+ 300: "#d0bcff",
215
+ 500: "#aa44f2",
216
+ 600: "#7c59ac"
217
+ },
218
+ /** Legacy MUI blue. Retained for code paths that still reach for blue tokens by name (e.g. ROB highlights). Not the brand primary. */
207
219
  blue: {
208
220
  500: "#1976d2",
209
221
  600: "#1565c0"
@@ -345,8 +357,8 @@ var workflowConnectionColors = {
345
357
  // src/theme/semantic.ts
346
358
  var semantic = {
347
359
  action: {
348
- primary: primitives.blue[500],
349
- primaryHover: primitives.blue[600],
360
+ primary: primitives.violet[500],
361
+ primaryHover: primitives.violet[600],
350
362
  disabled: primitives.grey[400]
351
363
  },
352
364
  surface: {