Open titanism opened 1 year ago
I can't remember why I did not add the !default
suffix; maybe it does not work as one would expect because Bootstrap already defines that suffix, and the dark variables are already overriding them... To be validated.
That said, feel free to validate if it works, and if so, let me know and/or open a PR.
TBH, I'm pretty busy with work atm, and I don't think I'll have the opportunity to review this for a while; your help would be most appreciated.
Couldn't we just move @import 'dark-variables'
to before @import 'node_modules/bootstrap/scss/variables';
and affix all the vars with !default
?
Will open a PR and test it out now if it works
Tested and seems to work OK. See https://github.com/ForEvolve/bootstrap-dark/pull/64.
Can you merge and release a new major or minor version to npm? This is breaking so at the minimum do a minor version release, if not a major for safety.
Just an update - that PR is broken and should not be merged. We'll try to find time to dive in that again in the near future.
e.g. if a user wants to use a custom
$blue
value in dark modehttps://github.com/ForEvolve/bootstrap-dark/blob/master/scss/_dark-variables.scss