Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2019-02-14 09:54:34 +0300
committerSimon Knox <psimyn@gmail.com>2019-02-15 13:10:19 +0300
commit5996fd145ff8d774573e5a0ef22c3b4f0611196f (patch)
treeab8c31c2ae0c32a2273dd18662550f58f4894580 /app/views
parent0328d4faeec093db7744ae5a018174ea4f558a42 (diff)
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')
-rw-r--r--app/views/layouts/_head.html.haml2
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)