N°3882 - Pill: Fix default color scheme when in a panel

This commit is contained in:
Molkobain
2021-09-26 00:51:04 +02:00
parent 75d913a003
commit 39d71c9c43
2 changed files with 5 additions and 1 deletions

View File

@@ -78,6 +78,10 @@ $ibo-pill-states-colors: (
/* Rules */
.ibo-pill {
/* --ibo-main-color-xxx is to allow overload from custom dynamic value from the DM. The overload will be done through an additional CSS class of a particular DM class or DM attribute */
--ibo-main-color--100: map-get(map-get($ibo-pill-states-colors, 'neutral'), 'primary-color');
--ibo-main-color--900: map-get(map-get($ibo-pill-states-colors, 'neutral'), 'secondary-color');
@extend %ibo-fully-centered-content;
max-width: $ibo-pill--max-width;
margin: $ibo-pill--margin;