Skip to content

Commit d139839

Browse files
authored
Merge pull request #31 from raferdev/development
Version 2.0
2 parents 91dd8ce + 6dc69f1 commit d139839

File tree

138 files changed

+9726
-4028
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+9726
-4028
lines changed

.changeset/curly-berries-play.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ concurrency:
44
cancel-in-progress: true
55

66
on:
7-
push:
8-
branches: [main]
7+
release:
8+
types: [published]
99
jobs:
1010
build:
1111
name: Build

.storybook/components/raferdevTheme.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,22 @@ import { create } from '@storybook/theming/create'
22

33
import imageLogo from '../public/logo-dark-theme.png'
44

5-
export default create({
6-
base: 'dark',
5+
const raferdevTheme = create({
6+
base: 'light',
77
brandTitle: 'Raferdev Storybook',
88
brandUrl: 'https://storybook.rafer.dev',
99
brandImage: imageLogo.toString(),
1010
brandTarget: '_self',
1111

12+
appBg: '#9ccfff',
13+
appContentBg: '#f5f4df',
14+
appBorderColor: '#a7a7a7',
15+
appBorderRadius: 4,
16+
17+
barBg: '#2585b8',
18+
barTextColor: '#fff',
19+
1220
fontBase: 'var(--font-sans)',
1321
})
22+
23+
export default raferdevTheme

.storybook/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const config: StorybookConfig = {
3636
],
3737
},
3838
},
39+
'@storybook/addon-mdx-gfm',
3940
],
4041

4142
previewHead: (head) => `

.storybook/preview.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,15 @@ const preview: Preview = {
1414
},
1515
},
1616
backgrounds: {
17-
default: 'default',
17+
default: 'dark',
1818
values: [
1919
{
20-
name: 'default',
21-
value: '#fff',
20+
name: 'light',
21+
value: `#e9e9f2`,
22+
},
23+
{
24+
name: 'dark',
25+
value: `#2d2d30`,
2226
},
2327
],
2428
},

.storybook/public/css/bgTransparent.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@
33
}
44

55
#storybook-docs > .sbdocs.sbdocs-wrapper.css-k7lbue {
6-
background-color: transparent !important;
6+
background: rgb(44, 152, 209);
7+
background: linear-gradient(
8+
180deg,
9+
rgba(44, 152, 209, 1) 0%,
10+
rgba(255, 255, 255, 1) 96%
11+
);
712
}
-6.49 KB
Loading

.storybook/public/logos/aws.png

455 Bytes
Loading
1.66 KB
Loading

.storybook/public/logos/docker.png

1.31 KB
Loading

0 commit comments

Comments
 (0)