aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/style/theme.ts
blob: 3bced90713c9e0dbe97cd6a15127c3ae0cb94ab3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import * as styledComponents from 'styled-components';

const {
    default: styled,
    css,
    injectGlobal,
    keyframes,
    ThemeProvider,
} = styledComponents as styledComponents.ThemedStyledComponentsModule<Theme>;

export type Theme = { [key in ColorOption]: string };

export enum ColorOption {
    primaryColor = 'primaryColor',
    black = 'black',
    lightGrey = 'lightGrey',
    darkGrey = 'darkGrey',
    white = 'white',
}

export const theme: Theme = {
    primaryColor: '#512D80',
    black: 'black',
    lightGrey: '#999999',
    darkGrey: '#333333',
    white: 'white',
};

export { styled, css, injectGlobal, keyframes, ThemeProvider };