@bolerish/tokens 0.18.1 → 1.0.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @bolerish/tokens
2
2
 
3
+ ## 1.0.1
4
+
5
+ No changes in this release.
6
+
7
+ ## 1.0.0
8
+
9
+ ### Minor Changes
10
+
11
+ - f2a9ba4: Add intermediate neutral colors and refine light/dark text and surface hierarchy. Increase section and page typography to 20/32px while preserving token names and user settings. Review layouts and custom theme overrides when upgrading.
12
+
13
+ ### Patch Changes
14
+
15
+ - 547ee4a: Refine the existing subtle, floating and overlay shadows with contact and ambient layers in light and dark themes. Token names and component APIs remain unchanged; existing consumers receive the updated appearance without migration.
16
+ - 05b0ed6: Emit palette colors as OKLCH instead of HEX, preserving the authored colors and alpha. Consumers reading raw token CSS values must accept OKLCH syntax.
17
+ - 5a7219d: Use the bright #e5484d error accent as text over a 12% red fill for destructive actions and error feedback in both themes. This deliberately prioritizes the reference appearance over the 4.5:1 small-text contrast target; check suitability for your product. Other semantic feedback roles retain their values.
18
+ - 09caebb: Use subtle 12% tinted information, success and warning feedback backgrounds with readable theme-specific foregrounds and stronger semantic borders. Error feedback also uses a readable theme-specific foreground. The light canvas is now pure white; the dark canvas is unchanged. Existing semantic token names remain compatible and require no migration.
19
+
3
20
  ## 0.18.1
4
21
 
5
22
  No changes in this release.
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@bolerish/tokens",
3
- "version": "0.18.1",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git+https://github.com/bolerish/bolerish-ui.git"
7
+ "url": "git+https://github.com/bolerish/ui.git"
8
8
  },
9
9
  "type": "module",
10
10
  "exports": {
@@ -121,5 +121,7 @@
121
121
  "alphaWhite20": "oklch(100% 0 0 / 20%)",
122
122
  "alphaWhite50": "oklch(100% 0 0 / 50%)",
123
123
  "mist": "oklch(94.91192606% 0 0)",
124
- "paper": "oklch(97.01507725% 0 0)"
124
+ "paper": "oklch(97.01507725% 0 0)",
125
+ "neutral350": "oklch(76.23601170% 0.01400439 262.369410)",
126
+ "neutral550": "oklch(38.21795230% 0.01461728 264.387096)"
125
127
  }
@@ -2,129 +2,131 @@ import * as stylex from "@stylexjs/stylex";
2
2
 
3
3
  // Palette values are generated from ../palette.oklch.json by pnpm palette:generate.
