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

compile bulma sass? #409

Open
zprd opened this issue Nov 13, 2022 · 2 comments
Open

compile bulma sass? #409

zprd opened this issue Nov 13, 2022 · 2 comments

Comments

@zprd
Copy link

zprd commented Nov 13, 2022

Hi, I've got this error while compiling my.sass that imports bulma.sass (@import "./bulma/bulma.sass")
on the other hand sassc produces no error.

what am I doing wrong?

   sass.compile(dirname=('sass', '.css'), output_style='compressed')
  File "/usr/local/lib/python3.9/dist-packages/sass.py", line 725, in compile
    raise CompileError(v)
sass.CompileError: Error: The target selector was not found.
       Use "@extend %overlay !optional" to avoid this error.
        on line 111 of sass/bulma/sass/layout/hero.sass
>>   @extend %overlay;

   ----------^
@asottile
Copy link
Member

my guess is your import path is wrong

@zprd
Copy link
Author

zprd commented Nov 13, 2022

you mean in my sass file or the arguments of the compile invocation?

I use this path in my sass file
@import "./bulma/bulma.sass";

my working tree is like this:

sass
├── bulma
│   ├── bulma.sass
│   └── sass
│       ├── base
...
│       ├── components
...
│       ├── elements
...
└── my.sass

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

2 participants