I was wondering how to add a new color to Bootstrap(like primary, info, danger, etc)
I saw this
but when I add a color I get an error
This is what the “theme colors” variable had by default
(“primary”: $primary,“secondary”: $secondary,“success”: $success,“info”: $info,“warning”: $warning,“danger”: $danger,“light”: $light,“dark”: $dark)
and this is what I changed it to
(“primary”: $primary,“secondary”: $secondary,“success”: $success,“info”: $info,“warning”: $warning,“danger”: $danger,“light”: $light,“dark”: $dark,“test”: $green-100)
Not sure how to get it working.
I also wanted to use the Bootstrap colors in my own CSS classes.
I found this post about it
But when I add the color to a class and add the class to a row it doesn’t seem to work.
Have you defined green-100 before the theme colours input in the theme manager > advanced tab?
Also, please double check the syntax on theme colours and any other inputs. I think the error could be generating from some other value as well.
And just to double check, removing this theme colour variable customization - does it compile correctly?
Recently, we built a system outside of Wappler’s implementation for custom BS themes, and there we have found that custom variable names can be created. But could not find such support in Wappler’s theme manager.