-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy paththeme.ts
More file actions
41 lines (32 loc) · 1.15 KB
/
theme.ts
File metadata and controls
41 lines (32 loc) · 1.15 KB
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
import {create} from '@storybook/theming';
export const CloudThemeLight = create({
base: 'light',
colorPrimary: '#027bf3',
colorSecondary: 'rgba(2, 123, 243, 0.6)',
// Typography
fontBase: '"Helvetica Neue", Arial, Helvetica, sans-serif',
fontCode:
'"SF Mono", "Menlo", "Monaco", "Consolas", "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", "Courier", monospace',
// Text colors
textColor: 'black',
textInverseColor: 'black',
// Toolbar default and active colors
barTextColor: 'silver',
barSelectedColor: '#027bf3',
// barBg: '#027bf3',
// Form colors
inputBg: 'white',
inputBorder: 'silver',
inputTextColor: 'black',
inputBorderRadius: 4,
brandUrl: 'https://github.com/gravity-ui/charts',
brandTitle: `<div style="font-size: 18px; color: #027bf3; font-weight: 600; margin-top: -6px; margin-bottom: 2px;">Gravity UI</div>
<div style="font-size: 14px;color: #7d7d7d;font-weight: 400;">Charts</div>`,
});
export const CloudThemeDark = create({
base: 'dark',
});
export const themes = {
light: CloudThemeLight,
dark: CloudThemeDark,
};