You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will solve the dark/light mode issue in a better way.
In Chameleon 3.0, we compile dark and light mode in a single CSS. It brought some issues that make site adoption hard:
You cannot disable dark mode. We have sites like shop.opensuse.org and progress.opensuse.org that don't support dark mode and we don't have enough resource to hack the code.
You cannot manually switch dark/light mode.
The dark mode doesn't look as perfect as the light mode. Only a few components have dark mode optimization.
In Chameleon 4.0, this will be changed. We will compile two different CSS: chameleon-dark.css and chameleon-light.css.
You can disable dark mode by choosing which CSS to link in your HTML.
You can manually switch dark/light mode by toggling CSS URL on server side (PHP/Ruby/Python) or client side (JavaScript).
The dark mode will look more comfortable if we use only variables for theming, instead of override CSS.
Bootstrap 5 will add official support for dark/light mode. However, it won't come soon.
Some other improvements:
Migrate build tools to webpack
Upgarde to Bootstrap 5, and remove jQuery dependency
We will solve the dark/light mode issue in a better way.
In Chameleon 3.0, we compile dark and light mode in a single CSS. It brought some issues that make site adoption hard:
In Chameleon 4.0, this will be changed. We will compile two different CSS:
chameleon-dark.css
andchameleon-light.css
.Bootstrap 5 will add official support for dark/light mode. However, it won't come soon.
Some other improvements:
CC @hellcp
The text was updated successfully, but these errors were encountered: