This repository has been archived by the owner on Dec 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy paththeme.ts
75 lines (61 loc) · 1.45 KB
/
theme.ts
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import {create} from '@storybook/theming';
const commonTheme = {
brandTitle: 'dooboo-ui',
brandUrl: 'https://dooboo-ui.hyo.dev',
brandImage: '/icon.png',
brandTarget: '_self',
stylePreview: true,
};
export const lightTheme = create({
...commonTheme,
base: 'light',
colorPrimary: 'black',
colorSecondary: '#00D9D5',
// UI
appBg: 'white',
appContentBg: 'white',
appBorderColor: '#F6F9FC',
appBorderRadius: 1,
// Typography
fontBase: '"Source Sans Pro", sans-serif',
fontCode: 'monospace',
// Text colors
textColor: 'black',
textInverseColor: 'white',
// Toolbar default and active colors
barTextColor: '#F6F9FC',
barSelectedColor: 'black',
barBg: '#00D9D5',
// Form colors
inputBg: 'white',
inputBorder: '#414141',
inputTextColor: 'black',
inputBorderRadius: 1,
});
export const darkTheme = create({
...commonTheme,
base: 'dark',
colorPrimary: 'white',
colorSecondary: '#1E1D1D',
// UI
appBg: '#1D1E1E',
appContentBg: '#1D1E1E',
appBorderColor: '#1D1E1E',
appBorderRadius: 1,
// Typography
fontBase: '"Source Sans Pro", sans-serif',
fontCode: 'monospace',
// Text colors
textColor: 'white',
textInverseColor: 'black',
// Toolbar default and active colors
barTextColor: '#EDEDED',
barSelectedColor: '#585DFA',
barBg: '#1D1E1E',
// Form colors
inputBg: 'black',
inputBorder: '#414141',
inputTextColor: 'white',
inputBorderRadius: 1,
appPreviewBg: '#1D1E1E',
});