Skip to content

Commit

Permalink
Make dim color scheme dim
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Feb 22, 2024
1 parent 1ccb3be commit b774919
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/alf/themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,21 +132,21 @@ export const darkPalette: Palette = {

export const dimPalette: Palette = {
...darkPalette,
black: tokens.color.gray_1000,
black: tokens.color.dimGray,

contrast_25: tokens.color.gray_975,
contrast_50: tokens.color.gray_950,
contrast_100: tokens.color.gray_900,
contrast_200: tokens.color.gray_800,
contrast_300: tokens.color.gray_700,
contrast_400: tokens.color.gray_600,
contrast_500: tokens.color.gray_500,
contrast_600: tokens.color.gray_400,
contrast_700: tokens.color.gray_300,
contrast_800: tokens.color.gray_200,
contrast_900: tokens.color.gray_100,
contrast_950: tokens.color.gray_50,
contrast_975: tokens.color.gray_25,
contrast_25: tokens.color.gray_900,
contrast_50: tokens.color.gray_800,
contrast_100: tokens.color.gray_700,
contrast_200: tokens.color.gray_600,
contrast_300: tokens.color.gray_500,
contrast_400: tokens.color.gray_400,
contrast_500: tokens.color.gray_300,
contrast_600: tokens.color.gray_200,
contrast_700: tokens.color.gray_100,
contrast_800: tokens.color.gray_50,
contrast_900: tokens.color.gray_25,
contrast_950: tokens.color.gray_0,
contrast_975: tokens.color.gray_0,
} as const

export const light = {
Expand Down
1 change: 1 addition & 0 deletions src/alf/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const GREEN_HUE = 152

export const color = {
trueBlack: '#000000',
dimGray: `hsl(216, 23%, 17%)`,

gray_0: `hsl(${BLUE_HUE}, 20%, 100%)`,
gray_25: `hsl(${BLUE_HUE}, 20%, 97%)`,
Expand Down

0 comments on commit b774919

Please sign in to comment.