#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 <span data-processor="relativetime" data-value="2025-06-13T14:53:26+00:00" > 06/13/25, 14:53 </span> -
Gerrit Code Review pushed patch set 2 for main to change 89729 <span data-processor="relativetime" data-value="2025-06-16T13:30:09+00:00" > 06/16/25, 13:30 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 89729 <span data-processor="relativetime" data-value="2025-06-16T13:36:20+00:00" > 06/16/25, 13:36 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 89729 <span data-processor="relativetime" data-value="2025-06-16T15:34:22+00:00" > 06/16/25, 15:34 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 89729 <span data-processor="relativetime" data-value="2025-08-26T09:43:26+00:00" > 08/26/25, 09:43 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 89729 <span data-processor="relativetime" data-value="2025-08-26T09:57:39+00:00" > 08/26/25, 09:57 </span>
-
Oliver Hader changed target version <span data-processor="relativetime" data-value="2026-01-23T12:29:48+00:00" > 01/23/26, 12:29 </span>
-
André Buchmann commented and changed status
Under ReviewRejected <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