Skip to content

Commit

Permalink
[Workers] Fix dark mode styling for architecture diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
KianNH committed Aug 15, 2024
1 parent aafe596 commit 1b1a84f
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/components/WorkersArchitectureDiagram.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
width="701px"
height="863px"
viewBox="-0.5 -0.5 701 863"
class="dark:invert"
><defs></defs><g
><rect
x="140"
Expand Down Expand Up @@ -1138,12 +1139,4 @@
stroke-miterlimit="10"
pointer-events="none"></path></g
></svg
>

<!-- TODO: fix dark mode styling -->
<style>
[data-theme="dark"] svg {
filter: invert(1);
-webkit-filter: invert(1);
}
</style>
>

0 comments on commit 1b1a84f

Please sign in to comment.