A platform for community discussion. Free, open, simple.
DEV: properly import color-scheme-stylesheets (#36325)
Jordan Vidrined705d0202553
diff --git a/app/views/common/_discourse_publish_stylesheet.html.erb b/app/views/common/_discourse_publish_stylesheet.html.erbindex 20744335a61..91df37d864a 100644--- a/app/views/common/_discourse_publish_stylesheet.html.erb+++ b/app/views/common/_discourse_publish_stylesheet.html.erb@@ -1,10 +1,14 @@-<%= discourse_stylesheet_link_tag 'publish', theme_id: nil %>+<%= discourse_color_scheme_stylesheets %>-<%- Discourse.find_plugin_css_assets(include_official: allow_plugins?, include_unofficial: allow_third_party_plugins?, mobile_view: mobile_view?, desktop_view: !mobile_view?, request: request, rtl: rtl?).each do |file| %>- <%= discourse_stylesheet_link_tag(file) %>-<%- end %>+<%= discourse_stylesheet_link_tag 'publish', theme_id: nil %><%- if theme_id.present? %><%= discourse_stylesheet_link_tag(:common_theme, supports_rtl: true) %><%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_theme : :desktop_theme) %><%- end %>++<%- Discourse.find_plugin_css_assets(include_official: allow_plugins?, include_unofficial: allow_third_party_plugins?, mobile_view: mobile_view?, desktop_view: !mobile_view?, request: request, rtl: rtl?).each do |file| %>+ <%= discourse_stylesheet_link_tag(file) %>+<%- end %>++diff --git a/app/views/published_pages/show.html.erb b/app/views/published_pages/show.html.erbindex 7cf3b07c0bf..8fda5e6430c 100644--- a/app/views/published_pages/show.html.erb+++ b/app/views/published_pages/show.html.erb@@ -1,5 +1,3 @@-<%= discourse_color_scheme_stylesheets() %>-<div class="published-page-header"><div class="published-page-header-wrapper"><%- if @logo.present? %>