dark mode support?
do we have a plan to choose a different theme for dark mode?
Not at the moment but I'll look into it later when I have a chance. I'm open to ideas.
hljs: {
theme: 'night-owl', // light
darkTheme: 'another-theme', // dark
}
then generate another set of styles for dark mode
.dark\:{
&hljs {
&...styles
}
}
this is basically the config of daisyui. What do you think?
@arily the only issue with that is how highlight.js works in general. I'd like to avoid needing to reinstantiate hljs when toggling dark mode. I have some other ideas that I'll hack on this weekend if I can find time.
Any updates on this? I'm also looking to use a different theme for dark/light mode.
Any updates on this? I'm also looking to use a different theme for dark/light mode.
I'll look into this more tomorrow. I've been meaning to do some cleanup anyway.
i would also love darkmode support...
same lol