-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include base styles in subtheme #32
Comments
to be clear the laravel mix example was copied from https://guillaumeduveau.com/en/drupal/theme/laravel-mix |
I'm not sure the best path forward, https://drupal.stackexchange.com/questions/238465/use-sass-variable-and-mixins-from-base-theme-in-sub-theme |
@whereismyjetpack Re: Locally tested with ROAM (on preview/basetheme branch):
EDIT: Just realized this goes sideways though as soon as one has multiple |
The slickest thing I could get working with ROAM without using
Not the most convenient thing to have to call up the base style in each component but that seems to be the intentional design principle. |
Either the styles.scss needs to @import the styles from the contrib, or we can import it in in laravel mix using an approach similar to:
.setPublicPath('public') .setResourceRoot('../../') .js('resources/js/app/app.js', 'public/js/app') .sass('resources/sass/app/base.scss', 'public/css/app') .sass('resources/sass/app/layout.scss', 'public/css/app') .sass('resources/sass/app/components.scss', 'public/css/app') .sourceMaps(true, 'source-map')
The text was updated successfully, but these errors were encountered: