File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,8 @@ const brandColors = {
6060 invokeRed : { H : 16 , S : 92 } ,
6161} ;
6262
63- export const getArbitraryBrandColor = (
64- colorScheme : keyof typeof brandColors ,
65- lightness : number ,
66- saturationPct : number = 1
67- ) => `hsl(${ brandColors [ colorScheme ] . H } ${ brandColors [ colorScheme ] . S * saturationPct } % ${ lightness } %)` ;
63+ export const getArbitraryBaseColor = ( lightness : number ) =>
64+ `hsl(${ brandColors . base . H } ${ brandColors . base . S } % ${ lightness } %)` ;
6865
6966export const colors : ThemeColors = {
7067 base : generateColorPalette ( brandColors . base . H , brandColors . base . S ) ,
Original file line number Diff line number Diff line change 11export { spinAnimation } from './animations' ;
2- export * from './colors' ;
2+ export { getArbitraryBaseColor } from './colors' ;
33export { theme , TOAST_OPTIONS } from './theme' ;
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ export default defineConfig({
1414 'lib/theme/animation.ts' ,
1515 'lib/theme/radii.ts' ,
1616 'lib/theme/space.ts' ,
17- 'lib/theme/colors.ts' ,
1817 'lib/theme/layers.ts' ,
1918 ] ,
2019 } ) ,
You can’t perform that action at this time.
0 commit comments