3 days ago

Variables and Bulma-Extension

Posted 3 days ago by bionary

Anybody know how to customize Bulma-Extensions? While I'm not very proficient at scss I did try to follow the docs and I still can't make sense of this:

I'm trying to change the bulma-switch background color. I have this:

$switch-background: pink;

@import '~bulma/bulma';
@import '~bulma-switch';

According to the docs: I can hook into these variables, but it doesn't seem to work. Bulma and the switch works fine, but the variable doesn't seem to be applied.

For a sanity test, I tried playing around with variables in the regular Bulma library and that worked no problem.

Have any experience/ideas with this?


Please sign in or create an account to participate in this conversation.