OrchardCMS / OrchardCore

Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
https://orchardcore.net
BSD 3-Clause "New" or "Revised" License
7.43k stars 2.4k forks source link

Admin Theme : "bootswatch" #7770

Open Skrypt opened 3 years ago

Skrypt commented 3 years ago

Need some thinking since now we can do this in the admin by adding new theme variants directly in the admin.scss by using :

:root[data-theme='darkmode'] {

}

Each bootswatch should now also include it's own "darkmode" styles. We should be able to define that a "bootswatch" is a different .css file which has different "default" styles.

sebastienros commented 3 years ago

Would be less risky to make it a distinct Admin theme, or be part of the documentation in https://github.com/OrchardCMS/OrchardCore/issues/7769