diff --git a/.changeset/olive-bags-reflect.md b/.changeset/olive-bags-reflect.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/olive-bags-reflect.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/clerk-js/src/ui/customizables/colorOptionToHslaScale.ts b/packages/clerk-js/src/ui/customizables/colorOptionToHslaScale.ts index f9ab3902ed1..f78895f1e30 100644 --- a/packages/clerk-js/src/ui/customizables/colorOptionToHslaScale.ts +++ b/packages/clerk-js/src/ui/customizables/colorOptionToHslaScale.ts @@ -4,24 +4,29 @@ import { colors, fromEntries } from '../utils'; type InternalColorScale = ColorScale & Partial>; -const LIGHT_SHADES = ['50', '100', '200', '300', '400'].reverse(); -const DARK_SHADES = ['600', '700', '800', '900']; +const LIGHT_SHADES = ['25', '50', '100', '150', '200', '300', '400'].reverse(); +const DARK_SHADES = ['600', '700', '750', '800', '850', '900', '950']; const TARGET_L_50_SHADE = 97; const TARGET_L_900_SHADE = 12; function createEmptyColorScale(): InternalColorScale { return { + '25': undefined, '50': undefined, '100': undefined, + '150': undefined, '200': undefined, '300': undefined, '400': undefined, '500': undefined, '600': undefined, '700': undefined, + '750': undefined, '800': undefined, + '850': undefined, '900': undefined, + '950': undefined, }; } diff --git a/packages/types/src/appearance.ts b/packages/types/src/appearance.ts index 5d8a7f5c527..cd90bf5250e 100644 --- a/packages/types/src/appearance.ts +++ b/packages/types/src/appearance.ts @@ -24,7 +24,22 @@ interface CSSObject extends CSSPropertiesWithMultiValues, CSSPseudos {} type UserDefinedStyle = string | CSSObject; -type Shade = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'; +type Shade = + | '25' + | '50' + | '100' + | '150' + | '200' + | '300' + | '400' + | '500' + | '600' + | '700' + | '750' + | '800' + | '850' + | '900' + | '950'; export type ColorScale = Record; export type AlphaColorScale = Record<'20' | Shade, T>;