Skip to content

Commit b535d17

Browse files
committed
fix(rating): custom icons disabled styles
1 parent 913683e commit b535d17

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/components/rating/themes/shared/rating.common.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ $theme: $material;
3333
--disabled-symbol-empty-filter: #{var-get($theme, 'symbol-empty-filter')};
3434

3535
igc-rating-symbol::part(full) {
36-
color: #{var-get($theme, 'disabled-full-symbol-color')};
36+
color: var-get($theme, 'disabled-full-symbol-color');
3737
}
3838

3939
igc-rating-symbol::part(empty) {
40-
color: #{var-get($theme, 'disabled-empty-symbol-color')};
40+
color: var-get($theme, 'disabled-empty-symbol-color');
4141
}
4242

4343
[part~='label'] {
@@ -47,4 +47,9 @@ $theme: $material;
4747
[part~='value-label'] {
4848
color: var-get($theme, 'disabled-label-color');
4949
}
50+
51+
[part~='symbols'] {
52+
--symbol-full-color: #{var-get($theme, 'disabled-full-symbol-color')};
53+
--symbol-empty-color: #{var-get($theme, 'disabled-empty-symbol-color')};
54+
}
5055
}

0 commit comments

Comments
 (0)