diff --git a/lib/generators/active_admin/webpacker/templates/active_admin.js b/lib/generators/active_admin/webpacker/templates/active_admin.js index 6bc7c8acacf7..9e6b765bb559 100644 --- a/lib/generators/active_admin/webpacker/templates/active_admin.js +++ b/lib/generators/active_admin/webpacker/templates/active_admin.js @@ -1,19 +1,5 @@ -// import 'active_admin/assets/stylesheets/active_admin' -// SASS variable overrides must be declared before loading up Active Admin's styles. -// -// To view the variables that Active Admin provides, take a look at -// `app/assets/stylesheets/active_admin/mixins/_variables.scss` in the -// Active Admin source. -// -// For example, to change the sidebar width: -// $sidebar-width: 242px; - -// Active Admin's got SASS! +// Load Active Admin's styles into webpacker, +// see `active_admin.scss` for customization. import "../stylesheets/active_admin"; -// Overriding any non-variable SASS must be done after the fact. -// For example, to change the default status-tag color: -// -// .status_tag { background: #6090DB; } - import "@activeadmin/activeadmin";