Review main Merged

91756[TASK] Introduce stateful color tokens for better theming flexibility

Benjamin Kott CR +2 V +2 Hard +476 −115 updated 11/20/25, 10:09

Commit message

This change introduces dedicated state-specific color tokens (e.g.,
`--typo3-state-primary-*`) that reference the base color tokens instead
of directly assigning color values to state properties. This separation
allows for easier color scheme adjustments and better maintainability.

Additionally, this introduces tinting for neutral colors to provide
an even color distribution across the interface. For the modern
theme, this results in a blueish tint based on the theme's primary
color definition.

Note: Color assignments still require manual picking and adjustments.
This change focuses on establishing better token architecture for
future theming improvements.

Review

  • Code review CR +2 Done
    • Benjamin Kott +2
    • Benjamin Franzke +1
    • Andreas Kienast +1
  • Verified V +2 Done
    • Benjamin Kott +2
    • Benjamin Franzke +1
    • Andreas Kienast +1
    • core-ci +1 CI

Issues 1

Files 10

Review log 1016

  1. Benjamin Kott uploaded patch set 1 11/19/25, 16:42

  2. core-ci voted on patch set 1 V +1 11/19/25, 16:50 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/90176

  3. Benjamin Kott uploaded patch set 2 V +1 11/20/25, 07:17

  4. core-ci voted on patch set 2 V +1 11/20/25, 07:24 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/90229

  5. Benjamin Kott uploaded patch set 3 V +1 11/20/25, 07:24

  6. core-ci voted on patch set 3 V +1 11/20/25, 07:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/90230

  7. Benjamin Franzke uploaded patch set 4 V +1 11/20/25, 08:35

  8. Benjamin Kott uploaded patch set 5 11/20/25, 08:38

  9. core-ci voted on patch set 4 V +1 11/20/25, 08:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/90234

  10. core-ci voted on patch set 5 V +1 11/20/25, 08:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/90237

  11. Benjamin Franzke uploaded patch set 6 V +1 11/20/25, 09:31

  12. Benjamin Franzke uploaded patch set 7 CR +1 V +1 11/20/25, 09:32

  13. core-ci voted on patch set 7 V +1 11/20/25, 09:42 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/90242

  14. Andreas Kienast voted on patch set 7 CR +1 V +1 11/20/25, 10:06

  15. Benjamin Kott voted on patch set 7 CR +2 V +2 11/20/25, 10:09

  16. Benjamin Kott merged patch set 8 11/20/25, 10:09