feat: 增加 storybook

This commit is contained in:
qier222 2022-05-13 23:33:11 +08:00
parent 8d7ae405a6
commit 0520af8466
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
21 changed files with 9127 additions and 104 deletions

View file

@ -4,12 +4,23 @@ const pickedColors = require('./scripts/pickedColors.js')
module.exports = {
content: ['./index.html', './**/*.{vue,js,ts,jsx,tsx}'],
darkMode: 'media',
darkMode: 'class',
theme: {
extend: {
colors: {
...pickedColors,
brand: colors.blue,
brand: {
50: '#FCFFF5',
100: '#ECFEC1',
200: '#DCFB8F',
300: '#CDF764',
400: '#BFF142',
500: '#B2E928',
600: '#A5DE16',
700: '#98D00B',
800: '#8BC003',
900: '#8BC003',
},
gray: colors.neutral,
},
},