mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-01 05:05:25 +08:00
FIX incoreect semicolumns
This commit is contained in:
parent
bc5f35508c
commit
7ea689cd1e
@ -58,39 +58,39 @@ Next paste the code below and tweak the variables.
|
||||
import { create } from '@storybook/theming';
|
||||
|
||||
export default create({
|
||||
base: 'light';
|
||||
base: 'light',
|
||||
|
||||
colorPrimary: 'hotpink';
|
||||
colorSecondary: 'deepskyblue';
|
||||
colorPrimary: 'hotpink',
|
||||
colorSecondary: 'deepskyblue',
|
||||
|
||||
// UI
|
||||
appBg: 'white';
|
||||
appContentBg: 'silver';
|
||||
appBorderColor: 'grey';
|
||||
appBorderRadius: 4;
|
||||
appBg: 'white',
|
||||
appContentBg: 'silver',
|
||||
appBorderColor: 'grey',
|
||||
appBorderRadius: 4,
|
||||
|
||||
// Typography
|
||||
fontBase: '"Open Sans", sans-serif',
|
||||
fontCode: 'monospace';
|
||||
fontCode: 'monospace',
|
||||
|
||||
// Text colors
|
||||
textColor: 'black';
|
||||
textInverseColor: 'rgba(255,255,255,0.9)';
|
||||
textColor: 'black',
|
||||
textInverseColor: 'rgba(255,255,255,0.9)',
|
||||
|
||||
// Toolbar default and active colors
|
||||
barTextColor: 'silver';
|
||||
barSelectedColor: 'black';
|
||||
barBg: 'hotpink';
|
||||
barTextColor: 'silver',
|
||||
barSelectedColor: 'black',
|
||||
barBg: 'hotpink',
|
||||
|
||||
// Form colors
|
||||
inputBg: 'white';
|
||||
inputBorder: 'silver';
|
||||
inputTextColor: 'black';
|
||||
inputBorderRadius: 4;
|
||||
inputBg: 'white',
|
||||
inputBorder: 'silver',
|
||||
inputTextColor: 'black',
|
||||
inputBorderRadius: 4,
|
||||
|
||||
brandTitle: 'My custom storybook';
|
||||
brandUrl: 'https://example.com';
|
||||
brandImage: 'https://placehold.it/350x150';
|
||||
brandTitle: 'My custom storybook',
|
||||
brandUrl: 'https://example.com',
|
||||
brandImage: 'https://placehold.it/350x150',
|
||||
});
|
||||
```
|
||||
|
||||
@ -112,11 +112,11 @@ Many them variables are optional, the `base` property is NOT. This is a perfectl
|
||||
import { create } from '@storybook/theming';
|
||||
|
||||
export default create({
|
||||
base: 'light';
|
||||
base: 'light',
|
||||
|
||||
brandTitle: 'My custom storybook';
|
||||
brandUrl: 'https://example.com';
|
||||
brandImage: 'https://placehold.it/350x150';
|
||||
brandTitle: 'My custom storybook',
|
||||
brandUrl: 'https://example.com',
|
||||
brandImage: 'https://placehold.it/350x150',
|
||||
});
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user