Skip to content

Commit

Permalink
The corrected color in the Button (#6262)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Platov <[email protected]>
  • Loading branch information
SasLord authored Aug 5, 2024
1 parent b96c2e9 commit eb1d738
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/theme/styles/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
--primary-button-hovered: #3575DE;
--primary-button-pressed: #1C52AB;
--primary-button-focused: #205DC2;
--secondary-button-color: rgba(0, 0, 0, .8);
--secondary-button-default: #D3E1F8;
--secondary-button-hovered: #BDD2F5;
--secondary-button-pressed: #A7C3F1;
Expand Down
1 change: 1 addition & 0 deletions packages/theme/styles/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@
}
}
&.secondary {
color: var(--secondary-button-color);
background-color: var(--secondary-button-default);
&:hover { background-color: var(--secondary-button-hovered); }
&:active,
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/components/CircleButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
}
}
&.primary {
color: var(--secondary-button-color);
background-color: var(--secondary-button-default);
&:hover {
background-color: var(--secondary-button-hovered);
Expand Down

0 comments on commit eb1d738

Please sign in to comment.