Here you overwrite svg styles that can be relevant.
|
fill: currentColor; |
|
stroke: currentColor; |
|
stroke-width: 0; |
Note that css is stronger than the svg attributes.
Even :where(svg) is stronger.
<svg fill="red">...</svg>
Possible, but maybe a little too much overhead:
svg:not([fill]) { fill:currentColor; }
svg:not([stroke]) { stroke:currentColor; }
svg:not([stroke-width]) { stroke-width: 0 }
Close this issue if it still fits your use-cases.
Here you overwrite svg styles that can be relevant.
bedrocss/src/media.css
Lines 10 to 12 in e4ee7c6
Note that css is stronger than the svg attributes.
Even
:where(svg)is stronger.Possible, but maybe a little too much overhead:
svg:not([fill]) { fill:currentColor; }
svg:not([stroke]) { stroke:currentColor; }
svg:not([stroke-width]) { stroke-width: 0 }
Close this issue if it still fits your use-cases.