Closed markets closed 3 years ago
Since now Rails has 2 assets pipelines, Sprockets and Webpacker, would be nice to remove the Sprockets dependency. I'd take the same approach we took in Maily: https://github.com/markets/maily/pull/48.
We already inject some styles, for customization, via: https://github.com/markets/sudo_rails/blob/master/app/views/sudo_rails/_inject_custom_styles.html.erb. So, it would be as easy as moving all default styles there.
NOTES
custom_logo
Since now Rails has 2 assets pipelines, Sprockets and Webpacker, would be nice to remove the Sprockets dependency. I'd take the same approach we took in Maily: https://github.com/markets/maily/pull/48.
We already inject some styles, for customization, via: https://github.com/markets/sudo_rails/blob/master/app/views/sudo_rails/_inject_custom_styles.html.erb. So, it would be as easy as moving all default styles there.
NOTES
custom_logo
option independent from Sprockets (maybe absolute URL is just fine?)