News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.