aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix(theming): Return default theme if the user never selected a themebackport/49112/stable30provokateurin2024-11-071-10/+10
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(tests): Test OTF font filebackport/47928/stable30Joas Schilling2024-09-151-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Use `IAppConfig` instead of `IConfig->getAppValue`Ferdinand Thiessen2024-09-112-55/+68
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Update value of body container radiusMarco Ambrosini2024-08-011-0/+2
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* test(theming): Fix broken footer links testsprovokateurin2024-07-271-3/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(theming): Add checkbox for force enable / disable blurry backgroundFerdinand Thiessen2024-07-021-8/+16
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Conitionally disable blur filter for performanceFerdinand Thiessen2024-07-026-0/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): also apply enforced theme for guestsskjnldsv2024-06-141-0/+42
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-3119-425/+39
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(tests): Adjust theming test for new splitted background and primary colorsFerdinand Thiessen2024-05-212-67/+21
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(tests): Adjust theming test for new splitted background and primary colorsFerdinand Thiessen2024-05-219-120/+197
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(theming): Provide CSS variable for favorite color and adjust for dark modeFerdinand Thiessen2024-03-061-0/+1
| | | | | Co-authored-by: Simon L <szaimen@e.mail.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Apply same logic on capabilities for primary color like on themesFerdinand Thiessen2024-01-231-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Make sure `color-border-maxcontrast` fulfills 3:1 contrastFerdinand Thiessen2024-01-171-0/+12
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(manifest): Check if app exists instead of accessing null as an arrayJoas Schilling2024-01-171-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(theming): Adjust high contrast theme to fulfill WCAG AAA text contrastFerdinand Thiessen2023-12-221-0/+142
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust dark high contrast to fulfill WCAG 2.1 AAA contrastFerdinand Thiessen2023-12-192-8/+169
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Make dark theme accessible and add unit testFerdinand Thiessen2023-12-181-0/+143
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust status colors to be also accessible on blurry backgroundFerdinand Thiessen2023-12-181-1/+36
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust primary text color calculation to also work with high ↵Ferdinand Thiessen2023-12-151-3/+9
| | | | | | contrast themes Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust hover color to be accessibleFerdinand Thiessen2023-12-152-16/+129
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* enh(theming): Adjust color utils to work as specified by WCAG (color ↵Ferdinand Thiessen2023-12-151-5/+24
| | | | | | contrast and luma calculation) Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-236-7/+6
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(theming): Correctly expose user and admin themingjld31032023-11-031-3/+7
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(theming): Ensure all text colors have enough contrast for accessibilityFerdinand Thiessen2023-10-271-0/+2
| | | | 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/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Allow to configure default apps and app order in frontend ↵Ferdinand Thiessen2023-10-201-2/+11
| | | | | | | | | 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>
* Migrate applications away from deprecated ILoggerCôme Chilliet2023-09-211-6/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(f2v): migrate FilesJohn Molakvoæ2023-08-171-2/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: add detected mime type to exceptionDaniel Kesselberg2023-06-241-0/+26
| | | | | | | 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>
* fix loading custom logo imageRobin Appelman2023-05-222-5/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* adjust testsSimon L2023-05-112-16/+31
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* fix(theming): replace elementColor dark value with better contrast `#8c8c8c`John Molakvoæ2023-05-042-3/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(theming): Only convert a background image if it benefits from itFerdinand Thiessen2023-02-201-3/+6
| | | | | | | | | * WebP images are generally quite small, converting to pngs would increase the filesize a lot. * Small JPEG and PNG images do not benefit from any conversion, so skip it. * JPEG images will get quite bigger when converted to PNG so instead convert to progressive JPEG Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* Limit key names when uploading theme imagesVincent Petry2023-01-111-0/+30
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* More theming cypress tests and some fixesJohn Molakvoæ2022-11-292-2/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Extract colour from custom backgroundJohn Molakvoæ2022-11-293-15/+22
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Allow to remove the background and select a custom colourJohn Molakvoæ2022-11-292-5/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix theming tests for PHP 8.2Côme Chilliet2022-11-241-0/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* generate user themed iconsSimon L2022-11-181-1/+7
| | | | | | Signed-off-by: Simon L <szaimen@e.mail.de> Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* Fix logo invertJohn Molakvoæ2022-11-165-6/+13
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix themings tests and get rid of deprecated at matcherCôme Chilliet2022-11-151-28/+30
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix some more problems with tests under PHP 8.2Côme Chilliet2022-11-152-2/+22
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix errors from PHP 8.2 testingCôme Chilliet2022-11-142-2/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Rewrite admin theming in VueChristopher Ng2022-10-281-54/+12
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix testsJohn Molakvoæ2022-10-196-10/+51
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix testsJohn Molakvoæ2022-10-141-11/+21
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix primary and debounce to avoid infinite loopJohn Molakvoæ2022-10-131-3/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Allow to pick custom colourJohn Molakvoæ (skjnldsv)2022-10-136-3/+91
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>