Skip to content

Move rules out of dark mode variable declarations

Simon Knox requested to merge psi-dark-mode-vars into master

What does this MR do and why?

CSS cleanup

  • Move .gl-button override rules to overrides file
  • move variables declarations from .gl-dark to :root selector

Since we import _dark.scss in a few different files, we don't want it to include CSS output, or that is duplicated in the resulting CSS. This makes sure the variable declarations are only included once, and in startup CSS only the subset of colors that we initially need.

No visual changes (hopefully 😅)

Edited by Simon Knox

Merge request reports

Loading