Re:Making a Linux home server sleep on idle and wake on dema...
by michielderhaeg on Wednesday April 19, 2023 @09:18AM
(#35627768)
If I switch to the light theme and back again, the diagrams become white and readable.
[ Parent
| on HN ]
Re:Making a Linux home server sleep on idle and wake on dema...
by V__ on Wednesday April 19, 2023 @09:36AM
(#35627975)
He is inverting the embedded SVG's colors using CSS. However, that CSS is JavaScript applied and doesn't trigger on page load. SVG offers a nice 'currentColor' color value, which resolves to the inherited text-color. Replacing stroke='#000000' with stroke='currentColor' would solve this bug without requiring any JS.