File tree Expand file tree Collapse file tree 3 files changed +1
-12
lines changed
src/components/badge/themes Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 3434
3535:host ([variant = ' info' ]) [part = ' base' ] {
3636 background : color (info , 500 );
37- color : contrast-color (info , 500 );
3837}
3938
4039:host ([variant = ' success' ]) [part = ' base' ] {
4140 background : color (success , 500 );
42- color : contrast-color (success , 500 );
4341}
4442
4543:host ([variant = ' warning' ]) [part = ' base' ] {
4644 background : color (warn , 500 );
47- color : contrast-color (warn , 500 );
4845}
4946
5047:host ([variant = ' danger' ]) [part = ' base' ] {
5148 background : color (error , 500 );
52- color : contrast-color (error , 500 );
5349}
5450
5551:host ([shape = ' rounded' ]),
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ $theme: $material;
55
66[part = ' base' ] {
77 box-shadow : var-get ($theme , ' elevation' );
8+ color : var-get ($theme , ' text-color' );
89}
910
1011::slotted(igc-icon) {
@@ -13,7 +14,6 @@ $theme: $material;
1314
1415:host ([variant = ' primary' ]) [part = ' base' ] {
1516 background : var-get ($theme , ' background-color' );
16- color : var-get ($theme , ' text-color' );
1717}
1818
1919:host ([shape = ' square' ]) [part = ' base' ] {
Original file line number Diff line number Diff line change 33
44$theme : $indigo ;
55
6- :host ([variant = ' info' ]),
7- :host ([variant = ' success' ]),
8- :host ([variant = ' warning' ]),
9- :host ([variant = ' danger' ]) {
10- color : var-get ($theme , ' text-color' );
11- }
12-
136[part = ' base' ] {
147 @include type-style (' button' );
158
You can’t perform that action at this time.
0 commit comments