diff options
Diffstat (limited to 'doc/development/fe_guide/dark_mode.md')
-rw-r--r-- | doc/development/fe_guide/dark_mode.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/fe_guide/dark_mode.md b/doc/development/fe_guide/dark_mode.md index dd7ffd1ee6c..34901bbb1e6 100644 --- a/doc/development/fe_guide/dark_mode.md +++ b/doc/development/fe_guide/dark_mode.md @@ -17,7 +17,7 @@ Note the following: - The dark mode palette is defined in `app/assets/stylesheets/themes/_dark.scss`. This is loaded _before_ application.scss to generate `application_dark.css` - We define two types of variables in `_dark.scss`: - - SCSS variables are used in framework, components, and utitlity classes. + - SCSS variables are used in framework, components, and utility classes. - CSS variables are used for any colors within the `app/assets/stylesheets/page_bundles` directory. - `app/views/layouts/_head.html.haml` then loads application or application_dark based on the user's theme preference. @@ -68,7 +68,7 @@ We [plan to add](https://gitlab.com/gitlab-org/gitlab/-/issues/301147) the CSS v ## When to use SCSS variables There are a few things we do in SCSS that we cannot (easily) do with CSS, such as the following -functions: +functions: - `lighten` - `darken` |