Issue Feature Rejected

#106882Provide Site Set Settings as CSS Variables

André Buchmann 06/13/25, 14:40 updated 01/23/26, 19:34

Description

When the Site Sets were introduced on the surfcamp 2024, we used the settings to define the colors, etc. for the frontend.
To access the colors in our CSS, we implemented a viewhelper which transforms selected sections of the settings to CSS Variables.

Adding this viewhelper to TYPO3 provides developers and integrators with a common way to define colors and other settings in the TYPO3 Site Sets and create reusable themes.

Have a look at the viewhelper and it’s usage:
https://github.com/TYPO3incubator/surfcamp-team-success/blob/main/local_packages/success/Classes/ViewHelpers/ThemeVariablesProviderViewHelper.php
https://github.com/TYPO3incubator/surfcamp-team-success/blob/main/local_packages/success/Resources/Private/Templates/_LandingPage/Pages/Default.html#L11

Reviews 1

History 28

  1. André Buchmann commented and changed status Under Review Rejected <span data-processor="relativetime" data-value="2026-01-23T19:34:08+00:00" > 01/23/26, 19:34 </span>

    Wont be a TYPO3 Feature, but maybe in Fluid itself.

    See: https://github.com/TYPO3/Fluid/pull/1229