Skip to content

Commit

Permalink
fix: improve color contrast for dark theme button (#2420)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjb1982 authored Jan 12, 2025
1 parent 8793f3a commit 67edd77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/styles/theme/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ button {
cursor: pointer;
margin: 0;
padding: 0;
color: var(--text-color-secondary);
}

input {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-core/src/modal/Close/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
top: 1.5rem;
z-index: 2;
> button {
opacity: 0.4;
opacity: 0.6;
transition: opacity var(--transition-duration) ease-in-out;
&:hover {
opacity: 1;
Expand Down

0 comments on commit 67edd77

Please sign in to comment.