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

Code blocks follow browser light/dark theme, not user settings #2405

Open
4 tasks done
shrugal opened this issue Apr 4, 2024 · 1 comment
Open
4 tasks done

Code blocks follow browser light/dark theme, not user settings #2405

shrugal opened this issue Apr 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@shrugal
Copy link

shrugal commented Apr 4, 2024

Requirements

  • This is a bug report, and if not, please post to https://lemmy.ml/c/lemmy_support instead.
  • Please check to see if this issue already exists.
  • It's a single bug. Do not report multiple bugs in one issue.
  • It's a frontend issue, not a backend issue; Otherwise please create an issue on the backend repo instead.

Summary

I have my theme set to "darkly", but code blocks still use the browser's theme settings.

Steps to Reproduce

  1. Set lemmy theme to a dark or light variant
  2. Switch browser to light mode -> Code blocks use light theme
  3. Switch browser to dark mode -> Code blocks use dark theme

Technical Details

Windows 11, Firefox 124.0.2

Lemmy Instance Version

0.19.3

Lemmy Instance URL

https://lemm.ee

@shrugal shrugal added the bug Something isn't working label Apr 4, 2024
@matc-pub
Copy link
Contributor

matc-pub commented Apr 4, 2024

9a5f9dd changed how the code theme is selected. Should be fixed in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants