discourse/app/views/common/_discourse_stylesheet.html.erb

14 lines
458 B
Plaintext

<%- if rtl? %>
<%= DiscourseStylesheets.stylesheet_link_tag(mobile_view? ? :mobile_rtl : :desktop_rtl) %>
<%- else %>
<%= DiscourseStylesheets.stylesheet_link_tag(mobile_view? ? :mobile : :desktop) %>
<%- end %>
<%- if staff? %>
<%= DiscourseStylesheets.stylesheet_link_tag(:admin) %>
<%- end %>
<%- unless customization_disabled? %>
<%= SiteCustomization.custom_stylesheet(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
<%- end %>