Skip to content

Move tailwind z-index config to theme

Lorenz van Herwaarden requested to merge tailwind/move-z-index-config-theme into master

What does this MR do and why?

Move the z-index tailwind config from theme.extend to theme directly. We don't want to use extend because the tailwind z-index scale is quite differently to ours and we don't want people using Tailwind's scale accidentally.

  • Tailwind: 0, 10, 20, 30, 40, 50, auto
  • GitLab: 0, 1, 2, 3, 200, 9999 (999 in gitlab-ui too)

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

Sanity check

Screenshot_2024-05-21_at_11.29.58

How to set up and validate locally

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

Edited by Lorenz van Herwaarden

Merge request reports