Skip to content

Commit

Permalink
fix: Button remove color-primary-element-lighter and use default st…
Browse files Browse the repository at this point in the history
…yling

Default style is `secondary` so we can simply remove the old styling and
set it to the same as secondary.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
  • Loading branch information
susnux committed Feb 11, 2023
1 parent 4ac3029 commit 42c3751
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcButton/NcButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -412,16 +412,16 @@ export default {
}
// Default button type
background-color: var(--color-primary-element-lighter), var(--color-primary-element-light);
color: var(--color-primary-light-text);
background-color: var(--color-primary-light);
&:hover:not(:disabled) {
background-color: var(--color-primary-light-hover);
}
// Back to the default color for this button when active
// TODO: add ripple effect
&:active {
background-color: var(--color-primary-element-lighter), var(--color-primary-element-light);
background-color: var(--color-primary-element-light);
}
&__wrapper {
Expand Down

0 comments on commit 42c3751

Please sign in to comment.