aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/Themes
Commit message (Collapse)AuthorAgeFilesLines
* fix(theming): high contrast themes scrollbarfix/highcontras-scrollbarskjnldsv2025-02-052-2/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(a11y): Update OpenDyslexic from 0.920 to 2.001Joas Schilling2024-09-121-11/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(css): refine css cleanupprotoclown2024-09-021-0/+2
| | | | Signed-off-by: protoclown <ornano@felinn.org>
* fix(css): re-use old --color-scrollbar variableprotoclown2024-09-024-6/+2
| | | | Signed-off-by: protoclown <ornano@felinn.org>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* feat(theming): Update value of body container radiusMarco Ambrosini2024-08-011-4/+4
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* Feat: update border radius variablesMarco Ambrosini2024-08-011-5/+11
| | | | Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* feat: add small font size variableMarco Ambrosini2024-07-311-0/+1
| | | | | | | | This is needed to create a bit more hyerarchy between more important and less important text. For example for the talk conversation description in the header or in NcListItem's "subname" Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* Feat: update line heightMarco Ambrosini2024-07-311-1/+1
| | | | | | | | | Since we have different font sizes, we should make the line height dependent on the font size and not a fixed value. The recommended value for accessibility is 1.5. https://www.w3.org/WAI/WCAG21/Understanding/text-spacing.html Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* feat(theming): Allow shipped backgrounds to have a dark variantFerdinand Thiessen2024-07-122-1/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Provide `body-container-` variables through themingFerdinand Thiessen2024-07-041-6/+12
| | | | | | | | * Provide the body container height, radius and margin as theming variables. * Remove unused old variables (`header-menu-profile-item-height` and `list-max-width`) * Fix comment about breakpoint JS location Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Conitionally disable blur filter for performanceFerdinand Thiessen2024-07-021-27/+31
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #45818 from nextcloud/feat/add-new-clickable-area-variablesMarco2024-06-141-1/+3
|\ | | | | Feat: add new clickable area variables
| * 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-317-141/+14
| | | | 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(tests): Adjust theming test for new splitted background and primary colorsFerdinand Thiessen2024-05-211-2/+1
| | | | 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-211-6/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Also apply new background colors to guest viewFerdinand Thiessen2024-05-211-12/+12
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Also reset background color settings when updating global ↵Ferdinand Thiessen2024-05-211-1/+1
| | | | | | background image Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Allow to configure primary color separate from background in ↵Ferdinand Thiessen2024-05-211-2/+3
| | | | | | admin settings Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Separate background and primary colorFerdinand Thiessen2024-05-211-28/+16
| | | | | | | | | | | 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-211-1/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.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>
* Merge pull request #32231 from nextcloud/feat/theming-scheme-metaJohn Molakvoæ2024-02-085-16/+32
|
* Revert "Merge branch 'master' of github.com:nextcloud/server"Louis Chemineau2024-02-085-32/+16
| | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d.
* Support theme meta w3c standardJohn Molakvoæ2024-02-075-16/+32
| | | | | 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-031-9/+9
| | | | | | inverted 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(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-192-5/+30
| | | | 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-151-1/+1
| | | | | | 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-237-19/+18
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(theming): Make changes on primary color less invasivFerdinand Thiessen2023-10-271-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Ensure all text colors have enough contrast for accessibilityFerdinand Thiessen2023-10-272-5/+5
| | | | 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>