@bolerish/tokens 0.11.0 → 0.12.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bolerish/tokens",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -119,5 +119,7 @@
119
119
  "alphaWhite10": "oklch(100% 0 0 / 10%)",
120
120
  "alphaWhite12": "oklch(100% 0 0 / 12%)",
121
121
  "alphaWhite20": "oklch(100% 0 0 / 20%)",
122
- "alphaWhite50": "oklch(100% 0 0 / 50%)"
122
+ "alphaWhite50": "oklch(100% 0 0 / 50%)",
123
+ "mist": "oklch(94.91192606% 0 0)",
124
+ "paper": "oklch(97.01507725% 0 0)"
123
125
  }
@@ -123,6 +123,8 @@ export const colorPalette = stylex.defineVars({
123
123
  alphaWhite12: "#FFFFFF1F",
124
124
  alphaWhite20: "#FFFFFF33",
125
125
  alphaWhite50: "#FFFFFF80",
126
+ mist: "#EEEEEE",
127
+ paper: "#F5F5F5",
126
128
  });
127
129
 
128
130
  export const colorPaletteGroups = {
@@ -3,12 +3,12 @@ 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.chalk,
6
+ bgCanvas: colorPalette.mist,
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.fog,
11
+ bgSubtle: colorPalette.paper,
12
12
  bgRaised: colorPalette.white,
13
13
  bgRaisedPressed: colorPalette.chalk,
14
14
  /** Flat persistent selection. Pair with fgPrimary and a check or boundary. */
@@ -37,7 +37,7 @@ export const colorVars = stylex.defineVars({
37
37
  fgFeedbackSuccess: colorPalette.greenFeedback,
38
38
  fgFeedbackWarning: colorPalette.yellowFeedback,
39
39
  fgFeedbackError: colorPalette.redFeedback,
40
- strokeDefault: colorPalette.fog,
40
+ strokeDefault: colorPalette.alphaBlack6,
41
41
  /** Emphasized grouping boundary, including menu separators. */
42
42
  strokeControl: colorPalette.neutral450,
43
43
  strokeStrong: colorPalette.steel,
@@ -4,11 +4,11 @@ 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.chalk,
7
+ bgCanvas: colorPalette.mist,
8
8
  bgSurface: colorPalette.white,
9
9
  bgSurfacePressed: colorPalette.chalk,
10
10
  bgInverse: colorPalette.carbon,
11
- bgSubtle: colorPalette.fog,
11
+ bgSubtle: colorPalette.paper,
12
12
  bgRaised: colorPalette.white,
13
13
  bgRaisedPressed: colorPalette.chalk,
14
14
  bgSelected: colorPalette.fog,
@@ -35,7 +35,7 @@ export const lightColorTheme = stylex.createTheme(colorVars, {
35
35
  fgFeedbackSuccess: colorPalette.greenFeedback,
36
36
  fgFeedbackWarning: colorPalette.yellowFeedback,
37
37
  fgFeedbackError: colorPalette.redFeedback,
38
- strokeDefault: colorPalette.fog,
38
+ strokeDefault: colorPalette.alphaBlack6,
39
39
  strokeControl: colorPalette.neutral450,
40
40
  strokeStrong: colorPalette.steel,
41
41
  strokeDropIndicator: colorPalette.carbon,
@@ -87,7 +87,7 @@ export const darkColorTheme = stylex.createTheme(colorVars, {
87
87
  fgFeedbackSuccess: colorPalette.greenContrastDark,
88
88
  fgFeedbackWarning: colorPalette.yellowContrastDark,
89
89
  fgFeedbackError: colorPalette.redContrastDark,
90
- strokeDefault: colorPalette.neutral700,
90
+ strokeDefault: colorPalette.alphaWhite5,
91
91
  strokeControl: colorPalette.steel,
92
92
  strokeStrong: colorPalette.neutral450,
93
93
  strokeDropIndicator: colorPalette.chalk,
@@ -114,7 +114,7 @@ export const lightShadowTheme = stylex.createTheme(shadowVars, {
114
114
  });
115
115
 
116
116
  export const darkShadowTheme = stylex.createTheme(shadowVars, {
117
- subtle: "0 0 0 1px oklch(100% 0 0 / 6%), 0 1px 4px oklch(0% 0 0 / 36%)",
118
- floating: "0 0 0 1px oklch(100% 0 0 / 8%), 0 8px 24px oklch(0% 0 0 / 52%)",
119
- overlay: "0 0 0 1px oklch(100% 0 0 / 10%), 0 16px 40px oklch(0% 0 0 / 64%)",
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%)",
120
120
  });