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

Text-Color problem with darkmode #245

Open
rfertig opened this issue Oct 27, 2022 · 0 comments
Open

Text-Color problem with darkmode #245

rfertig opened this issue Oct 27, 2022 · 0 comments

Comments

@rfertig
Copy link

rfertig commented Oct 27, 2022

If you use the warp boxes while the browser is in dark mode, the text in the boxes is barely readable:

Screenshot

I managed to solve this by adding the following code in the userstyle.css, but I think it would be better to add this to the plugin code.

  body.darkmode div.wrap_info,
  body.darkmode div.wrap_important,
  body.darkmode div.wrap_alert,
  body.darkmode div.wrap_tip,
  body.darkmode div.wrap_help,
  body.darkmode div.wrap_todo,
  body.darkmode div.wrap_download {
    color: black;
  }
  /* span mark */
  body.darkmode span.wrap_hi {
    color: black;
  }

The result:
2022-10-27_154010-Window

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

No branches or pull requests

1 participant