4
4
  export const colorPalette = stylex.defineVars({
5
- white: "#FFFFFF",
6
- chalk: "#F5F6F8",
7
- fog: "#E5E5E6",
8
- silver: "#8A8F98",
9
- steel: "#62666D",
10
- iron: "#383B3F",
11
- graphite: "#23252A",
12
- carbon: "#08090A",
13
- neutral0: "#FFFFFF",
14
- neutral50: "#FAFBFC",
15
- neutral100: "#F5F6F8",
16
- neutral150: "#EEF0F3",
17
- neutral175: "#E8EBF0",
18
- neutral200: "#E5E5E6",
19
- neutral300: "#D0D6E0",
20
- neutral400: "#8A8F98",
21
- neutral450: "#81868F",
22
- neutral500: "#62666D",
23
- neutral600: "#383B3F",
24
- neutral700: "#23252A",
25
- neutral800: "#161718",
26
- neutral850: "#0F1011",
27
- neutral900: "#08090A",
28
- neutral950: "#050607",
29
- neutral1000: "#000000",
30
- primaryWeak: "#F4F4F5",
31
- primaryWeakDark: "#27272A",
32
- primaryMuted: "#3F3F46",
33
- primaryMutedDark: "#D4D4D8",
34
- primarySolid: "#18181B",
35
- primarySolidDark: "#E4E4E7",
36
- primaryContrast: "#18181B",
37
- primaryContrastDark: "#E4E4E7",
38
- redWeak: "#FACECB",
39
- redWeakDark: "#FF9E9752",
40
- redMuted: "#E6BAB8",
41
- redMutedDark: "#FF6F6C",
42
- redSolid: "#89001A",
43
- redSolidDark: "#FF9E97",
44
- redContrast: "#89001A",
45
- redContrastDark: "#FFC6C1",
46
- redFeedback: "#A50C25",
47
- redBadge: "#C9303A",
48
- redBadgeDark: "#FF705D",
49
- orangeWeak: "#FAD0B5",
50
- orangeWeakDark: "#FFA2583D",
51
- orangeMuted: "#E6BDA2",
52
- orangeMutedDark: "#E2883E",
53
- orangeSolid: "#6E3500",
54
- orangeSolidDark: "#FFA258",
55
- orangeContrast: "#6E3500",
56
- orangeContrastDark: "#FFC9A2",
57
- yellowWeak: "#F8DA9D",
58
- yellowWeakDark: "#DEB43352",
59
- yellowMuted: "#E4C279",
60
- yellowMutedDark: "#C0990E",
61
- yellowSolid: "#584400",
62
- yellowSolidDark: "#DEB433",
63
- yellowContrast: "#584400",
64
- yellowContrastDark: "#FDCF4F",
65
- yellowFeedback: "#745B00",
66
- yellowBadge: "#FFCE2F",
67
- greenWeak: "#C5E5C0",
68
- greenWeakDark: "#84C98052",
69
- greenMuted: "#B2D1AC",
70
- greenMutedDark: "#69AD67",
71
- greenSolid: "#0C5700",
72
- greenSolidDark: "#84C980",
73
- greenContrast: "#0C5700",
74
- greenContrastDark: "#9FE59B",
75
- greenFeedback: "#007004",
76
- greenBadge: "#198100",
77
- greenBadgeDark: "#64AF4C",
78
- cyanWeak: "#A3E0EF",
79
- cyanWeakDark: "#83C2D43D",
80
- cyanMuted: "#91D3E3",
81
- cyanMutedDark: "#67A7B8",
82
- cyanSolid: "#00505F",
83
- cyanSolidDark: "#83C2D4",
84
- cyanContrast: "#00505F",
85
- cyanContrastDark: "#9EDEF0",
86
- blueWeak: "#C4DDFB",
87
- blueWeakDark: "#9EB7FF52",
88
- blueMuted: "#B1C9E7",
89
- blueMutedDark: "#6D9CFE",
90
- blueSolid: "#00458C",
91
- blueSolidDark: "#9EB7FF",
92
- blueContrast: "#00458C",
93
- blueContrastDark: "#C7D3FF",
94
- blueBadge: "#0074E2",
95
- purpleWeak: "#ECCEF3",
96
- purpleWeakDark: "#F297FF3D",
97
- purpleMuted: "#D8BBDF",
98
- purpleMutedDark: "#DD74F0",
99
- purpleSolid: "#700084",
100
- purpleSolidDark: "#F297FF",
101
- purpleContrast: "#700084",
102
- purpleContrastDark: "#FAC1FF",
103
- pinkWeak: "#FCCADC",
104
- pinkWeakDark: "#FF99C33D",
105
- pinkMuted: "#E7B7C8",
106
- pinkMutedDark: "#F273AA",
107
- pinkSolid: "#83004B",
108
- pinkSolidDark: "#FF99C3",
109
- pinkContrast: "#83004B",
110
- pinkContrastDark: "#FFC3DA",
111
- alphaBlack4: "#0000000D",
112
- alphaBlack6: "#0000000F",
113
- alphaBlack8: "#00000014",
114
- alphaBlack10: "#0000001A",
115
- alphaBlack20: "#00000033",
116
- alphaBlack30: "#0000004D",
117
- alphaBlack40: "#00000066",
118
- alphaBlack50: "#00000080",
119
- alphaBlack80: "#000000CC",
120
- alphaWhite5: "#FFFFFF0D",
121
- alphaWhite8: "#FFFFFF14",
122
- alphaWhite10: "#FFFFFF1A",
123
- alphaWhite12: "#FFFFFF1F",
124
- alphaWhite20: "#FFFFFF33",
125
- alphaWhite50: "#FFFFFF80",
126
- mist: "#EEEEEE",
127
- paper: "#F5F5F5",
5
+ white: "oklch(100% 0 0)",
6
+ chalk: "oklch(97.29485% 0.00287 264.542)",
7
+ fog: "oklch(92.21905% 0.001342 286.374)",
8
+ silver: "oklch(64.88123% 0.014593 262.359)",
9
+ steel: "oklch(50.91762% 0.01212 261.768)",
10
+ iron: "oklch(35.09517% 0.008057 255.546)",
11
+ graphite: "oklch(26.44965% 0.009761 268.306)",
12
+ carbon: "oklch(13.89505% 0.002948 246.256)",
13
+ neutral0: "oklch(100% 0 0)",
14
+ neutral50: "oklch(98.76094% 0.001705 247.839)",
15
+ neutral100: "oklch(97.29485% 0.00287 264.542)",
16
+ neutral150: "oklch(95.44668% 0.004559 258.325)",
17
+ neutral175: "oklch(93.92132% 0.007469 260.732)",
18
+ neutral200: "oklch(92.21905% 0.001342 286.374)",
19
+ neutral300: "oklch(87.44433% 0.015239 260.729)",
20
+ neutral400: "oklch(64.88123% 0.014593 262.359)",
21
+ neutral450: "oklch(61.88292% 0.014771 262.356)",
22
+ neutral500: "oklch(50.91762% 0.01212 261.768)",
23
+ neutral600: "oklch(35.09517% 0.008057 255.546)",
24
+ neutral700: "oklch(26.44965% 0.009761 268.306)",
25
+ neutral800: "oklch(20.39403% 0.002529 247.951)",
26
+ neutral850: "oklch(17.2333% 0.002638 247.98)",
27
+ neutral900: "oklch(13.89505% 0.002948 246.256)",
28
+ neutral950: "oklch(12.10126% 0.003858 245.473)",
29
+ neutral1000: "oklch(0% 0 0)",
30
+ primaryWeak: "oklch(96.74343% 0.001326 286.375)",
31
+ primaryWeakDark: "oklch(27.39363% 0.005477 286.033)",
32
+ primaryMuted: "oklch(37.03234% 0.01188 285.805)",
33
+ primaryMutedDark: "oklch(87.11079% 0.005451 286.286)",
34
+ primarySolid: "oklch(21.03309% 0.00586 285.885)",
35
+ primarySolidDark: "oklch(91.97285% 0.004031 286.32)",
36
+ primaryContrast: "oklch(21.03309% 0.00586 285.885)",
37
+ primaryContrastDark: "oklch(91.97285% 0.004031 286.32)",
38
+ redWeak: "oklch(88.842% 0.0501 22.71)",
39
+ redWeakDark: "oklch(79.615% 0.1170 24.47 / 32%)",
40
+ redMuted: "oklch(82.720% 0.0510 21.28)",
41
+ redMutedDark: "oklch(71.697% 0.1767 23.77)",
42
+ redSolid: "oklch(39.780% 0.1604 22.34)",
43
+ redSolidDark: "oklch(79.615% 0.1170 24.47)",
44
+ redContrast: "oklch(39.780% 0.1604 22.34)",
45
+ redContrastDark: "oklch(87.589% 0.0659 24.27)",
46
+ redFeedback: "oklch(46.019% 0.1794 22.12)",
47
+ redBadge: "oklch(55.251% 0.1888 22.83)",
48
+ redBadgeDark: "oklch(71.578% 0.1783 29.77)",
49
+ orangeWeak: "oklch(88.680% 0.0597 54.50)",
50
+ orangeWeakDark: "oklch(79.232% 0.1420 57.20 / 24%)",
51
+ orangeMuted: "oklch(82.749% 0.0598 55.08)",
52
+ orangeMutedDark: "oklch(70.938% 0.1405 56.89)",
53
+ orangeSolid: "oklch(39.668% 0.0989 54.41)",
54
+ orangeSolidDark: "oklch(79.232% 0.1420 57.20)",
55
+ orangeContrast: "oklch(39.668% 0.0989 54.41)",
56
+ orangeContrastDark: "oklch(87.437% 0.0803 57.28)",
57
+ yellowWeak: "oklch(89.932% 0.0846 84.60)",
58
+ yellowWeakDark: "oklch(78.635% 0.1457 89.67 / 32%)",
59
+ yellowMuted: "oklch(82.759% 0.0996 85.33)",
60
+ yellowMutedDark: "oklch(69.931% 0.1403 90)",
61
+ yellowSolid: "oklch(39.679% 0.0811 89.57)",
62
+ yellowSolidDark: "oklch(78.635% 0.1457 89.67)",
63
+ yellowContrast: "oklch(39.679% 0.0811 89.57)",
64
+ yellowContrastDark: "oklch(87.227% 0.1502 88.76)",
65
+ yellowFeedback: "oklch(48.284% 0.0987 90.04)",
66
+ yellowBadge: "oklch(87.026% 0.1672 89.94)",
67
+ greenWeak: "oklch(88.883% 0.0603 141.35)",
68
+ greenWeakDark: "oklch(77.164% 0.1234 143.03 / 32%)",
69
+ greenMuted: "oklch(82.794% 0.0607 140.55)",
70
+ greenMutedDark: "oklch(68.460% 0.1219 143.49)",
71
+ greenSolid: "oklch(39.780% 0.1319 141.35)",
72
+ greenSolidDark: "oklch(77.164% 0.1234 143.03)",
73
+ greenContrast: "oklch(39.780% 0.1319 141.35)",
74
+ greenContrastDark: "oklch(85.701% 0.1228 143.15)",
75
+ greenFeedback: "oklch(47.252% 0.1593 142.77)",
76
+ greenBadge: "oklch(52.575% 0.1736 141.18)",
77
+ greenBadgeDark: "oklch(68.292% 0.1540 138.71)",
78
+ cyanWeak: "oklch(87.036% 0.0651 214.63)",
79
+ cyanWeakDark: "oklch(77.776% 0.0691 217.66 / 24%)",
80
+ cyanMuted: "oklch(82.814% 0.0701 214.56)",
81
+ cyanMutedDark: "oklch(69.157% 0.0701 216.58)",
82
+ cyanSolid: "oklch(39.727% 0.0705 215.91)",
83
+ cyanSolidDark: "oklch(77.776% 0.0691 217.66)",
84
+ cyanContrast: "oklch(39.727% 0.0705 215.91)",
85
+ cyanContrastDark: "oklch(86.361% 0.0691 217.16)",
86
+ blueWeak: "oklch(88.873% 0.0494 253.08)",
87
+ blueWeakDark: "oklch(78.788% 0.1067 269.17 / 32%)",
88
+ blueMuted: "oklch(82.782% 0.0497 254.11)",
89
+ blueMutedDark: "oklch(70.325% 0.1529 263.59)",
90
+ blueSolid: "oklch(39.777% 0.1328 255.38)",
91
+ blueSolidDark: "oklch(78.788% 0.1067 269.17)",
92
+ blueContrast: "oklch(39.777% 0.1328 255.38)",
93
+ blueContrastDark: "oklch(87.221% 0.0624 273.09)",
94
+ blueBadge: "oklch(56.862% 0.1886 255.20)",
95
+ purpleWeak: "oklch(88.776% 0.0594 319.84)",
96
+ purpleWeakDark: "oklch(80.457% 0.1702 322.40 / 24%)",
97
+ purpleMuted: "oklch(82.803% 0.0587 319.66)",
98
+ purpleMutedDark: "oklch(72.362% 0.2005 321.31)",
99
+ purpleSolid: "oklch(39.712% 0.1906 319.94)",
100
+ purpleSolidDark: "oklch(80.457% 0.1702 322.40)",
101
+ purpleContrast: "oklch(39.712% 0.1906 319.94)",
102
+ purpleContrastDark: "oklch(88.122% 0.1033 323.74)",
103
+ pinkWeak: "oklch(88.765% 0.0609 354.86)",
104
+ pinkWeakDark: "oklch(79.985% 0.1308 354.26 / 24%)",
105
+ pinkMuted: "oklch(82.709% 0.0594 355.30)",
106
+ pinkMutedDark: "oklch(71.991% 0.1660 354.87)",
107
+ pinkSolid: "oklch(39.812% 0.1633 355.32)",
108
+ pinkSolidDark: "oklch(79.985% 0.1308 354.26)",
109
+ pinkContrast: "oklch(39.812% 0.1633 355.32)",
110
+ pinkContrastDark: "oklch(87.736% 0.0742 353.89)",
111
+ alphaBlack4: "oklch(0% 0 0 / 5%)",
112
+ alphaBlack6: "oklch(0% 0 0 / 6%)",
113
+ alphaBlack8: "oklch(0% 0 0 / 8%)",
114
+ alphaBlack10: "oklch(0% 0 0 / 10%)",
115
+ alphaBlack20: "oklch(0% 0 0 / 20%)",
116
+ alphaBlack30: "oklch(0% 0 0 / 30%)",
117
+ alphaBlack40: "oklch(0% 0 0 / 40%)",
118
+ alphaBlack50: "oklch(0% 0 0 / 50%)",
119
+ alphaBlack80: "oklch(0% 0 0 / 80%)",
120
+ alphaWhite5: "oklch(100% 0 0 / 5%)",
121
+ alphaWhite8: "oklch(100% 0 0 / 8%)",
122
+ alphaWhite10: "oklch(100% 0 0 / 10%)",
123
+ alphaWhite12: "oklch(100% 0 0 / 12%)",
124
+ alphaWhite20: "oklch(100% 0 0 / 20%)",
125
+ alphaWhite50: "oklch(100% 0 0 / 50%)",
126
+ mist: "oklch(94.91192606% 0 0)",
127
+ paper: "oklch(97.01507725% 0 0)",
128
+ neutral350: "oklch(76.23601170% 0.01400439 262.369410)",
129
+ neutral550: "oklch(38.21795230% 0.01461728 264.387096)",
128
130
  });
