Skip to content

Commit

Permalink
Adjust outlined button color in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
kubk committed Jan 11, 2024
1 parent a6cdf8c commit 36fcc6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/button-side-aligned.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const ButtonSideAligned = (props: Props) => {
outline &&
css({
backgroundColor: parsedColor
.lighten(isDarkTheme() ? 0.35 : 0.4)
.lighten(isDarkTheme() ? 0.25 : 0.4)
.toHex(),
color: mainColor,
}),
Expand Down
2 changes: 1 addition & 1 deletion src/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const Button = (props: Props) => {
outline &&
css({
backgroundColor: parsedColor
.lighten(isDarkTheme() ? 0.35 : 0.4)
.lighten(isDarkTheme() ? 0.25 : 0.4)
.toHex(),
color: mainColor,
":hover": {
Expand Down

0 comments on commit 36fcc6b

Please sign in to comment.