Skip to content

Commit

Permalink
fix(clerk-js): Override border inside variants in polishedAppearance (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
desiprisg authored Feb 9, 2024
1 parent 0cf3600 commit 6e008e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/many-starfishes-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
3 changes: 2 additions & 1 deletion packages/clerk-js/src/ui/polishedAppearance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export const polishedAppearance = {
elements: ({ theme }: { theme: InternalTheme }) => {
return {
button: {
border: 0,
'&[data-variant="solid"]': {
border: 0,
'&:hover': null,
'&:focus': null,
'&:after': {
Expand All @@ -32,6 +32,7 @@ export const polishedAppearance = {
boxShadow: `0px 0px 0px 1px ${theme.colors.$primary500}, 0px 1px 1px 0px rgba(255, 255, 255, 0.07) inset, 0px 2px 3px 0px rgba(34, 42, 53, 0.20), 0px 1px 1px 0px rgba(0, 0, 0, 0.24)`,
},
'&[data-variant="outline"]': {
border: 0,
boxShadow:
'0px 2px 3px -1px rgba(0, 0, 0, 0.08), 0px 1px 0px 0px rgba(0, 0, 0, 0.02), 0px 0px 0px 1px rgba(0, 0, 0, 0.08)',
},
Expand Down

0 comments on commit 6e008e4

Please sign in to comment.