1
0
Fork 0
mirror of https://github.com/mwalbeck/nextcloud-breeze-dark.git synced 2025-04-03 12:45:38 +00:00
Commit graph

16 commits

Author SHA1 Message Date
4c85966ff0
Also migrate enforced theme settings 2024-08-04 15:27:47 +02:00
157f777dc8
Switch to using BeforeTemplateRenderedListener for injecting theme metadata into body tag ()
Switch to using BeforeTemplateRenderedListener for injecting theme metadata into body tag, instead of trying to use the theming app for it. Use the dark theme for enforcement instead, as the theming app now requires the enforced app to be a valid theme.
2024-08-04 15:14:51 +02:00
cd12b040e4
Add repair steps to cleanup / restore theme settings during uninstall / install. ()
* Add repair steps to cleanup / restore enabled_themes and enforce_theme settings during uninstall / install to prevent theming issues caused by breezedark still being an enabled theme unless you disable the theme first before uninstall the app
2023-04-07 15:37:31 +02:00
813bc42c43
Add support for Nextcloud 25 ()
* Implement new system for individual user settings

* Fix some styling for NC core

* General styling fixes for apps

* Implement new enforce theme system to replace the enabled by default system

The old system doesn't really work with the new theming system in Nextcloud, so this new system is needed to achieve similar, although different, functionality.

* Don't allow user to enable / disable the theme if the theme is enforced (it would have no effect)

* Remove all references to icon variables as they no longer exist

* Implement repair step to migrate user settings
2023-02-04 21:33:56 +01:00
untbu
6a74e6a4b0
Added option to use Breeze Dark only if the client's dark mode is enabled ()
* Add option to enable / disable Breeze Dark depending on the client's system settings. This uses the prefers-color-scheme media query to determine whether to apply the theme or not.

Co-authored-by: bela <bela@firstnode.eu>
Co-authored-by: untbu <git@firstnode.eu>
2021-11-01 10:59:03 +01:00
d95e9c0cf4
Add composer file to manage some dev dependencies 2021-08-10 21:39:53 +02:00
d689bf1b8d
Switch body class from theme--light to theme--dark and theme--breezedark when theme is active. Fixes () 2021-03-19 18:07:12 +01:00
0bb63e0b42
Only load custom styling when there actually is custom styling to get 2021-02-28 13:45:58 +01:00
5ca56d227d
Move getCustomStyling to own controller so we don't call getUID when no user is active. 2021-02-23 18:26:09 +01:00
ac90dc360d
Add support for custom styling and add feedback for success or error when changing settings in admin and personal settings () 2021-02-20 13:40:32 +01:00
a34141fdc7
Provide the yes or no value, instead of just no, for login page theming when user is logged in, because when shown the 2FA login page you are logged in as a user. Fixes 2020-12-13 16:58:32 +01:00
9dbb06e948
Switch to new NC20 bootstrap process. Set strict_types=1 in php files and add param and return types where they were missing. 2020-11-07 20:55:11 +01:00
e832a708c7
Allow Breeze Dark theming of the login page to be disabled when the theme is enabled by default, fix () 2020-11-07 18:26:05 +01:00
acd8d70dfe
Add theme thumbnail in personal settings, fix 2020-10-18 17:22:29 +02:00
0100a06053
Implement per user theming () 2020-05-02 18:36:20 +02:00
d5ba30b303
Add repair step to allow anyone who install this release to have the theme enabled by default going forward, will be off by default in future releases 2020-05-02 12:35:09 +02:00