Skip to content

Commit a98c1f9

Browse files
committed
Merge branch 'tomek/poc' of https://github.com/stackblitz/storybook-addon-stackblitz into tomek/poc
* 'tomek/poc' of https://github.com/stackblitz/storybook-addon-stackblitz: set up for the demo
2 parents 6c86783 + fe47aaf commit a98c1f9

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

src/stories/Button.stories.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ type Story = StoryObj<typeof Button>;
2020
export const Primary: Story = {
2121
args: {
2222
primary: true,
23-
label: "Button",
23+
label: "Get my free ticket!",
2424
},
2525
parameters: {
26-
repositoryUrl: 'https://github.com/sulco/viteconf-storybook-demo',
27-
filePath: 'src/stories/Button.jsx'
26+
filePath: 'src/stories/Button.tsx'
2827
}
2928
};
3029

src/stories/button.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@
99
}
1010
.storybook-button--primary {
1111
color: white;
12-
background-color: #1ea7fd;
12+
padding: 1rem 6rem;
13+
font-size: 90% !important;
14+
line-height: 1.25rem;
15+
height: 56px;
16+
width: 200px;
17+
border-radius: 30px;
18+
background: linear-gradient(#d946ef, #a21caf);
19+
border: solid 1px #d359e6b3;
20+
box-shadow: 1px 1px 4px #000a;
1321
}
1422
.storybook-button--secondary {
1523
color: #333;

0 commit comments

Comments
 (0)