UNPKG

1.39 kBTypeScriptView Raw
1/**
2 * When the theme is to be used in a component,
3 * it will have all it's values set.
4 * None of those declarations should be optional
5 */
6export interface Theme {
7 spaceFactor: number;
8 space: number[];
9 color: {
10 base: string;
11 light: string;
12 lightest: string;
13 link: string;
14 linkHover: string;
15 focus: string;
16 border: string;
17 name: string;
18 type: string;
19 error: string;
20 baseBackground: string;
21 codeBackground: string;
22 sidebarBackground: string;
23 ribbonBackground: string;
24 ribbonText: string;
25 codeBase: string;
26 codeComment: string;
27 codePunctuation: string;
28 codeProperty: string;
29 codeDeleted: string;
30 codeString: string;
31 codeInserted: string;
32 codeOperator: string;
33 codeKeyword: string;
34 codeFunction: string;
35 codeVariable: string;
36 };
37 fontFamily: {
38 base: string[];
39 monospace: string[];
40 };
41 fontSize: {
42 base: number;
43 text: number;
44 small: number;
45 h1: number;
46 h2: number;
47 h3: number;
48 h4: number;
49 h5: number;
50 h6: number;
51 };
52 mq: {
53 small: string;
54 };
55 borderRadius: number;
56 maxWidth: number;
57 sidebarWidth: number;
58 buttonTextTransform: string;
59}