Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

bug(website): code highlighting style fix #430

Merged
merged 2 commits into from
Mar 21, 2024

Conversation

Idrinth
Copy link
Member

@Idrinth Idrinth commented Mar 21, 2024

The highlight now works in light and dark mode.
fixes #237

The Pull Request is ready

Overview

Custom styles are provided instead of inline ones, so a switch between light and dark mode is possible.

Website

  • mobile view is usable
  • desktop view is usable
  • no a-tags are used directly (NavLink, MailLink, ExternalLink instead)
  • all new texts are added to the translation files (at least the english one)
  • tests have been added (if required)
  • shared code has been extracted in a different file

The highlight now works in light and dark mode.
fixes #237
@Idrinth Idrinth marked this pull request as ready for review March 21, 2024 03:01
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Idrinth Idrinth merged commit 733e6dc into master Mar 21, 2024
23 of 25 checks passed
@Idrinth Idrinth deleted the issue-237-simple-dark-mode-fix branch March 21, 2024 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code Highlighting doesn't respect dark mode
1 participant