dark
variants to any new HTML you write. It's usually quite simple.text-gray-500
. Instinctively you'd just leave this as it is. But we've found that it's hard to read in dark mode, so we recommend: text-gray-500 dark:text-gray-400
.root.html.heex
and ensure the <html>
class doesn't have "dark" in it (by default it shouldn't be there anyway).color_scheme_switch
and remove all references to this component. By default, it should just be in layout.ex
:root.html.heex
and ensure the <html>
class includes "dark" in it.color_scheme_switch
and remove all references to this component. By default, it should just be in layout.ex
: