Skip to content

Commit

Permalink
Merge pull request #3742 from nextcloud/fix/primary-lighter
Browse files Browse the repository at this point in the history
Remove last usage of ´--color-primary-element-lighter`
  • Loading branch information
marcoambrosini authored Feb 14, 2023
2 parents 58bc6f2 + 553d94f commit e51ebda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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
3 changes: 1 addition & 2 deletions src/components/NcCounterBubble/NcCounterBubble.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ export default {
line-height: 1em;
padding: 4px 6px;
border-radius: var(--border-radius-pill);
// since -lighter is not present in the new version it will only apply to the old one and -light for the newer
background-color: var(--color-primary-element-lighter, var(--color-primary-element-light));
background-color: var(--color-primary-element-light);
font-weight: bold;
color: var(--color-primary-element);
Expand Down

0 comments on commit e51ebda

Please sign in to comment.