Skip to content

Commit ffbc264

Browse files
Update storybook
1 parent 770771a commit ffbc264

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

.storybook/Theme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { create } from '@storybook/theming';
22

33
export default create({
4-
base: 'light',
4+
base: 'dark',
55
brandTitle: 'RenderHooks',
66
brandUrl: 'https://github.com/brandonmcconnell/render-hooks',
77
brandImage: 'https://github.com/brandonmcconnell/render-hooks/blob/main/.github/render-hooks-logo.png?raw=true',

.storybook/manager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { addons } from '@storybook/manager-api';
22
import theme from './Theme';
3+
import './storybook.css';
34

45
addons.setConfig({
56
theme,

.storybook/preview.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
import type { Preview } from '@storybook/react'
22
import theme from './Theme'
3+
import './storybook.css';
4+
35
const preview: Preview = {
46
parameters: {
57
docs: {
6-
theme,
8+
theme: {
9+
...theme,
10+
base: 'light',
11+
},
712
},
813
codesandbox: {
914
/**

.storybook/storybook.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.sidebar-header a[title] img {
2+
width: 64px;
3+
height: auto;
4+
}

0 commit comments

Comments
 (0)