-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy paththeme.js
48 lines (40 loc) · 1.15 KB
/
theme.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
import { create } from '@storybook/theming/create';
import {
PharosColorWhite,
PharosColorBlack,
PharosColorMarbleGray50,
PharosColorMarbleGray20,
PharosFontFamilyBody,
PharosColorInteractivePrimary,
PharosColorTextBase,
PharosColorTextWhite,
} from '../packages/pharos/lib/styles/variables.js';
import logo from './assets/images/jstor-logo.svg';
export default create({
base: 'light',
colorPrimary: PharosColorInteractivePrimary,
colorSecondary: PharosColorInteractivePrimary,
// UI
appBg: PharosColorWhite,
appContentBg: PharosColorWhite,
appBorderColor: PharosColorMarbleGray50,
appBorderRadius: 4,
// Typography
fontBase: PharosFontFamilyBody,
fontCode: 'monospace',
// Text colors
textColor: PharosColorTextBase,
textInverseColor: PharosColorTextWhite,
// Toolbar default and active colors
barTextColor: PharosColorMarbleGray20,
barSelectedColor: PharosColorBlack,
barBg: PharosColorWhite,
// Form colors
inputBg: PharosColorWhite,
inputBorder: PharosColorMarbleGray50,
inputTextColor: PharosColorBlack,
inputBorderRadius: 4,
brandTitle: 'Pharos Storybook',
brandUrl: '#',
brandImage: logo,
});