2017-08-05 00:57:02 +05:30
|
|
|
// @flow
|
|
|
|
export type Color = 'green'
|
2017-09-09 20:34:26 +05:30
|
|
|
| 'blue'
|
|
|
|
| 'darkBlue'
|
|
|
|
| 'violet'
|
|
|
|
| 'lightViolet'
|
|
|
|
| 'orange'
|
|
|
|
| 'red'
|
|
|
|
| 'black'
|
|
|
|
| 'white';
|
2016-05-30 10:10:59 +05:30
|
|
|
|
2017-09-09 20:34:26 +05:30
|
|
|
export type Skin = 'dark' | 'light';
|
2016-05-30 10:10:59 +05:30
|
|
|
|
2017-08-05 00:57:02 +05:30
|
|
|
export const COLOR_GREEN: Color = 'green';
|
|
|
|
export const COLOR_BLUE: Color = 'blue';
|
|
|
|
export const COLOR_DARK_BLUE: Color = 'darkBlue';
|
|
|
|
export const COLOR_VIOLET: Color = 'violet';
|
|
|
|
export const COLOR_LIGHT_VIOLET: Color = 'lightViolet';
|
|
|
|
export const COLOR_ORANGE: Color = 'orange';
|
|
|
|
export const COLOR_RED: Color = 'red';
|
|
|
|
export const COLOR_BLACK: Color = 'black';
|
|
|
|
export const COLOR_WHITE: Color = 'white';
|
|
|
|
|
|
|
|
export const colors: Array<Color> = [
|
2016-05-30 10:10:59 +05:30
|
|
|
COLOR_GREEN,
|
|
|
|
COLOR_BLUE,
|
|
|
|
COLOR_DARK_BLUE,
|
|
|
|
COLOR_VIOLET,
|
|
|
|
COLOR_LIGHT_VIOLET,
|
|
|
|
COLOR_ORANGE,
|
2016-11-06 19:49:52 +05:30
|
|
|
COLOR_RED,
|
|
|
|
COLOR_BLACK,
|
2016-11-08 11:37:04 +05:30
|
|
|
COLOR_WHITE
|
2016-05-30 10:10:59 +05:30
|
|
|
];
|
|
|
|
|
2017-08-05 00:57:02 +05:30
|
|
|
export const SKIN_DARK: Skin = 'dark';
|
|
|
|
export const SKIN_LIGHT: Skin = 'light';
|
|
|
|
|
|
|
|
export const skins: Array<Skin> = [SKIN_DARK, SKIN_LIGHT];
|
2019-11-11 14:10:05 +05:30
|
|
|
|
|
|
|
export {default as RelativeTime} from './RelativeTime';
|