-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add storybook theme. version 0.3.0
- Loading branch information
1 parent
f3c3ae9
commit d56d1c6
Showing
5 changed files
with
233 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { addons } from '@storybook/addons' | ||
import theme from './theme' | ||
|
||
addons.setConfig({ theme }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import { create } from '@storybook/theming/create' | ||
|
||
export default create({ | ||
base: 'light', | ||
|
||
colorPrimary: '#41b883', | ||
colorSecondary: '#35495e', | ||
|
||
// UI | ||
appBg: '#F7FAFC', | ||
appContentBg: '#EDF2F7', | ||
appBorderColor: '#CBD5E0', | ||
appBorderRadius: 4, | ||
|
||
// Typography | ||
fontBase: '"Open Sans", sans-serif', | ||
fontCode: 'monospace', | ||
|
||
// Text colors | ||
textColor: '#1A202C', | ||
textInverseColor: 'rgba(255,255,255,0.9)', | ||
|
||
// Toolbar default and active colors | ||
barTextColor: 'silver', | ||
barSelectedColor: '#FFFFFF', | ||
barBg: '#35495e', | ||
|
||
// Form colors | ||
inputBg: 'white', | ||
inputBorder: 'silver', | ||
inputTextColor: '#1A202C', | ||
inputBorderRadius: 4, | ||
|
||
brandTitle: 'Vue Paycard', | ||
brandUrl: 'https://github.com/guastallaigor/vue-paycard', | ||
brandImage: 'https://ik.imagekit.io/6xhf1gnexgdgk/vue-paycard_dcDoi3dl0.png' | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.