Repository navigation
Conversation
The whole 1,324-image dataset is line art on white, so in dark mode every exercise card is a floodlight — a 320px one, mid-set, in a dim gym. The browser can invert it for free: nothing is reprocessed and the files on the server are untouched. The hue-rotate is the part that matters. invert() flips lightness and hue together, so the red highlight comes out cyan and stops reading as "this is the muscle you are working"; rotating the hue back half a turn returns it to red, and the saturate makes up for the wash-out inverting a mid-red leaves. The card behind the picture goes black in the same rule, and the no-media placeholder is excluded — it is an app icon on an app surface, with nothing to invert. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0167AVafBcfxCkNqMNtfC7uW
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The exercise dataset is dark line art on white, which in dark mode is a bright block in the middle of the screen. This inverts it in CSS only (
invert(1) hue-rotate(180deg) saturate(1.9), so the red muscle highlight stays red), on.exmediaimages and videos and on thumbnails, with a black card behind..thumb-x(the no-media placeholder) is excluded. Nothing is reprocessed; the files on the server are untouched.CSS only, no behaviour change; checked by reading, not yet by eye on a device.
🤖 Generated with Claude Code