mirror of
https://github.com/discourse/discourse.git
synced 2024-12-10 01:03:39 +08:00
24 lines
810 B
Plaintext
24 lines
810 B
Plaintext
|
<%= discourse_preload_color_scheme_stylesheets %>
|
||
|
|
||
|
<%- if rtl? %>
|
||
|
<%= discourse_stylesheet_preload_tag(mobile_view? ? :mobile_rtl : :desktop_rtl) %>
|
||
|
<%- else %>
|
||
|
<%= discourse_stylesheet_preload_tag(mobile_view? ? :mobile : :desktop) %>
|
||
|
<%- end %>
|
||
|
|
||
|
<%- if staff? %>
|
||
|
<%= discourse_stylesheet_preload_tag(:admin) %>
|
||
|
<%- end %>
|
||
|
|
||
|
<%- if admin? %>
|
||
|
<%= discourse_stylesheet_preload_tag(:wizard) %>
|
||
|
<%- 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).each do |file| %>
|
||
|
<%= discourse_stylesheet_preload_tag(file) %>
|
||
|
<%- end %>
|
||
|
|
||
|
<%- if theme_id.present? %>
|
||
|
<%= discourse_stylesheet_preload_tag(mobile_view? ? :mobile_theme : :desktop_theme) %>
|
||
|
<%- end %>
|