Open vitaly-zdanevich opened 1 year ago
Can I implement this?
Sure, but you've wanted to ask whether it would be accepted, and that depends on the solution. Do you have a plan? Does bootstrap support it?
I did not try with bootstrap, but I fount this - yes, looks like supported https://getbootstrap.com/docs/5.3/customize/color-modes/
That says "Added in v5.3". Repology uses bootstrap 3.
Do you want to update the Bootstrap?
...or what about to drop the Bootstrap? Why do we need it? UI is pretty simple. For the default colors/margins only?
...or what about to drop the Bootstrap?
I would definitely prefer to drop bootstrap - new versions have introduced visual (as opposed to semantic) classes like spacing utilities which is not right.
For the default colors/margins only?
No, it's used for everything so dropping it won't be trivial. The replacement should me manageable (BEM preferred), responsive stylesheet, with no regressions in accessibility and other features.
Do you know some candidates?
Which candidates?
To replace Bootstrap.
No. My plans were to use completely custom CSS.
Hm, looks like its a lot of work, right?
Exactly. But maybe it can be done gradually
So, how can I start?
Sorry, I cannot offer any guidance here.
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme