You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted a light theme with some dark elements, so I applied data-bs-theme="dark" to those elements.
However that didn't change anything. So I also added either class="text-bg-dark" or class="bg-dark text-light", which worked - but I knew that was a hack.
Only after looking at the source for that "blue example" did I realise that one must do this:
I wanted a light theme with some dark elements, so I applied
data-bs-theme="dark"
to those elements.However that didn't change anything. So I also added either
class="text-bg-dark"
orclass="bg-dark text-light"
, which worked - but I knew that was a hack.Only after looking at the source for that "blue example" did I realise that one must do this:
That should probably be in the docs, it is fundamental.
The text was updated successfully, but these errors were encountered: