Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 04a1d47

Browse files
committed
feat: add storybook theming
1 parent 159f71c commit 04a1d47

File tree

8 files changed

+38
-2
lines changed

8 files changed

+38
-2
lines changed

.storybook/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { configure, addDecorator } from '@storybook/vue';
22
import Vue from 'vue'
3-
import ThemeProvider from '../src/components/ThemeProvider'
3+
import ThemeProvider from 'kiwi'
44
import theme from '../src/lib/theme'
55
import icons from '../src/lib/plugin/iconsPaths'
66
import Kiwi from '../src/lib/plugin'

.storybook/theme.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { create } from '@storybook/theming';
2+
3+
export default create({
4+
base: 'light',
5+
brandTitle: 'Kiwi UI Storybook',
6+
brandUrl: 'https://github.com/codebender828/kiwi-ui',
7+
brandImage: 'https://res.cloudinary.com/xtellar/image/upload/v1575300763/kiwi-ui/kiwi-ui-logo-h_w4ltfh.svg',
8+
});

assets/logos/kiwi-ui-logo-h.png

57.8 KB
Loading

assets/logos/kiwi-ui-logo-h.svg

+1
Loading

assets/logos/kiwi-ui-logo-v.png

65.3 KB
Loading

0 commit comments

Comments
 (0)