evilz / vscode-reveal

Revealjs vsCode extension
https://marketplace.visualstudio.com/items?itemName=evilz.vscode-reveal
MIT License
453 stars 146 forks source link

Custom css theme loads but gets overwritten by default theme, possibly issue with z-index? #1161

Open mlubej opened 1 year ago

mlubej commented 1 year ago

I have a custom css file which loads an image and adds it in the top right corner. I add the custom css using the front matter:

---
theme : "blood"
customTheme : "custom"
___

custom.css content:

body {
    background-image: url(figs/logo.png);
    background-size: 10%;
    background-repeat: no-repeat;
    background-position: 95% 5%;
}

When I refresh I see the image from the custom css file loaded, but then quickly overwritten with the theme background, which made me think there is an issue with the z-index or something.