Skip to content

Commit

Permalink
docs(storybook): change storybook logo
Browse files Browse the repository at this point in the history
fix #315
  • Loading branch information
morewings committed Jul 1, 2024
1 parent 80d28f0 commit f4acbd6
Show file tree
Hide file tree
Showing 9 changed files with 1,963 additions and 261 deletions.
9 changes: 9 additions & 0 deletions .storybook/kovalTheme.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import {create} from '@storybook/theming/create';

export default create({
colorPrimary: '#61483a',
colorSecondary: '#61483a',
base: 'light',
brandTitle: 'Koval UI: React components collection',
brandImage: './storybook-logo.svg',
});
2 changes: 2 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ const config: StorybookConfig = {
plugins: await withoutVitePlugins(config.plugins, ['vite:dts']),
};
},

staticDirs: ['../public'],
};

export default config;
7 changes: 7 additions & 0 deletions .storybook/manager.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import {addons} from '@storybook/manager-api';

import kovalTheme from './kovalTheme';

addons.setConfig({
theme: kovalTheme,
});
20 changes: 20 additions & 0 deletions design/noun-blacksmith-metal-3712808.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,548 changes: 1,548 additions & 0 deletions design/storybook-logo.ai

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,11 @@
"@storybook/addon-storysource": "8.1.11",
"@storybook/blocks": "8.1.11",
"@storybook/builder-vite": "8.1.11",
"@storybook/manager-api": "8.1.11",
"@storybook/react": "8.1.11",
"@storybook/react-vite": "8.1.11",
"@storybook/test": "8.1.11",
"@storybook/theming": "8.1.11",
"@storybook/types": "8.1.11",
"@testing-library/jest-dom": "6.4.6",
"@testing-library/react": "16.0.0",
Expand Down
Loading

0 comments on commit f4acbd6

Please sign in to comment.