origam 2.46.0 → 2.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,33 +1,33 @@
1
1
  export const origamLightTheme = {
2
2
  label: "Origam",
3
- description: "Calm, neutral surfaces with a single violet accent \u2014 the default origam identity.",
3
+ description: "Paper and ink surfaces with a violet action colour \u2014 the default origam identity (A1 brand kit).",
4
4
  vars: {
5
5
  color: {
6
6
  surface: {
7
- default: "#ffffff",
8
- raised: "#fafafa",
9
- sunken: "#f5f5f5",
10
- overlay: "#f5f5f5",
7
+ default: "#f7f5ef",
8
+ raised: "#fffaf7",
9
+ sunken: "#e9e0ff",
10
+ overlay: "#f5edff",
11
11
  disabled: "#e6e6e6"
12
12
  },
13
13
  text: {
14
- primary: "#0a0a0a",
14
+ primary: "#1b1127",
15
15
  secondary: "#525252",
16
- tertiary: "#737373",
16
+ tertiary: "#525252",
17
17
  disabled: "#a3a3a3",
18
18
  inverse: "#ffffff",
19
19
  onColor: "#ffffff",
20
- ink: "#0a0a0a"
20
+ ink: "#1b1127"
21
21
  },
22
22
  action: {
23
23
  primary: {
24
- bg: "#7c3aed",
25
- bgHover: "#6d28d9",
24
+ bg: "#6a56f6",
25
+ bgHover: "#614edd",
26
26
  bgDisabled: "#e6e6e6",
27
- bgSubtle: "rgba(124, 58, 237, 0.10)",
27
+ bgSubtle: "rgba(106, 86, 246, 0.10)",
28
28
  fg: "#ffffff",
29
29
  fgDisabled: "#a3a3a3",
30
- fgSubtle: "#6d28d9"
30
+ fgSubtle: "#614edd"
31
31
  },
32
32
  secondary: {
33
33
  bg: "#f5f5f5",
@@ -40,7 +40,7 @@ export const origamLightTheme = {
40
40
  bg: "rgba(0, 0, 0, 0)",
41
41
  bgHover: "rgba(0, 0, 0, 0.06)",
42
42
  bgDisabled: "rgba(0, 0, 0, 0)",
43
- fg: "#7c3aed",
43
+ fg: "#614edd",
44
44
  fgDisabled: "#a3a3a3"
45
45
  }
46
46
  },
@@ -50,20 +50,20 @@ export const origamLightTheme = {
50
50
  "subtle-alpha": "rgba(0, 0, 0, 0.08)",
51
51
  strong: "rgba(0, 0, 0, 0.16)",
52
52
  ghost: "rgba(0, 0, 0, 0.08)",
53
- focus: "#7c3aed"
53
+ focus: "#6a56f6"
54
54
  },
55
55
  feedback: {
56
56
  danger: { bg: "#dc2626", bgSubtle: "rgba(220, 38, 38, 0.08)", fg: "#ffffff", fgSubtle: "#b91c1c", border: "#dc2626" },
57
57
  info: { bg: "#2563eb", bgSubtle: "rgba(37, 99, 235, 0.08)", fg: "#ffffff", fgSubtle: "#1d4ed8", border: "#2563eb" },
58
- success: { bg: "#15803d", bgSubtle: "rgba(22, 163, 74, 0.08)", fg: "#ffffff", fgSubtle: "#15803d", border: "#15803d" },
59
- warning: { bg: "#b45309", bgSubtle: "rgba(217, 119, 6, 0.08)", fg: "#ffffff", fgSubtle: "#b45309", border: "#b45309" }
58
+ success: { bg: "#15803d", bgSubtle: "rgba(22, 163, 74, 0.08)", fg: "#ffffff", fgSubtle: "#166534", border: "#15803d" },
59
+ warning: { bg: "#b45309", bgSubtle: "rgba(217, 119, 6, 0.08)", fg: "#ffffff", fgSubtle: "#92400e", border: "#b45309" }
60
60
  }
61
61
  },
62
62
  rounded: {
63
63
  none: "0px",
64
64
  xs: "2px",
65
65
  sm: "4px",
66
- md: "8px",
66
+ md: "10px",
67
67
  lg: "12px",
68
68
  xl: "16px",
69
69
  "2xl": "24px",
@@ -75,7 +75,7 @@ export const origamLightTheme = {
75
75
  },
76
76
  typo: {
77
77
  family: {
78
- sans: "Inter, 'Helvetica Neue', Arial, sans-serif",
78
+ sans: "'Sora', Inter, ui-sans-serif, system-ui, sans-serif",
79
79
  serif: "Georgia, 'Times New Roman', serif",
80
80
  mono: "'JetBrains Mono', 'Fira Code', monospace"
81
81
  },
@@ -102,15 +102,15 @@ export const origamLightTheme = {
102
102
  },
103
103
  shadow: {
104
104
  none: "0px 0px 0px 0px rgba(0,0,0,0)",
105
- xs: "0px 1px 2px 0px rgba(0,0,0,0.05)",
106
- sm: "0px 1px 3px 0px rgba(0,0,0,0.1), 0px 1px 2px -1px rgba(0,0,0,0.1)",
107
- md: "0px 6px 24px 0px rgba(0,0,0,0.05), 0px 0px 0px 1px rgba(0,0,0,0.08)",
108
- lg: "0px 5px 5px -3px rgba(0,0,0,0.2), 0px 8px 10px 1px rgba(0,0,0,0.14), 0px 3px 14px 2px rgba(0,0,0,0.12)",
109
- xl: "0px 11px 15px -7px rgba(0,0,0,0.2), 0px 24px 38px 3px rgba(0,0,0,0.14), 0px 9px 46px 8px rgba(0,0,0,0.12)",
110
- "btn-primary": "rgba(255, 255, 255, 0.20) 0px 1px 0px 0px inset, rgba(124, 58, 237, 0.50) 0px 8px 24px -8px",
105
+ xs: "0px 1px 2px 0px rgba(27,17,39,0.06)",
106
+ sm: "0px 4px 12px 0px rgba(27,17,39,0.08)",
107
+ md: "0px 8px 24px 0px rgba(27,17,39,0.10)",
108
+ lg: "0px 16px 40px 0px rgba(27,17,39,0.16)",
109
+ xl: "0px 24px 56px 0px rgba(27,17,39,0.22)",
110
+ "btn-primary": "rgba(255, 255, 255, 0.20) 0px 1px 0px 0px inset, rgba(106, 86, 246, 0.50) 0px 8px 24px -8px",
111
111
  "btn-secondary": "none",
112
- "card-elevated": "0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px -16px rgba(0, 0, 0, 0.18)",
113
- "glow-primary": "inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px -8px rgba(124, 58, 237, 0.5)"
112
+ "card-elevated": "0 1px 3px rgba(27, 17, 39, 0.04), 0 8px 24px -16px rgba(27, 17, 39, 0.18)",
113
+ "glow-primary": "inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px -8px rgba(106, 86, 246, 0.5)"
114
114
  },
115
115
  spacing: {
116
116
  "0": "0px",
@@ -240,15 +240,28 @@ export const origamLightTheme = {
240
240
  export const origamDarkTheme = {
241
241
  mode: "dark",
242
242
  label: "Origam",
243
- description: "Calm, neutral surfaces with a single violet accent \u2014 the default origam identity.",
243
+ description: "Paper and ink surfaces with a violet action colour \u2014 the default origam identity (A1 brand kit).",
244
244
  vars: {
245
245
  color: {
246
+ /*********************************************************
247
+ * #1514 — surfaces derived from the ink #1b1127
248
+ *
249
+ * @description
250
+ * The kit gives only the ink. Fixed-step sRGB mixes, per channel
251
+ * `round(ink * (1 - t) + target * t)`:
252
+ * raised = ink → white 4 % #241b30
253
+ * overlay = ink → white 8 % #2d2438
254
+ * disabled = ink → white 16 % #3f374a
255
+ * sunken = ink → black 25 % #140d1d
256
+ * and the borders: subtle 12 % #362e41, default 20 % #494152,
257
+ * strong 56 % #9b96a0 (all ink → white).
258
+ ********************************************************/
246
259
  surface: {
247
- default: "#0a0a0a",
248
- raised: "#0e0e0e",
249
- sunken: "#171717",
250
- overlay: "#0e0e0e",
251
- disabled: "#262626"
260
+ default: "#1b1127",
261
+ raised: "#241b30",
262
+ sunken: "#140d1d",
263
+ overlay: "#2d2438",
264
+ disabled: "#3f374a"
252
265
  },
253
266
  text: {
254
267
  primary: "#fafafa",
@@ -270,13 +283,13 @@ export const origamDarkTheme = {
270
283
  },
271
284
  action: {
272
285
  primary: {
273
- bg: "#7c3aed",
274
- bgHover: "#6d28d9",
286
+ bg: "#6a56f6",
287
+ bgHover: "#614edd",
275
288
  bgDisabled: "#262626",
276
- bgSubtle: "rgba(124, 58, 237, 0.14)",
289
+ bgSubtle: "rgba(106, 86, 246, 0.14)",
277
290
  fg: "#ffffff",
278
291
  fgDisabled: "#525252",
279
- fgSubtle: "#c4b5fd"
292
+ fgSubtle: "#9284f8"
280
293
  },
281
294
  secondary: {
282
295
  bg: "#262626",
@@ -289,17 +302,17 @@ export const origamDarkTheme = {
289
302
  bg: "rgba(0, 0, 0, 0)",
290
303
  bgHover: "rgba(255, 255, 255, 0.06)",
291
304
  bgDisabled: "rgba(0, 0, 0, 0)",
292
- fg: "#c4b5fd",
305
+ fg: "#9284f8",
293
306
  fgDisabled: "#525252"
294
307
  }
295
308
  },
296
309
  border: {
297
- default: "rgba(255, 255, 255, 0.08)",
298
- subtle: "rgba(255, 255, 255, 0.04)",
310
+ default: "#494152",
311
+ subtle: "#362e41",
299
312
  "subtle-alpha": "rgba(255, 255, 255, 0.08)",
300
- strong: "rgba(255, 255, 255, 0.16)",
313
+ strong: "#9b96a0",
301
314
  ghost: "rgba(255, 255, 255, 0.08)",
302
- focus: "#a78bfa"
315
+ focus: "#9284f8"
303
316
  },
304
317
  feedback: {
305
318
  danger: { bg: "#dc2626", bgSubtle: "rgba(220, 38, 38, 0.12)", fg: "#ffffff", fgSubtle: "#f87171", border: "#f87171" },
@@ -309,10 +322,10 @@ export const origamDarkTheme = {
309
322
  }
310
323
  },
311
324
  shadow: {
312
- "btn-primary": "rgba(255, 255, 255, 0.08) 0px 1px 0px 0px inset, rgba(139, 92, 246, 0.50) 0px 8px 24px -8px",
325
+ "btn-primary": "rgba(255, 255, 255, 0.08) 0px 1px 0px 0px inset, rgba(106, 86, 246, 0.50) 0px 8px 24px -8px",
313
326
  "btn-secondary": "none",
314
327
  "card-elevated": "inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 24px -16px rgba(0, 0, 0, 0.6)",
315
- "glow-primary": "inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 24px -8px rgba(139, 92, 246, 0.5)"
328
+ "glow-primary": "inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 24px -8px rgba(106, 86, 246, 0.5)"
316
329
  }
317
330
  },
318
331
  cssVars: {},