Repository navigation
Conversation
Co-authored-by: Claude Biscuit <[email protected]>
Co-authored-by: Claude Biscuit <[email protected]>
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.
Created by Claude Biscuit, will be reviewed by @fregante first.
The overlay now flips the page's colors (black on light pages, white on dark ones) and zooms out as it appears. It's shared with
hidden-content, which gets the same look.Fixes #9591
Test URLs:
https://github.com/refined-github/refined-github/blob/main/.gitignore
hidden-content:https://togithub.com/prettier/prettier/issues/7475
Checked, logged out, in headless Chromium with the extension loaded, on the
.gitignoreURL above: pressingyshows the overlay; light, dark andauto(with the OS set to either) get the right colors, and the zoom goes from 2x to 1x in 250ms. Not checked: logged-in pages, and GitHub's real dark theme (its stylesheets were blocked, so only thedata-color-modeattribute was exercised).Reviewer task: press
yon a logged-in page in both themes and confirm it's noticeable enough (the issue also mentions size).