diff options
author | Simon Knox <psimyn@gmail.com> | 2019-02-14 17:54:34 +1100 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2019-02-15 21:10:19 +1100 |
commit | 5996fd145ff8d774573e5a0ef22c3b4f0611196f (patch) | |
tree | ab8c31c2ae0c32a2273dd18662550f58f4894580 /app/views/layouts | |
parent | 0328d4faeec093db7744ae5a018174ea4f558a42 (diff) | |
download | gitlab-ce-5996fd145ff8d774573e5a0ef22c3b4f0611196f.tar.gz |
Only load selected syntax highlight CSS
Compile highlight CSS separately
Move highlight-specific mixins out of mixins.scss
Rename solarized themes to match theme name as this was a smaller
change than changing all instances to snake_case
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/_head.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml index 0bb2363f65a..8e8dcf1ea35 100644 --- a/app/views/layouts/_head.html.haml +++ b/app/views/layouts/_head.html.haml @@ -38,6 +38,8 @@ = stylesheet_link_tag 'performance_bar' if performance_bar_enabled? = stylesheet_link_tag 'csslab' if Feature.enabled?(:csslab) + = stylesheet_link_tag "highlight/#{user_color_scheme}", media: "all" + = Gon::Base.render_data - if content_for?(:library_javascripts) |