129
131
 
130
132
  export const colorPaletteGroups = {
@@ -146,9 +148,11 @@ export const colorPaletteGroups = {
146
148
  175: colorPalette.neutral175,
147
149
  200: colorPalette.neutral200,
148
150
  300: colorPalette.neutral300,
151
+ 350: colorPalette.neutral350,
149
152
  400: colorPalette.neutral400,
150
153
  450: colorPalette.neutral450,
151
154
  500: colorPalette.neutral500,
155
+ 550: colorPalette.neutral550,
152
156
  600: colorPalette.neutral600,
153
157
  700: colorPalette.neutral700,
154
158
  800: colorPalette.neutral800,
@@ -3,51 +3,51 @@ import * as stylex from "@stylexjs/stylex";
3
3
  import { colorPalette } from "./color-palette.stylex";
4
4
 
5
5
  export const colorVars = stylex.defineVars({
6
- bgCanvas: colorPalette.mist,
6
+ bgCanvas: colorPalette.white,
7
7
  bgSurface: colorPalette.white,
8
8
  bgSurfacePressed: colorPalette.chalk,
9
9
  bgInverse: colorPalette.carbon,
10
10
  /** Neutral grouping surface; does not indicate selection. */
11
- bgSubtle: colorPalette.paper,
11
+ bgSubtle: colorPalette.primaryWeak,
12
12
  bgRaised: colorPalette.white,
13
13
  bgRaisedPressed: colorPalette.chalk,
14
14
  /** Flat persistent selection. Pair with fgPrimary and a check or boundary. */
15
- bgSelected: colorPalette.fog,
15
+ bgSelected: colorPalette.neutral150,
16
16
  /** Area that will receive a dragged item; not an insertion marker. */
17
- bgDropTarget: colorPalette.fog,
17
+ bgDropTarget: colorPalette.neutral150,
18
18
  bgCurrent: colorPalette.alphaBlack6,
19
19
  bgOverlay: colorPalette.alphaBlack40,
20
20
  bgSkeleton: colorPalette.fog,
21
21
  bgActionPrimaryHover: colorPalette.primaryMuted,
22
22
  bgActionPrimary: colorPalette.primarySolid,
23
- bgActionDestructive: colorPalette.redFeedback,
24
- bgFeedbackInfo: colorPalette.blueWeak,
25
- bgFeedbackSuccess: colorPalette.greenWeak,
26
- bgFeedbackWarning: colorPalette.yellowWeak,
27
- bgFeedbackError: colorPalette.redWeak,
28
- fgPrimary: colorPalette.carbon,
29
- fgSecondary: colorPalette.iron,
23
+ bgActionDestructive: "oklch(62.5565% 0.19334 23.0261 / 12%)",
24
+ bgFeedbackInfo: `color-mix(in srgb, ${colorPalette.blueSolidDark} 12%, transparent)`,
25
+ bgFeedbackSuccess: `color-mix(in srgb, ${colorPalette.greenSolidDark} 12%, transparent)`,
26
+ bgFeedbackWarning: `color-mix(in srgb, ${colorPalette.yellowSolidDark} 12%, transparent)`,
27
+ bgFeedbackError: "oklch(62.5565% 0.19334 23.0261 / 12%)",
28
+ fgPrimary: colorPalette.graphite,
29
+ fgSecondary: colorPalette.neutral550,
30
30
  fgTertiary: colorPalette.steel,
31
31
  fgDisabled: colorPalette.silver,
32
32
  fgInverse: colorPalette.chalk,
33
33
  fgOnActionPrimary: colorPalette.white,
34
- fgOnActionDestructive: colorPalette.neutral0,
34
+ fgOnActionDestructive: "oklch(62.5565% 0.19334 23.0261)",
35
35
  fgAction: colorPalette.carbon,
36
36
  fgFeedbackInfo: colorPalette.blueSolid,
37
- fgFeedbackSuccess: colorPalette.greenFeedback,
38
- fgFeedbackWarning: colorPalette.yellowFeedback,
37
+ fgFeedbackSuccess: colorPalette.greenSolid,
38
+ fgFeedbackWarning: colorPalette.yellowSolid,
39
39
  fgFeedbackError: colorPalette.redFeedback,
40
40
  strokeDefault: colorPalette.alphaBlack10,
41
- /** Emphasized grouping boundary, including menu separators. */
41
+ /** Active form fields and essential control boundaries. */
42
42
  strokeControl: colorPalette.neutral450,
43
43
  strokeStrong: colorPalette.steel,
44
44
  /** Exact insertion position during drag; pair with a position label. */
45
45
  strokeDropIndicator: colorPalette.carbon,
46
46
  strokeFocus: colorPalette.iron,
47
47
  strokeAction: colorPalette.primarySolid,
48
- strokeFeedbackInfo: colorPalette.blueMuted,
49
- strokeFeedbackSuccess: colorPalette.greenMuted,
50
- strokeFeedbackWarning: colorPalette.yellowMuted,
48
+ strokeFeedbackInfo: colorPalette.blueSolid,
49
+ strokeFeedbackSuccess: colorPalette.greenSolid,
50
+ strokeFeedbackWarning: colorPalette.yellowSolid,
51
51
  strokeFeedbackError: colorPalette.redFeedback,
52
52
  interactionDefault: "transparent",
53
53
  interactionHover: colorPalette.alphaBlack6,
@@ -125,9 +125,9 @@ export const radiusVars = stylex.defineVars({
125
125
  });
126
126
 
127
127
  export const shadowVars = stylex.defineVars({
128
- subtle: "0 1px 4px oklch(0% 0 0 / 8%)",
129
- floating: "0 2px 10px oklch(0% 0 0 / 10%)",
130
- overlay: "0 4px 16px oklch(0% 0 0 / 12%)",
128
+ subtle: "0 1px 2px oklch(0% 0 0 / 6%), 0 2px 4px oklch(0% 0 0 / 4%)",
129
+ floating: "0 2px 4px oklch(0% 0 0 / 8%), 0 8px 20px oklch(0% 0 0 / 6%)",
130
+ overlay: "0 4px 8px oklch(0% 0 0 / 10%), 0 16px 40px oklch(0% 0 0 / 8%)",
131
131
  });
132
132
 
133
133
  export const layerVars = stylex.defineVars({
@@ -148,8 +148,8 @@ export const typo = stylex.defineVars({
148
148
  fontSizeXs: "calc(0.75 * var(--bolerish-unit, 1rem) * var(--bolerish-density, 1))",
149
149
  fontSizeSm: "calc(0.875 * var(--bolerish-unit, 1rem) * var(--bolerish-density, 1))",
150
150
  fontSizeMd: "calc(1 * var(--bolerish-unit, 1rem) * var(--bolerish-density, 1))",
151
- fontSizeLg: "calc(1.125 * var(--bolerish-unit, 1rem) * var(--bolerish-density, 1))",
152
- fontSizeXl: "calc(1.5 * var(--bolerish-unit, 1rem) * var(--bolerish-density, 1))",
151
+ fontSizeLg: "calc(1.25 * var(--bolerish-unit, 1rem) * var(--bolerish-density, 1))",
152
+ fontSizeXl: "calc(2 * var(--bolerish-unit, 1rem) * var(--bolerish-density, 1))",
153
153
  lineHeightTight: "1.25",
154
154
  lineHeightNormal: "1.5",
155
155
  fontWeightRegular: "400",
@@ -4,36 +4,36 @@ import { colorPalette } from "./color-palette.stylex";
4
4
  import { colorVars, shadowVars } from "./semantic.stylex";
5
5
 
6
6
  export const lightColorTheme = stylex.createTheme(colorVars, {
7
- bgCanvas: colorPalette.mist,
7
+ bgCanvas: colorPalette.white,
8
8
  bgSurface: colorPalette.white,
9
9
  bgSurfacePressed: colorPalette.chalk,
10
10
  bgInverse: colorPalette.carbon,
11
- bgSubtle: colorPalette.paper,
11
+ bgSubtle: colorPalette.primaryWeak,
12
12
  bgRaised: colorPalette.white,
13
13
  bgRaisedPressed: colorPalette.chalk,
14
- bgSelected: colorPalette.fog,
15
- bgDropTarget: colorPalette.fog,
14
+ bgSelected: colorPalette.neutral150,
15
+ bgDropTarget: colorPalette.neutral150,
16
16
  bgCurrent: colorPalette.alphaBlack6,
17
17
  bgOverlay: colorPalette.alphaBlack40,
18
18
  bgSkeleton: colorPalette.fog,
19
19
  bgActionPrimaryHover: colorPalette.primaryMuted,
20
20
  bgActionPrimary: colorPalette.primarySolid,
21
- bgActionDestructive: colorPalette.redFeedback,
22
- bgFeedbackInfo: colorPalette.blueWeak,
23
- bgFeedbackSuccess: colorPalette.greenWeak,
24
- bgFeedbackWarning: colorPalette.yellowWeak,
25
- bgFeedbackError: colorPalette.redWeak,
26
- fgPrimary: colorPalette.carbon,
27
- fgSecondary: colorPalette.iron,
21
+ bgActionDestructive: "oklch(62.5565% 0.19334 23.0261 / 12%)",
22
+ bgFeedbackInfo: `color-mix(in srgb, ${colorPalette.blueSolidDark} 12%, transparent)`,
23
+ bgFeedbackSuccess: `color-mix(in srgb, ${colorPalette.greenSolidDark} 12%, transparent)`,
24
+ bgFeedbackWarning: `color-mix(in srgb, ${colorPalette.yellowSolidDark} 12%, transparent)`,
25
+ bgFeedbackError: "oklch(62.5565% 0.19334 23.0261 / 12%)",
26
+ fgPrimary: colorPalette.graphite,
27
+ fgSecondary: colorPalette.neutral550,
28
28
  fgTertiary: colorPalette.steel,
29
29
  fgDisabled: colorPalette.silver,
30
30
  fgInverse: colorPalette.chalk,
31
31
  fgOnActionPrimary: colorPalette.white,
32
- fgOnActionDestructive: colorPalette.neutral0,
32
+ fgOnActionDestructive: "oklch(62.5565% 0.19334 23.0261)",
33
33
  fgAction: colorPalette.carbon,
34
34
  fgFeedbackInfo: colorPalette.blueSolid,
35
- fgFeedbackSuccess: colorPalette.greenFeedback,
36
- fgFeedbackWarning: colorPalette.yellowFeedback,
35
+ fgFeedbackSuccess: colorPalette.greenSolid,
36
+ fgFeedbackWarning: colorPalette.yellowSolid,
37
37
  fgFeedbackError: colorPalette.redFeedback,
38
38
  strokeDefault: colorPalette.alphaBlack10,
39
39
  strokeControl: colorPalette.neutral450,
@@ -41,9 +41,9 @@ export const lightColorTheme = stylex.createTheme(colorVars, {
41
41
  strokeDropIndicator: colorPalette.carbon,
42
42
  strokeFocus: colorPalette.iron,
43
43
  strokeAction: colorPalette.primarySolid,
44
- strokeFeedbackInfo: colorPalette.blueMuted,
45
- strokeFeedbackSuccess: colorPalette.greenMuted,
46
- strokeFeedbackWarning: colorPalette.yellowMuted,
44
+ strokeFeedbackInfo: colorPalette.blueSolid,
45
+ strokeFeedbackSuccess: colorPalette.greenSolid,
46
+ strokeFeedbackWarning: colorPalette.yellowSolid,
47
47
  strokeFeedbackError: colorPalette.redFeedback,
48
48
  interactionDefault: "transparent",
49
49
  interactionHover: colorPalette.alphaBlack6,
@@ -70,18 +70,18 @@ export const darkColorTheme = stylex.createTheme(colorVars, {
70
70
  bgSkeleton: colorPalette.iron,
71
71
  bgActionPrimaryHover: colorPalette.primaryMutedDark,
72
72
  bgActionPrimary: colorPalette.primarySolidDark,
73
- bgActionDestructive: colorPalette.redFeedback,
74
- bgFeedbackInfo: colorPalette.blueWeakDark,
75
- bgFeedbackSuccess: colorPalette.greenWeakDark,
76
- bgFeedbackWarning: colorPalette.yellowWeakDark,
77
- bgFeedbackError: colorPalette.redWeakDark,
73
+ bgActionDestructive: "oklch(62.5565% 0.19334 23.0261 / 12%)",
74
+ bgFeedbackInfo: `color-mix(in srgb, ${colorPalette.blueSolidDark} 12%, transparent)`,
75
+ bgFeedbackSuccess: `color-mix(in srgb, ${colorPalette.greenSolidDark} 12%, transparent)`,
76
+ bgFeedbackWarning: `color-mix(in srgb, ${colorPalette.yellowSolidDark} 12%, transparent)`,
77
+ bgFeedbackError: "oklch(62.5565% 0.19334 23.0261 / 12%)",
78
78
  fgPrimary: colorPalette.chalk,
79
- fgSecondary: colorPalette.silver,
79
+ fgSecondary: colorPalette.neutral350,
80
80
  fgTertiary: colorPalette.silver,
81
81
  fgDisabled: colorPalette.steel,
82
82
  fgInverse: colorPalette.carbon,
83
83
  fgOnActionPrimary: colorPalette.primaryContrast,
84
- fgOnActionDestructive: colorPalette.neutral200,
84
+ fgOnActionDestructive: "oklch(62.5565% 0.19334 23.0261)",
85
85
  fgAction: colorPalette.primaryContrastDark,
86
86
  fgFeedbackInfo: colorPalette.blueContrastDark,
87
87
  fgFeedbackSuccess: colorPalette.greenContrastDark,
@@ -93,9 +93,9 @@ export const darkColorTheme = stylex.createTheme(colorVars, {
93
93
  strokeDropIndicator: colorPalette.chalk,
94
94
  strokeFocus: colorPalette.silver,
95
95
  strokeAction: colorPalette.primarySolidDark,
96
- strokeFeedbackInfo: colorPalette.blueMutedDark,
97
- strokeFeedbackSuccess: colorPalette.greenMutedDark,
98
- strokeFeedbackWarning: colorPalette.yellowMutedDark,
96
+ strokeFeedbackInfo: colorPalette.blueSolidDark,
97
+ strokeFeedbackSuccess: colorPalette.greenSolidDark,
98
+ strokeFeedbackWarning: colorPalette.yellowSolidDark,
99
99
  strokeFeedbackError: colorPalette.redSolidDark,
100
100
  interactionDefault: "transparent",
101
101
  interactionHover: colorPalette.alphaWhite5,
@@ -108,13 +108,13 @@ export const darkColorTheme = stylex.createTheme(colorVars, {
108
108
  });
109
109
 
110
110
  export const lightShadowTheme = stylex.createTheme(shadowVars, {
111
- subtle: "0 1px 4px oklch(0% 0 0 / 8%)",
112
- floating: "0 2px 10px oklch(0% 0 0 / 10%)",
113
- overlay: "0 4px 16px oklch(0% 0 0 / 12%)",
111
+ subtle: "0 1px 2px oklch(0% 0 0 / 6%), 0 2px 4px oklch(0% 0 0 / 4%)",
112
+ floating: "0 2px 4px oklch(0% 0 0 / 8%), 0 8px 20px oklch(0% 0 0 / 6%)",
113
+ overlay: "0 4px 8px oklch(0% 0 0 / 10%), 0 16px 40px oklch(0% 0 0 / 8%)",
114
114
  });
115
115
 
116
116
  export const darkShadowTheme = stylex.createTheme(shadowVars, {
117
- subtle: "0 1px 4px oklch(0% 0 0 / 36%)",
118
- floating: "0 8px 24px oklch(0% 0 0 / 52%)",
119
- overlay: "0 16px 40px oklch(0% 0 0 / 64%)",
117
+ subtle: "0 1px 2px oklch(0% 0 0 / 24%), 0 2px 4px oklch(0% 0 0 / 16%)",
118
+ floating: "0 2px 6px oklch(0% 0 0 / 32%), 0 8px 24px oklch(0% 0 0 / 28%)",
119
+ overlay: "0 4px 10px oklch(0% 0 0 / 40%), 0 16px 40px oklch(0% 0 0 / 36%)",
120
120
  });