Skip to content

Commit

Permalink
Adjusted surface colors in light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunear committed Jan 9, 2025
1 parent e7917a4 commit 272d24a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/colors/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ export const generateNeutralColorSchemes = (color: CssColor) => {
const darkBase = '#ffffff';
const neutralTheme = generateColorSchemes(color);
neutralTheme.light[2].hex = '#ffffff';
neutralTheme.light[3].hex = hexToRgba(lightBase, 0.05);
neutralTheme.light[4].hex = hexToRgba(lightBase, 0.1);
neutralTheme.light[3].hex = chroma(color).luminance(luminance.light.backgroundSubtle).hex() as CssColor;
neutralTheme.light[4].hex = chroma(color).luminance(luminance.light.surfaceDefault).hex() as CssColor;
neutralTheme.light[5].hex = hexToRgba(lightBase, 0.27);
neutralTheme.light[6].hex = hexToRgba(lightBase, 0.45);
neutralTheme.light[7].hex = hexToRgba(lightBase, 0.62);
Expand Down

0 comments on commit 272d24a

Please sign in to comment.