Skip to content

Commit

Permalink
Make typogram diagrams work in dark mode (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins authored Dec 18, 2023
1 parent baf2b3d commit 87e8ca6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ dl.domintro dt code {
padding: 8px;
border-left: 8px solid brown;
}

/* temporary fixes to the typogram diagrams
to support dark mode properly */
script + svg :is(polygon, line, rect):not(.grid) {
stroke: currentcolor;
}
script + svg :is(polygon, text) {
fill: currentcolor;
}
</style>

<script src="https://fedidcg.github.io/FedCM/static/underscore-min.js"></script>
Expand Down

0 comments on commit 87e8ca6

Please sign in to comment.