aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * Feat: Update apps/theming/lib/Themes/DefaultTheme.phpMarco2024-06-121-1/+1
| | | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Marco <marcoambrosini@proton.me>
| * Feat: add new clickable area variablesMarco Ambrosini2024-06-121-1/+3
| | | | | | | | Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* | Feat: reduce border radius element to 8 pxMarco Ambrosini2024-06-121-1/+1
|/ | | | Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* chore: Add SPDX headerAndy Scherzinger2024-05-3132-704/+64
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Merge pull request #45247 from nextcloud/add-border-widthFerdinand Thiessen2024-05-291-0/+3
|\ | | | | Add variable for inputs border width
| * feat(theming): Add variable for border widthMarco Ambrosini2024-05-281-0/+3
| | | | | | | | Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* | Feat: Add temporary border-radius variableMarco Ambrosini2024-05-271-0/+1
|/ | | | Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* fix(theming): Add some strict checking for userIdFerdinand Thiessen2024-05-211-1/+14
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(tests): Adjust theming test for new splitted background and primary colorsFerdinand Thiessen2024-05-213-5/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(settings): Return mean color of background image on setFerdinand Thiessen2024-05-212-8/+13
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Always populate `--image-background`Ferdinand Thiessen2024-05-211-2/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: cleanup theming app codeFerdinand Thiessen2024-05-215-30/+24
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(settings): Make background selector be responsive to user changesFerdinand Thiessen2024-05-213-38/+25
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(tests): Adjust theming test for new splitted background and primary colorsFerdinand Thiessen2024-05-211-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Also apply new background colors to guest viewFerdinand Thiessen2024-05-214-18/+25
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Allow users to configure their primary colorFerdinand Thiessen2024-05-211-3/+13
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Also reset background color settings when updating global ↵Ferdinand Thiessen2024-05-214-86/+94
| | | | | | background image Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Allow to configure primary color separate from background in ↵Ferdinand Thiessen2024-05-2110-72/+93
| | | | | | admin settings Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Separate background and primary colorFerdinand Thiessen2024-05-214-46/+79
| | | | | | | | | | | 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(theming): Also set default background color ("primary") for custom imagesFerdinand Thiessen2024-05-212-2/+67
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Fix erronous phpdoc typingCôme Chilliet2024-04-301-5/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix typing issues related to resource migrationCôme Chilliet2024-04-091-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-022-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(theming): fix incorrectly inverted faviconsSimon L2024-03-111-1/+1
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* feat(theming): Provide CSS variable for favorite color and adjust for dark modeFerdinand Thiessen2024-03-063-0/+4
| | | | | Co-authored-by: Simon L <szaimen@e.mail.de> 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>
* Merge pull request #32231 from nextcloud/feat/theming-scheme-metaJohn Molakvoæ2024-02-087-23/+84
|
* Revert "Merge branch 'master' of github.com:nextcloud/server"Louis Chemineau2024-02-087-84/+23
| | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d.
* Support theme meta w3c standardJohn Molakvoæ2024-02-077-23/+84
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: Simon L <szaimen@e.mail.de>
* fix(theming): The background is the primary color and must not be double ↵Ferdinand Thiessen2024-02-032-15/+15
| | | | | | inverted Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Fix template parameter for some listenersCôme Chilliet2024-01-301-2/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Fix missing template parameter for IEventListenerCôme Chilliet2024-01-302-0/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* 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-112-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-221-3/+31
| | | | 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): Adjust `color-error` and `color-success` to work for input ↵Ferdinand Thiessen2023-12-192-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-193-7/+34
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Make dark theme accessible and add unit testFerdinand Thiessen2023-12-181-12/+13
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust status colors to be also accessible on blurry backgroundFerdinand Thiessen2023-12-181-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-151-3/+4
| | | | | | contrast themes Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust hover color to be accessibleFerdinand Thiessen2023-12-151-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-152-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-012-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-291-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>