Skip to content

Commit

Permalink
fix: Ui button css changes (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
Riddhiagrawal001 authored Apr 17, 2024
1 parent 10a4920 commit 627c8f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/Button.res
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,7 @@ let make = (
? switch buttonState {
| Disabled => ""
| Loading => `${borderWidth} border-border_gray`
| _ =>
`${borderWidth} border-border_gray border-opacity-20 dark:border-jp-gray-960 dark:border-opacity-100`
| _ => `${borderWidth} border-border_gray dark:border-jp-gray-960 dark:border-opacity-100`
}
: switch buttonState {
| Disabled => ""
Expand Down
2 changes: 1 addition & 1 deletion src/config/UIConfig.res
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ let defaultUIConfig: t = {
},
border: {
borderColor: {
primaryNormal: "border-primary",
primaryNormal: "border border-primary",
primaryFocused: "focus:border-primary",
},
},
Expand Down

0 comments on commit 627c8f4

Please sign in to comment.