Skip to content
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

No documentation for css-sniper #14

Open
unbelievableflavour opened this issue Jul 10, 2019 · 1 comment
Open

No documentation for css-sniper #14

unbelievableflavour opened this issue Jul 10, 2019 · 1 comment

Comments

@unbelievableflavour
Copy link

unbelievableflavour commented Jul 10, 2019

For our project we created a subtheme of thunder_admin and ran into problems integrating css-sniper just like https://www.drupal.org/project/thunder_admin/issues/2942890. Please expand the documentation so we know how to use css-sniper.

I'm currently running the following command from my '/web/themes/custom/my_theme/'

yarn css-sniper --output-style uncompressed --include-path ../../contrib/thunder_admin/sass-includes -o css sass

Which causes the following error.

Error: Couldn't resolve path
        on line 1 of ../../contrib/thunder_admin/sass/components/admin-list.scss
        from line 4 of sass/thunder/thunder-admin-components.scss
        from line 1 of sass/components/components.scss
>> @import "@theme-seven/css/components/admin-list.css";
@unbelievableflavour
Copy link
Author

We got it working after 4 hours of trying. But documenting css-sniper would still be usefull for the next person.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant