-
Notifications
You must be signed in to change notification settings - Fork 3
/
themes.js
38 lines (30 loc) · 1.16 KB
/
themes.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
import { create } from "@storybook/theming";
import * as tokens from '../src/token/storybook/tokens';
export const light = create({
base: "light",
colorPrimary: tokens.KsColorPrimaryBase,
colorSecondary: tokens.KsColorPrimaryBase,
// UI
appBg: tokens.KsColorPrimaryToBg9Base,
appContentBg: tokens.KsBackgroundColorDefaultBase,
appBorderColor: tokens.KsColorPrimaryAlpha2Base,
appBorderRadius: tokens.KsBorderRadiusCard,
// Typography
fontBase: tokens.KsFontFamilyInterface,
fontCode: tokens.KsFontFamilyMono,
// Text colors
textColor: tokens.KsTextColorDefaultBase,
textInverseColor: tokens.KsTextColorDefaultInvertedBase,
// Toolbar default and active colors
barTextColor: tokens.KsColorPrimaryAlpha6Base,
barSelectedColor: tokens.KsColorPrimaryBase,
barBg: tokens.KsBackgroundColorDefaultBase,
// Form colors
inputBg: tokens.KsBackgroundColorInterfaceInteractiveBase,
inputBorder: tokens.KsColorFgToBg7Base,
inputTextColor: tokens.KsTextColorInterfaceInteractiveBase,
inputBorderRadius: tokens.KsBorderRadiusControl,
brandTitle: "Your kickstartDS Storybook",
brandUrl: "https://www.kickstartDS.com",
brandImage: "/logo.svg",
});