Skip to content

Commit

Permalink
fix: badge outline style (#32)
Browse files Browse the repository at this point in the history
* fix: badge outline style

* fix: header shrinking in flexbox
  • Loading branch information
ajbura committed Feb 4, 2024
1 parent c188947 commit 86d9b0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/badge/Badge.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,25 @@ export const Badge = recipe({
backgroundColor: Main,
color: OnMain,
borderColor: MainLine,
outlineColor: MainLine,
},
Soft: {
backgroundColor: Container,
color: OnContainer,
borderColor: ContainerLine,
outlineColor: ContainerLine,
},
None: {
backgroundColor: "inherit",
color: Main,
borderColor: Main,
outlineColor: Main,
},
},
outlined: {
true: {
borderWidth: config.borderWidth.B300,
outlineWidth: config.borderWidth.B300,
outlineStyle: "solid",
},
},
radii: RadiiVariant,
Expand Down
1 change: 1 addition & 0 deletions src/components/header/Header.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const Header = recipe({
{
display: "flex",
alignItems: "center",
flexShrink: 0,
},
],
variants: {
Expand Down

0 comments on commit 86d9b0f

Please sign in to comment.