Closed HighSoftWare96 closed 4 years ago
Hi,
variables.scss
file that you want to use (bootstrap or bootstrap-dark, no auto-toggling support).Since the theme toggling is done based on a class on the body, to achieve what you want to do, you could:
variables.scss
file that you need (dark or white). Which sounds overly complicated.body.bootstrap .you-component-stuff
and body.bootstrap-dark .you-component-stuff
with a shared styles in .you-component-stuff
for example.If you find a clever solution or create a reusable component, feel free to share that here.
I'll close this issue since there is nothing that I can do from a bootstrap-dark
perspective.
Good luck
Hi, I'm using this library in Angular, I'm having an hard time trying to get some variables from the current applied theme in one of my components. I was wondering:
bg-color
) and to be sure that that value contains the correct value for the toggled theme (dark or light)?