Replace duplicate SCSS variables with design tokens from gitlab-ui
What does this MR do and why?
Replace duplicate SCSS variable definitions in _variables.scss
with design token SCSS generated output from GitLab UI.
Design tokens provide a single source-of-truth for color definitions and automates SCSS/CSS/JS variable compilation.
This MR also renames $indigo-
variable usage to $theme-indigo-
to align with other theme color variables names.
How to set up and validate locally
-
On master: save copies of GDK output CSS stylesheets (e.g.
application.css
,application-utilities.css
) locally - On branch: save copies of GDK output CSS stylesheets
- Diff stylesheets, there should be no changes e.g. css-diff.zip
diff -u application-before.css application-after.css > application-diff.diff
diff -u application-utilities-before.css application-utilities-after.css > application-utilities-diff.diff
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to: #430058 (closed)
Edited by Scott de Jonge