This repository has been archived by the owner on Dec 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdarkTheme.js
80 lines (72 loc) · 2.03 KB
/
darkTheme.js
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
76
77
78
79
80
import { create } from '@storybook/theming/create';
import * as colors from '@brightlayer-ui/colors';
export const bluiDarkTheme = create({
base: 'dark',
colorPrimary: colors.blue[500],
colorSecondary: colors.white[500],
// UI
appBg: colors.black[700],
appContentBg: colors.black[700],
appBorderColor: colors.gray[200],
appBorderRadius: 4,
// Typography
fontBase: '"Open Sans", sans-serif',
fontCode: 'monospace',
// Text colors
textColor: colors.white[500],
textInverseColor: colors.white[700],
// Toolbar default and active colors
barTextColor: colors.black[50],
barSelectedColor: colors.white[700],
barBg: colors.blue[500],
// Form colors
inputBg: colors.black[500],
inputBorder: colors.gray[500],
inputTextColor: colors.white[700],
inputBorderRadius: 4,
// This section can be used to apply classes to our Markdown documents.
addonNotesTheme: {
a: {
color: colors.blue[200] + '!important',
},
h1: {
color: colors.blue[200],
fontWeight: '400!important',
},
h2: {
color: colors.blue[200],
},
h3: {
color: colors.blue[200],
},
h4: {
color: colors.blue[200],
},
h5: {
color: colors.blue[200],
},
h6: {
color: colors.blue[200],
},
table: {
width: '100%',
},
'tr:nth-of-type(even)': {
backgroundColor: colors.gray[700] + '!important',
},
'tr:nth-of-type(odd)': {
backgroundColor: colors.gray[900] + '!important',
},
blockquote: {
color: colors.white[500] + '!important',
},
pre: {
backgroundColor: colors.black[800] + '!important',
},
code: {
backgroundColor: colors.black[800] + '!important',
border: 'none!important',
color: colors.white[50] + '!important',
},
},
});