Skip to content

Draft: Replace custom SCSS variables with $gray color scales

Scott de Jonge requested to merge 430055-remove-custom-gray-variables into master

What does this MR do and why?

  • Replace $gray-lightest SCSS variable with $gray-10
  • Replace $gray-lighter SCSS variable with $gray-10
  • Replace $gray-light SCSS variable with $gray-10
  • Replace $gray-normal SCSS variable with $gray-50
  • Replace $gray-dark SCSS variable with $gray-100
  • Replace $gray-darker SCSS variable with $gray-50/$gray-100 (borders)
  • Replace $gray-darkest SCSS variable with $gray-200

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Variable (before) hex (before) Variable (after) hex (after)
$gray-lightest #fefefe $gray-10 #fbfafd
$gray-lighter #f7f7f8 $gray-10 #ececef
$gray-light #fbfafd $gray-10 #fbfafd
$gray-normal #f2f2f4 $gray-50 #ececef
$gray-dark #ded6ee $gray-100 #dcdcde
$gray-darker #ececef $gray-50 #ececef
$gray-darkest #bfbfc3 $gray-200 #bfbfc3

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #430055

Edited by Scott de Jonge

Merge request reports