From 5996fd145ff8d774573e5a0ef22c3b4f0611196f Mon Sep 17 00:00:00 2001 From: Simon Knox Date: Thu, 14 Feb 2019 17:54:34 +1100 Subject: 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 --- app/views/layouts/_head.html.haml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views') 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) -- cgit v1.2.3