aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/Themes/DefaultTheme.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(css): re-use old --color-scrollbar variableprotoclown2024-09-021-1/+1
| | | | 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): 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-311-20/+2
| | | | 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: cleanup theming app codeFerdinand Thiessen2024-05-211-6/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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>
* Merge pull request #32231 from nextcloud/feat/theming-scheme-metaJohn Molakvoæ2024-02-081-0/+4
|
* Revert "Merge branch 'master' of github.com:nextcloud/server"Louis Chemineau2024-02-081-4/+0
| | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d.
* Support theme meta w3c standardJohn Molakvoæ2024-02-071-0/+4
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: Simon L <szaimen@e.mail.de>
* fix(theming): Make sure `color-border-maxcontrast` fulfills 3:1 contrastFerdinand Thiessen2024-01-171-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust `color-error` and `color-success` to work for input ↵Ferdinand Thiessen2023-12-191-2/+2
| | | | | | border colors 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 dark theme to be accessible adjust cypress testsFerdinand Thiessen2023-12-011-1/+1
| | | | | | Also fix warning text color for bright / default theme on blurry background Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-7/+8
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(theming): Ensure all text colors have enough contrast for accessibilityFerdinand Thiessen2023-10-271-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Make it clearer that color-text-light and -lighter are deprecatedFerdinand Thiessen2023-10-271-2/+2
| | | | 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>
* Fix background removal not applying to user default themingJohn Molakvoæ2023-10-191-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Change color of error and successjulia.kirschenheuter2023-08-211-8/+8
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* 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>
* enh(theming): Info contrastChristopher Ng2023-06-061-3/+5
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(theming): Success contrastChristopher Ng2023-06-061-3/+5
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(theming): Warning contrastChristopher Ng2023-06-061-3/+5
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(theming): Error contrastChristopher Ng2023-06-061-4/+7
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(theming): Add border radius rounded css variable so ↵Ferdinand Thiessen2023-05-161-0/+1
| | | | | | `body-container-radius` can be used on mobile devices Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(css): Add css variables for info colors (`--color-info`)Ferdinand Thiessen2023-05-161-0/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Add new border color variable for increased contrastChristopher Ng2022-12-061-0/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Revert "Fix border color contrast"Christopher Ng2022-12-031-2/+2
| | | | | | This reverts commit a0266d1b1668fb2751c78057ffcfacca6f4b2ae8. Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Allow to remove the background and select a custom colourJohn Molakvoæ2022-11-291-5/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix border color contrastChristopher Ng2022-11-221-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Rewrite admin theming in VueChristopher Ng2022-10-281-0/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Invert header icons on bright preset backgroundsChristopher Ng2022-10-191-0/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Simplify variable namesJohn Molakvoæ2022-10-191-62/+8
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add admin user customization kill switchJohn Molakvoæ2022-10-191-5/+7
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Improve cache buster for user backgroundsVincent Petry2022-10-141-2/+3
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>