|
16 | 16 | border-width: 1px; |
17 | 17 | border-color: rgba(0, 0, 0, 0.4); |
18 | 18 | } |
19 | | - |
20 | | - // Apply the color to the SVG path on the defintion |
21 | | - svg.ugb-custom-icon :is(g,path,rect,polygon,ellipse) { |
22 | | - fill: var(--stk-icon-list-marker-color) !important; |
23 | | - color: var(--stk-icon-list-marker-color) !important; |
24 | | - } |
25 | 19 | } |
26 | 20 |
|
27 | 21 | .stk-block-icon-list-item__content { |
|
48 | 42 | width: var(--stk-icon-height, var(--stk-icon-list-icon-size, 16px)); |
49 | 43 | transform: rotate(var(--stk-icon-list-icon-rotation, 0deg)); |
50 | 44 | opacity: var(--stk-icon-list-icon-opacity, 1); |
51 | | - fill: var(--stk-icon-list-marker-color); |
52 | | - color: var(--stk-icon-list-marker-color); |
53 | 45 | position: relative; |
54 | 46 |
|
55 | | - :is(use,g,path,rect,polygon,ellipse) { |
| 47 | + // Do not apply the color to custom icons. |
| 48 | + &:not(.ugb-custom-icon) { |
56 | 49 | fill: var(--stk-icon-list-marker-color); |
57 | 50 | color: var(--stk-icon-list-marker-color); |
| 51 | + |
| 52 | + :is(use,g,path,rect,polygon,ellipse) { |
| 53 | + fill: var(--stk-icon-list-marker-color); |
| 54 | + color: var(--stk-icon-list-marker-color); |
| 55 | + } |
58 | 56 | } |
59 | 57 | } |
60 | 58 | } |
|
0 commit comments