summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(theming): When selected a background image make header color independent ↵Ferdinand Thiessen2024-05-282-0/+5
| | | | | | of primary color Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Remove old theming migration steps as they are only needed onceJulius Härtl2024-02-142-223/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix(theming): The background is the primary color and must not be double ↵Ferdinand Thiessen2024-02-072-15/+15
| | | | | | inverted Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Apply same logic on capabilities for primary color like on themesFerdinand Thiessen2024-01-231-2/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Make sure `color-border-maxcontrast` fulfills 3:1 contrastFerdinand Thiessen2024-01-174-2/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(manifest): Check if app exists instead of accessing null as an arrayJoas Schilling2024-01-172-13/+29
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Migrate PHP imagick module check to new SetupCheck APICôme Chilliet2024-01-152-0/+65
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(theming): Adjust high contrast theme to fulfill WCAG AAA text contrastFerdinand Thiessen2023-12-281-3/+31
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust `color-error` and `color-success` to work for input ↵Ferdinand Thiessen2023-12-272-8/+8
| | | | | | border colors Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust dark high contrast to fulfill WCAG 2.1 AAA contrastFerdinand Thiessen2023-12-273-7/+34
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Invert filter should be based on primary-elementFerdinand Thiessen2023-12-221-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Make dark theme accessible and add unit testFerdinand Thiessen2023-12-211-12/+13
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust status colors to be also accessible on blurry backgroundFerdinand Thiessen2023-12-211-6/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust primary text color calculation to also work with high ↵Ferdinand Thiessen2023-12-191-3/+4
| | | | | | contrast themes Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust hover color to be accessibleFerdinand Thiessen2023-12-191-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* enh(theming): Adjust color utils to work as specified by WCAG (color ↵Ferdinand Thiessen2023-12-192-5/+52
| | | | | | contrast and luma calculation) Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust dark theme to be accessible adjust cypress testsFerdinand Thiessen2023-12-062-5/+5
| | | | | | Also fix warning text color for bright / default theme on blurry background Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Fix color inverted icons based on theming and dark modeJoas Schilling2023-11-301-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2326-103/+101
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(theming): Adjust config listener to validate `apporder` configFerdinand Thiessen2023-11-211-6/+10
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix apporder when an application has several menu itemsCôme Chilliet2023-11-141-4/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #41059 from nextcloud/fix/theming/capabilitiesKate2023-11-061-7/+41
|\ | | | | fix(theming): Correctly expose user and admin theming
| * fix(theming): Correctly expose user and admin themingjld31032023-11-031-7/+41
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | add descriptions for background picturesSimon L2023-11-031-0/+19
|/ | | | | Signed-off-by: Simon L <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(theming): Make sure the footer is hidden if not content is renderedFerdinand Thiessen2023-11-021-5/+10
| | | | | | | Previously the footer was empty, but the backdrop was still shown. This hides the footer if no text content was defined. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Make changes on primary color less invasivFerdinand Thiessen2023-10-272-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Ensure all text colors have enough contrast for accessibilityFerdinand Thiessen2023-10-273-6/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Make it clearer that color-text-light and -lighter are deprecatedFerdinand Thiessen2023-10-272-4/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Ensure that maxcontrast text has always a contrast of 4.5:1 ↵Ferdinand Thiessen2023-10-271-2/+3
| | | | | | even on hover Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Allow to reset the user defined app order to the default valueFerdinand Thiessen2023-10-211-1/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Allow to configure default apps and app order in frontend ↵Ferdinand Thiessen2023-10-204-41/+105
| | | | | | | | | settings * Also add API for setting the value using ajax. * Add cypress tests for app order and defaul apps Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix background removal not applying to user default themingJohn Molakvoæ2023-10-193-5/+17
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix background removal checkJohn Molakvoæ2023-10-194-5/+7
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add single status code descriptions for OpenAPIjld31032023-09-272-0/+4
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Migrate applications away from deprecated ILoggerCôme Chilliet2023-09-211-26/+9
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Change color of error and successjulia.kirschenheuter2023-08-212-16/+16
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* add separate event for rendering login page templateRobin Appelman2023-08-171-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat(theming): add mime accept in Theming image file pickerJohn Molakvoæ2023-08-032-1/+8
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Change color for primary element on hoverjulia.kirschenheuter2023-07-241-1/+1
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Merge pull request #39008 from nextcloud/enh/noid/reorder-fontsSimon L2023-07-211-1/+1
|\ | | | | switch to bootstrap font-stack
| * fix testsSimon L2023-07-211-1/+1
| | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
| * add missing places and address review.Simon L2023-07-201-1/+1
| | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
| * address reviewSimon L2023-07-191-1/+1
| | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
| * switch to bootstrap font-stackSimon L2023-07-191-1/+1
| | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | theming: Add OpenAPI specjld31032023-07-105-20/+143
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | feat(ocp): More specific type for ICapabilities::getCapabilitiesChristoph Wurst2023-07-031-2/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #38900 from tanganellilore/add_theming_doc_urlJohn Molakvoæ2023-06-291-0/+6
|\ \ | |/ |/|
| * add getDocBaseUrl that exted defaultLorenzo Tanganelli2023-06-191-0/+6
| | | | | | | | Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
* | feat: add detected mime type to exceptionDaniel Kesselberg2023-06-241-1/+1
|/ | | | | | | The mimetype may not match the file extension. Helps the user to find out why a provided image is not accepted. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* generate user themed favicon and touchiconSimon L2023-06-161-4/+6
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>