#106882Provide Site Set Settings as CSS Variables
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
-
Gerrit Code Review pushed patch set 1 for main to change 89729 status
NewUnder Review 06/13/25, 14:53 -
Gerrit Code Review pushed patch set 2 for main to change 89729 06/16/25, 13:30
-
Gerrit Code Review pushed patch set 3 for main to change 89729 06/16/25, 13:36
-
Gerrit Code Review pushed patch set 4 for main to change 89729 06/16/25, 15:34
-
Gerrit Code Review pushed patch set 5 for main to change 89729 08/26/25, 09:43
-
Gerrit Code Review pushed patch set 6 for main to change 89729 08/26/25, 09:57
-
Oliver Hader changed target version 01/23/26, 12:29
-
André Buchmann commented and changed status
Under ReviewRejected 01/23/26, 19:34
Wont be a TYPO3 Feature, but maybe in Fluid itself.
See: https://github.com/TYPO3/Fluid/pull/1229