aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/Controller/UserThemeController.php
Commit message (Collapse)AuthorAgeFilesLines
* refactor(OpenAPI): Adjust scopes to match previous behaviorprovokateurin2025-01-061-0/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-051-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-211-14/+7
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-151-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor(theming): Replace security annotations with respective attributesprovokateurin2024-07-271-11/+8
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-311-25/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(theming): Allow to configure primary color separate from background in ↵Ferdinand Thiessen2024-05-211-3/+2
| | | | | | admin settings Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Separate background and primary colorFerdinand Thiessen2024-05-211-1/+2
| | | | | | | | | | | While the primary color is intended to highlight elements, it can not always be used as the background color. So now primary is independent from background a user set, the background color is, if not set directly, calculated as the mean color of the background image. That color is then used as a fallback if the background image could not be loaded and for calculating the color of the text used on the app menu and dashboard (they render directly on the background). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-6/+6
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Add single status code descriptions for OpenAPIjld31032023-09-271-0/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* theming: Add OpenAPI specjld31032023-07-101-6/+38
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Invert header if primary is bright and background disabledJohn Molakvoæ2022-12-081-5/+7
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Faster theming tests, better colours comparison and properly follow admin ↵John Molakvoæ2022-11-301-0/+1
| | | | | | theming changes Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Extract colour from custom backgroundJohn Molakvoæ2022-11-291-5/+10
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Allow to remove the background and select a custom colourJohn Molakvoæ2022-11-291-6/+19
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Improve cache buster for user backgroundsVincent Petry2022-10-141-2/+2
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Scope the appdata theming storage for global and usersJohn Molakvoæ2022-10-141-3/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix excessive increase of cachebuster valueChristopher Ng2022-10-111-0/+6
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Move background settings from dashboard app to Appearance and accessibility ↵greta2022-09-141-2/+61
| | | | | | | settings Signed-off-by: greta <gretadoci@gmail.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Allow to override the default themeJohn Molakvoæ2022-04-301-13/+29
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Migrating themes to Theming appJohn Molakvoæ2022-04-211-0/+111
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>