Skip to content

Commit

Permalink
Add gradient button style
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroBailaAndrade committed Dec 27, 2023
1 parent 48bb9f7 commit cd3340d
Show file tree
Hide file tree
Showing 3 changed files with 340 additions and 263 deletions.
10 changes: 10 additions & 0 deletions workspaces/website/src/components/Button/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ export const Ghost = () => (
</ThemeProvider>
);

export const Gradient = () => (
<ThemeProvider>
<HStack p={12}>
<>
<Button variant="gradient">Gradient button</Button>
</>
</HStack>
</ThemeProvider>
);

export const PrimaryHero = () => (
<ThemeProvider>
<HStack p={12}>
Expand Down
3 changes: 2 additions & 1 deletion workspaces/website/src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ type props = {
| "filter"
| "filterActive"
| "category"
| "icon";
| "icon"
| "gradient";
children: React.ReactNode;
toId?: string;
href?: string;
Expand Down
Loading

0 comments on commit cd3340d

Please sign in to comment.