diff --git a/packages/cli/src/colors/theme.ts b/packages/cli/src/colors/theme.ts index cdec8abd10..6324036e8d 100644 --- a/packages/cli/src/colors/theme.ts +++ b/packages/cli/src/colors/theme.ts @@ -80,7 +80,10 @@ const getBaseColors = (color: CssColor, colorScheme: ColorScheme) => { const calculateLightness = (base: number, mod: number) => base - mod; return { - baseDefault: chroma(color).luminance(getLuminanceFromLightness(colorLightness)).hex() as CssColor, + baseDefault: + colorScheme === 'light' + ? color + : (chroma(color).luminance(getLuminanceFromLightness(colorLightness)).hex() as CssColor), baseHover: chroma(color) .luminance(getLuminanceFromLightness(calculateLightness(colorLightness, modifier))) .hex() as CssColor,