Fix #2922 - Load stylesheet from "custom.css" entrypoint when present (#3332)
* Fix #2922 - Load stylesheet from "custom.css" entrypoint when present This is pretty much the same way it worked as before, albeit with having to create app/javascript/packs/custom.js with require('../styles/custom.scss') (or whatever you want really), which will be a blank slate for you to import whatever you want * Remove old assets directory * Extract font-awesome into common.css and always load it
Showing
- app/assets/stylesheets/.gitkeep 0 additions, 0 deletionsapp/assets/stylesheets/.gitkeep
- app/helpers/style_helper.rb 17 additions, 0 deletionsapp/helpers/style_helper.rb
- app/javascript/mastodon/main.js 0 additions, 6 deletionsapp/javascript/mastodon/main.js
- app/views/layouts/application.html.haml 2 additions, 1 deletionapp/views/layouts/application.html.haml
- config/webpack/shared.js 6 additions, 0 deletionsconfig/webpack/shared.js
Loading
Please register or sign in to comment