Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Overriding Bootstrap 5.3 styles using scss in Blazor WebApp

$
0
0

What I exactly want to do now is to override primary color, but I'm not sure if it's even possible in Blazor. Bootstrap that comes with Blazor does not have any scss files which are apparently required for override. Installing Bootstrap through nuget gives you exactly the same files.

So for example this code, which according to the internet will override the primary color (as long as you compile it to css), does nothing when used in Blazor.

$primary: #080808;@import 'lib/bootstrap/dist/css/bootstrap.css';

Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>