Skip to content

Instantly share code, notes, and snippets.

@EyalPerry
Created March 24, 2020 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EyalPerry/4a165b40aeb76e9bcf4d82d892d77aab to your computer and use it in GitHub Desktop.
Save EyalPerry/4a165b40aeb76e9bcf4d82d892d77aab to your computer and use it in GitHub Desktop.
Component Colors
export interface ColorSchemes
{
light: ComponentPalletes:
dark: ComponentPalletes;
}
export interface ComponentPalletes
{
button: ButtonPalletes;
...
}
export interface ButtonPalletes {
primary: Pallete;
secondary: Pallete;
destructive: Pallete;
}
export interface Pallete {
backgroundColor: string;
color: string;
borderColor: string;
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment