question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature: custom css for light/dark themes

See original GitHub issue

Love the new Dark mode #189 support. As an addition, it would be awesome if we could provide two .css files each containing separate :root{} css variables for our own custom light/dark theme customization:

theme: {
  "light": "/themes/light.css"
  "dark": "/themes/dark.css"
},

If this is already possible via the existing setup and I’ve misunderstood, I apologize for the noise.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
egoistcommented, Mar 23, 2019

check out the link in my previous comment

0reactions
jthegeduscommented, Mar 23, 2019

Mate, you work fast! Thanks so much 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Light and dark mode in just 14 lines of CSS - Salma Alam-Naylor
Add quick support for light mode and dark mode to your website using only CSS by combining two CSS custom properties with a...
Read more >
A Complete Guide to Dark Mode on the Web - CSS-Tricks
Dark mode” is defined as a color scheme that uses light-colored text and other UI elements on a dark-colored background.
Read more >
Light and dark mode in just 14 lines of CSS
CSS custom properties are declared by words prefixed with two dashes (--), and accessed using the var() function.
Read more >
prefers-color-scheme - CSS: Cascading Style Sheets | MDN
The prefers-color-scheme CSS media feature is used to detect if a user has requested light or dark color themes.
Read more >
Light and dark themes — PyData Theme documentation
Customize the CSS of light and dark themes#. Danger. Theming is still a beta feature so the variables related to color theming are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found