aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/css
Commit message (Collapse)AuthorAgeFilesLines
* fix(css): refine css cleanupprotoclown2024-09-021-0/+1
| | | | Signed-off-by: protoclown <ornano@felinn.org>
* fix(css): re-use old --color-scrollbar variableprotoclown2024-09-021-1/+0
| | | | Signed-off-by: protoclown <ornano@felinn.org>
* feat(theming): Update value of body container radiusMarco Ambrosini2024-08-011-1/+1
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
* Feat: update border radius variablesMarco Ambrosini2024-08-011-4/+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-121-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Provide `body-container-` variables through themingFerdinand Thiessen2024-07-041-5/+9
| | | | | | | | * 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>
* Merge pull request #45818 from nextcloud/feat/add-new-clickable-area-variablesMarco2024-06-141-1/+3
|\ | | | | Feat: add new clickable area variables
| * 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-0/+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: Update apps/theming/css/default.cssMarco2024-05-291-1/+2
| | | | | | | | | | Co-authored-by: Grigorii K. Shartsev <me@shgk.me> Signed-off-by: Marco <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-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Always populate `--image-background`Ferdinand Thiessen2024-05-211-1/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(tests): Adjust theming test for new splitted background and primary colorsFerdinand Thiessen2024-05-211-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(theming): Separate background and primary colorFerdinand Thiessen2024-05-211-1/+2
| | | | | | | | | | | 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>
* feat(theming): Provide CSS variable for favorite color and adjust for dark modeFerdinand Thiessen2024-03-062-17/+1
| | | | | Co-authored-by: Simon L <szaimen@e.mail.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): The background is the primary color and must not be double ↵Ferdinand Thiessen2024-02-031-1/+1
| | | | | | inverted Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.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-4/+4
| | | | | | 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-9/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Adjust primary text color calculation to also work with high ↵Ferdinand Thiessen2023-12-151-2/+2
| | | | | | 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>
* fix(theming): Adjust dark theme to be accessible adjust cypress testsFerdinand Thiessen2023-12-011-4/+4
| | | | | | 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>
* fix(theming): Make changes on primary color less invasivFerdinand Thiessen2023-10-271-10/+10
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Ensure all text colors have enough contrast for accessibilityFerdinand Thiessen2023-10-271-15/+17
| | | | 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/+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-4/+4
| | | | | | even on hover Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Change color of error and successjulia.kirschenheuter2023-08-211-12/+12
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Change color for primary element on hoverjulia.kirschenheuter2023-07-241-1/+1
| | | | 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>
* enh(theming): Info contrastChristopher Ng2023-06-061-0/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(theming): Success contrastChristopher Ng2023-06-061-3/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(theming): Warning contrastChristopher Ng2023-06-061-3/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(theming): Error contrastChristopher Ng2023-06-061-0/+1
| | | | 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>
* fix(theming): replace elementColor dark value with better contrast `#8c8c8c`John Molakvoæ2023-05-041-4/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(theming): replace `color-primary-text-dark` with ↵John Molakvoæ2023-05-041-1/+1
| | | | | | `color-primary-element-text-dark` Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Lighten default color slightly for increased contrastChristopher Ng2022-12-061-10/+10
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* 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-12/+12
| | | | | | This reverts commit a0266d1b1668fb2751c78057ffcfacca6f4b2ae8. Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Extract colour from custom backgroundJohn Molakvoæ2022-11-293-319/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Allow to remove the background and select a custom colourJohn Molakvoæ2022-11-292-0/+316
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>