Skip to content

Custom theme overrides not working on beta releases #3466

@codealchemy

Description

@codealchemy

Describe the bug

When updating an existing app (using Rails 6 / Sprockets / asset pipeline), to 3.0.0.beta2 - custom theme overrides (following theming docs, which worked on 2.x.x releases) are not being picked up.

Specifically, anything defined in a projects app/assets/stylesheets/rails_admin/custom/theming.scss does not take precedence over RailsAdmin defaults (seems to be a load order issue for imports) .

Unsure if this applies to apps not using sprockets.

This can be reproduced on the dummy_app for the current master (see below)

Reproduction steps

Repro using the dummy_app in RailsAdmin -> codealchemy@1c8886f

Expected behavior

Existing theme overrides will continue to work (between 2.x.x and 3.x.x releases using the asset pipeline) as described in the Wiki.

Additional context

sassc-rails - 2.1.2
sassc - 2.4.0
sprockets - 4.0.2
rails - 6.1.3.1 (also seen on 6.0 project)
rails_admin - 3.x beta releases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions