Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

{fill:none!important} invalid color? #231

Open
JoKalliauer opened this issue Mar 9, 2021 · 1 comment
Open

{fill:none!important} invalid color? #231

JoKalliauer opened this issue Mar 9, 2021 · 1 comment

Comments

@JoKalliauer
Copy link
Contributor

<?xml version="1.0" encoding="UTF-8"?>
<svg viewBox="0 0 5120 2240" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
 <defs>
  <style type="text/css">
  .Linie{fill:none!important}
  </style>
 </defs>
  <path class="Linie" d="m292 957h4472.5"/>
</svg>

results in Error: invalid color at 1:1.

Is it invalid syntax or not supported?

@RazrFalcon
Copy link
Owner

!important is not supported.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants