Commit d09642e1 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch '217432-theme-overrides' into 'master'

Web IDE: Add default values to _ide_theme_overrides.scss

See merge request gitlab-org/gitlab!32796
parents bb7234d2 7b4b5b37
...@@ -32,19 +32,7 @@ To add a new theme, follow the following steps: ...@@ -32,19 +32,7 @@ To add a new theme, follow the following steps:
3. Copy over all the CSS variables from `_dark.scss` to `_solarized_dark.scss` and assign them your own values. 3. Copy over all the CSS variables from `_dark.scss` to `_solarized_dark.scss` and assign them your own values.
Put them under the selector `.ide.theme-solarized-dark`. Put them under the selector `.ide.theme-solarized-dark`.
4. Import this newly created SCSS file in `ide.scss` file in the parent directory. 4. Import this newly created SCSS file in `ide.scss` file in the parent directory.
5. To make sure the variables apply to to your theme, add the selector `.ide.theme-solarized-dark` to the top 5. That's it! Raise a merge request with your newly added theme.
of `_ide_theme_overrides.scss` file. The file should now look like this:
```scss
.ide.theme-dark,
.ide.theme-solarized-dark {
/* file contents */
}
```
This step is temporary until all CSS variables in that file have their
default values assigned.
6. That's it! Raise a merge request with your newly added theme.
## Modifying Monaco Themes ## Modifying Monaco Themes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment