Theme components are not overriding theme CSS any more?

TLDR I am a fool.

Stylesheets are sorted like this

          if stylesheets.size > 1
            stylesheets =
              stylesheets.sort_by do |s|
                [s[:remote] ? 0 : 1, s[:theme_id] == @theme_id ? 1 : 0, s[:theme_name]]
              end
          end

When I tried to reproduce, I only used local stylesheets.

Reality is that stylesheets are loaded in this order:

  • remote stylesheets
    • theme components, alphabetically
    • main theme
  • local stylesheets
    • theme components, alphabetically
    • main theme
7 Likes