nextcloud/apps/theming/lib
Ferdinand Thiessen d79e18ab18
feat: add CSS variables for status border and text
The variables like `--color-error` now are based on our secondary
theming, thus they are less "aggressive" colors. But there are two
usecases for primary based status colors:
- borders
- error text messages (e.g. validation errors in forms)

To simplify app changes due to the secondary color theme change this
introduces 3 new variables:
- `--color-text-error` this shall be used if text should have error
  status theming and is displayed on normal background (while
  `--color-error-text` is only for text shown on `--color-error` similar
  as primary and secondary colors)
- `--color-border-error` and `--color-border-success` those should be
  used for element borders if there is one of those statuses to be
  reported (we use this for validation errors as well as for indicating a
  value was saved)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-18 18:17:59 +02:00
..
AppInfo chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Command chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Controller fix(theming): Correctly generate CSS for font themes 2025-07-11 12:27:41 +01:00
Jobs refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
Listener refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +02:00
Migration fix(theming): Do not throw in background color migration 2025-01-29 15:32:43 +01:00
Service chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Settings chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
SetupChecks chore: Add SPDX header 2024-05-31 10:38:47 +02:00
Themes feat: add CSS variables for status border and text 2025-08-18 18:17:59 +02:00
Capabilities.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
IconBuilder.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
ImageManager.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
ITheme.php chore: Add SPDX header 2024-05-31 10:38:47 +02:00
ResponseDefinitions.php chore: Add SPDX header 2024-05-31 10:38:47 +02:00
ThemingDefaults.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Util.php feat: darken hover colors of primary and secondary 2025-08-18 18:15:55 +02:00