slidev-theme-penguin
slidev-theme-penguin copied to clipboard
Light theme doesn't work
Hi, I love the theme but I can't figure out how to make the light theme to work. Is there any thing to do apart from theme: penguin
? The light theme seems to be black which doesn't really make sense as you can see in the picture.
I just added the two packages necessary to make it works like in the documentation and the config file at the root.
It seems that the --slidev-slide-container-background: black;
is responsible for this behavior. When I cloned this repo it worked. But when I used the method of changing the theme
to penguin
it didn't.
Changing manually the --slidev-slide-container-background: black;
to white does seem to fix the problem. Not sure why there is this problem because in the repo version it is set to --slidev-slide-container-background: black;
but there are no problems.
Ok so it seems to be unocss config related, I added
<style>
:root {
--slidev-controls-foreground: black !important;
--slidev-slide-container-background: transparent !important;
}
</style>
to my slides.md file. Not pretty but it works while someone smarter than me figures out why it's happening.