Untitled
raw download clone
TYPESCRIPT
views 17
,
size 2174 b
export enum Palette {
  PrimaryMain = 'PrimaryMain',
  PrimaryHover = 'PrimaryHover',
  PrimaryActive = 'PrimaryActive',
  PrimaryDark = 'PrimaryDark',

  SuccessMain = 'SuccessMain',
  SuccessHover = 'SuccessHover',
  SuccessActive = 'SuccessActive',

  GreyMain = 'GreyMain',
  GreyHover = 'GreyHover',
  GreyActive = 'GreyActive',

  Black = 'Black',
  DarkGray = 'DarkGray',
  MediumGray = 'MediumGray',
  LightGray = 'LightGray',
  ExtralightGray = 'ExtralightGray',
  MiddleGray = 'MiddleGray',
  HoverLightGray = 'HoverLightGray',
  AlertRed = 'AlertRed',
  Disabled = 'Disabled',
  White = 'White',
  TransparentWhite = 'TransparentWhite',
  Background = 'Background',
  Orange = 'Orange',
  InputBackground = 'InputBackground',
  InputDisabledBackground = 'InputDisabledBackground',
  InputErrorBackground = 'InputErrorBackground',
  InputBorder = 'InputBorder',
  InputFocusBorder = 'InputFocusBorder',
  InputDisabledBorder = 'InputDisabledBorder',
  InputErrorBorder = 'InputErrorBorder',
  InputIconColor = 'InputIconColor',
  LabelColor = 'LabelColor',

  Green = 'Green',
  Fade = 'Fade',
}

export enum Fonts {
  TextH1 = 'TextH1',
  TextH2 = 'TextH2',
  TextH3 = 'TextH3',
  TextH4 = 'TextH4',
  TextH5 = 'TextH5',
  TextLink1 = 'TextLink1',
  TextLink2 = 'TextLink2',
  TextBody = 'TextBody',
  TextSecondary = 'TextSecondary',
  TextSupplementary = 'TextSupplementary',
  Notification = 'Notification',
}

export enum Borders {
  ExtraLight = 'ExtraLight',
  Light = 'Light',
  Normal = 'Normal',
  Dark = 'Dark',
  Button = 'Button',
  Error = 'Error',
  Tab = 'Tab',
  Checkbox = 'Checkbox',
}

export enum Shadows {
  Small = 'Small',
  Normal = 'Normal',
  Big = 'Big',
  Button = 'Button',
  ContentContainer = 'ContentContainer',
  Switch = 'Switch',
}

export enum IconsSize {
  Big = 'Big',
  Normal = 'Normal',
}

export type TStyleGuide = {
  palette: Record<Palette, string>;
  fonts: Record<Fonts, string>;
  lineHeight: Record<Fonts, string>;
  borders: Record<Borders, string>;
  shadows: Record<Shadows, string>;
  icons: Record<IconsSize, number>;
};
close fullscreen
Login or Register to edit or fork this paste. It's free.