Skip to content

Commit

Permalink
feat(buttons): quartenary variant
Browse files Browse the repository at this point in the history
  • Loading branch information
Neox63 committed Jun 26, 2024
1 parent ed0dd1b commit 399232b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/Molecules/Button/Button.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
title: 'Design System/Molecules/Button'
};

const types = ['primary', 'secondary', 'tertiary', 'destructive'];
const types = ['primary', 'secondary', 'tertiary', 'quartenary', 'destructive'];
const icons = ['copy', 'eye', 'edit', 'close'];

export const classic = {
Expand Down
24 changes: 24 additions & 0 deletions components/Molecules/Button/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,30 @@
}
}

&--quartenary {
background: var(--grey-lightest);
color: var(--black);

&:hover {
background: var(--grey-lighter);
}

&:disabled {
background: var(--white);
color: var(--grey-lighter);
}

&:focus-visible {
outline: none;
background: var(--vermillon-lightest);
}

&:focus-visible:hover {
background: var(--vermillon-lightest);
color: var(--grey-dark);
}
}

&--destructive {
background: var(--error);
color: var(--white);
Expand Down

0 comments on commit 399232b

Please sign in to comment.