thomaspark / bootswatch

Themes for Bootstrap
https://bootswatch.com
MIT License
14.57k stars 3.67k forks source link

Reference to :root in cerulean _bootswatch.scss #1227

Closed ctipper closed 1 year ago

ctipper commented 1 year ago

You probably want to take a look at this in light of bootstrap #37377: Import root in bootstrap-utilities dist/cerulean/_bootswatch.scss#L9

:root {
   color-scheme: light;
}

I am not an expert I am just reporting an issue I found trying to build with grunt on my machine. Also I am curious when the time comes how dark themes are going to affect the build procedure in 5.3.0?

ctipper commented 1 year ago

Due to way sass compiles imports this will replace bootstrap :root resulting in bad rendering of pages. This was only apparent after the PR was merged into bootstrap.