Search code examples
f#bulma

How do I set Bulma Variables when using Feliz.Bulma


How do I set variables in Feliz.Bulma? For example say I want to set the $card-header-background-color variable as described in the Card Component Documentation I've hunted around on google and I can't find any examples or documentation on how to do this.


Solution

  • See here:

    To override any of these variables, just set them before importing Bulma.

    So if you are importing Bulma in an SCSS file you could do this:

    $card-header-background-color: #05164d;
    
    @import "~bulma/bulma";