saltcorn / any-bootstrap-theme

MIT License
1 stars 6 forks source link

all over the place :) #8

Open j2l opened 1 year ago

j2l commented 1 year ago

I naively tried to tweak colors a little bit (settings CSS) and got caught into a nightmare. Changing : root didn't do it because colors are still hard coded into -primary (AFAIK root has variables so it shouldn't) and changing colors according to 2 contrast (color on white, white on color) resulted in this: image

Reading https://wiki.saltcorn.com/view/ShowPage/cookbook I think we should wire colors to using var so that the min.css is adaptable directly into SC.

Before forking, what do you think?