Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Refactor deprecated dark-mode functionality #96

Closed
wants to merge 3 commits into from
Closed

Refactor deprecated dark-mode functionality #96

wants to merge 3 commits into from

Conversation

R055A
Copy link

@R055A R055A commented May 2, 2023

Fixes #95

Replaced deprecated #gh-dark-mode-only and #gh-light-mode-only functionality with @media (prefers-color-scheme: dark) in templates/languages.svg and templates/overview.svg.

Edited README.md to reflect changes in .svg files: unappended #gh.. from images and removed the now redundant second displaying of the generated images.

Also indented the .svg files for readability.

Example

The following two dark/light mode examples display the changes in this PR, but the statistics being visualized are mine:

Dark mode - Firefox

1

Light mode - Chrome

2

R055A added 3 commits May 2, 2023 08:29
remove deprecated GitHub README.md #gh-dark-mode-only and #gh-light-mode-only
implement now GitHub README.md supported prefers-color-scheme media feature in CSS
indent code for readability
to reflect refactoring of dark-mode support for statistical visualizations
replace accidentally added changes with correct and tested changes
Copy link

@BingeCode BingeCode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

@R055A
Copy link
Author

R055A commented May 6, 2023

Great job!

Thank you!

Copy link

@erismi erismi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No

Drarig29 added a commit to Drarig29/Drarig29 that referenced this pull request Jun 26, 2023
Drarig29 added a commit to Drarig29/Drarig29 that referenced this pull request Jun 26, 2023
@R055A
Copy link
Author

R055A commented Oct 23, 2023

Hi @jstrieb what do you think?

@R055A R055A closed this by deleting the head repository Nov 5, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitHub dark-mode URI fragment is deprecated
3 participants