Skip to content

Commit

Permalink
style: Update color syntax in menu-item component
Browse files Browse the repository at this point in the history
  • Loading branch information
silicia-apps committed May 14, 2024
1 parent 5c2aad5 commit c5f982e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libs/core/src/lib/components/menu-item/menu-item.component.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
:host[color=primary]{
--sio-color-menu-item: var(--ion-color-primary);
:host[color='primary'] {
--sio-color-menu-item: var(--ion-color-primary);
--sio-color-menu-item-selected: var(--ion-color-primary-tint);
--sio-color-menu-item-badge: var(--ion-color-warning);

ion-item.rounded {
border-radius: 0 50px 50px 0;
}
Expand Down Expand Up @@ -43,10 +43,10 @@
}

ion-item.selected {
--background: var(--sio-color-menu-item-selected);
--background: var(--sio-color-menu-item-selected);
}

ion-badge {
--background: var(--sio-color-menu-item-badge);
}
}
}

0 comments on commit c5f982e

Please sign in to comment.