[TASK] Introduce CSS Color Tokens
With this patch, we are introducing color tokens for use across the system. These tokens are provided as CSS variables. We generate the tokens by starting from a base value and modifying the luminance, rather than shading or tinting the current color. This approach ensures a consistent color scheme. Additionally, we are providing new surface variants for the general states used in the backend, such as primary, secondary, danger, and success. These will be used in components and will back utility classes like `.bg-<color>` and `.text-bg-<color>`. Resolves: #104315 Releases: main Change-Id: If39719eb23e1adf5ddb67c37380f47ed6627b968 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85132 Reviewed-by:Andreas Kienast <a.fernandez@scripting-base.de> Tested-by:
Andreas Kienast <a.fernandez@scripting-base.de> Reviewed-by:
Benjamin Kott <benjamin.kott@outlook.com> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benjamin Kott <benjamin.kott@outlook.com>
Showing
- Build/Sources/Sass/component/_root.scss 80 additions, 12 deletionsBuild/Sources/Sass/component/_root.scss
- Build/Sources/Sass/variables/_main.scss 27 additions, 11 deletionsBuild/Sources/Sass/variables/_main.scss
- Build/Sources/TypeScript/backend/security/element/csp-reports.ts 1 addition, 1 deletion...ources/TypeScript/backend/security/element/csp-reports.ts
- typo3/sysext/adminpanel/Resources/Public/Css/adminpanel.css 5 additions, 5 deletionstypo3/sysext/adminpanel/Resources/Public/Css/adminpanel.css
- typo3/sysext/backend/Classes/Tree/View/AbstractContentPagePositionMap.php 3 additions, 3 deletions...kend/Classes/Tree/View/AbstractContentPagePositionMap.php
- typo3/sysext/backend/Resources/Public/Css/backend.css 119 additions, 118 deletionstypo3/sysext/backend/Resources/Public/Css/backend.css
- typo3/sysext/backend/Resources/Public/JavaScript/security/element/csp-reports.js 1 addition, 1 deletion...sources/Public/JavaScript/security/element/csp-reports.js
- typo3/sysext/dashboard/Resources/Public/Css/dashboard.css 1 addition, 1 deletiontypo3/sysext/dashboard/Resources/Public/Css/dashboard.css
- typo3/sysext/form/Resources/Public/Css/form.css 28 additions, 28 deletionstypo3/sysext/form/Resources/Public/Css/form.css
- typo3/sysext/styleguide/Classes/Controller/BackendController.php 10 additions, 5 deletions...ysext/styleguide/Classes/Controller/BackendController.php
- typo3/sysext/styleguide/Resources/Private/Language/locallang.xlf 2 additions, 2 deletions...ysext/styleguide/Resources/Private/Language/locallang.xlf
- typo3/sysext/styleguide/Resources/Private/Templates/Backend/Buttons.html 7 additions, 1 deletion...yleguide/Resources/Private/Templates/Backend/Buttons.html
- typo3/sysext/styleguide/Resources/Private/Templates/Backend/ColorTokens.html 84 additions, 0 deletions...uide/Resources/Private/Templates/Backend/ColorTokens.html
- typo3/sysext/styleguide/Resources/Private/Templates/Backend/Colors.html 0 additions, 30 deletions...tyleguide/Resources/Private/Templates/Backend/Colors.html
- typo3/sysext/styleguide/Resources/Private/Templates/Backend/Surfaces.html 60 additions, 15 deletions...leguide/Resources/Private/Templates/Backend/Surfaces.html
Please register or sign in to comment