Skip to content

Commit

Permalink
Merge pull request w3c#424 from tomayac/patch-1
Browse files Browse the repository at this point in the history
Fix dark mode SVG
  • Loading branch information
anssiko authored Dec 14, 2021
2 parents a587d57 + 02c4ff2 commit ef6a1e3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,17 @@ The [=task source=] for the [=tasks=] mentioned in this specification is the <df
}
</style>
<svg xmlns="http://www.w3.org/2000/svg" height="79pt" viewBox="0.00 0.00 351.00 78.51" width="351pt">
<style>
@media (prefers-color-scheme: dark) {
path,
polygon {
filter: invert(1);
}
text {
fill: #fff;
}
}
</style>
<g class="graph" transform="scale(1 1) rotate(0) translate(4 74.5122)">
<title>Sensor lifecycle</title>
<a xlink:href="#dom-sensor-state-slot">
Expand Down

0 comments on commit ef6a1e3

Please sign in to comment.