contao / contao-manager

Contao Manager
GNU Lesser General Public License v3.0
83 stars 33 forks source link

Darkmode #681

Closed christianbarkowsky closed 1 month ago

christianbarkowsky commented 2 years ago

It would be really cool if the manager had a DarkMode. 🥳

zoglo commented 4 months ago

Multi-Step-Process

To be honest, this would be a multi-step process as most elements of the Contao Manager and package-list have to be touched.

We are talking about changing at least 14 files in the contao/package-list repository and at least 44 files in the contao/contao-manager repository.

I wouldn't feel comfortable to even remotely throw a PR that size at aschempp, unless slowly introducing custom properties within steps, then just adding the color-modes later on.


It shouldn't be just dark-mode but color-modes for A11Y

Imho a way too big change for just a dark-mode. If it's already such a big change, then going for multiple color modes should be the goal.

That also would raise the question if you'd build upon a known framework like bootstrap as many people could help (which already supports mult-color-modes Support and not just one extra dark-mode)

What I am thinking about is color-modes like:


Where to start?

Either way, this should need to happen in contao/package-list first as the manager is dependent on the styles in there: https://github.com/contao/package-list/tree/main/src/assets/styles so maybe opening an Issue about introducing custom-properties (that do not break any style) would be better.


Kinda 'annoying' to test

I don't see this happen soon unless there is: