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

SASS bug with placeholder selectors not usable in other files #2762

Open
vikigenius opened this issue Jan 5, 2025 · 0 comments
Open

SASS bug with placeholder selectors not usable in other files #2762

vikigenius opened this issue Jan 5, 2025 · 0 comments

Comments

@vikigenius
Copy link

Bug Report

Environment

Zola version: 0.19.2

Expected Behavior

We should be able to @use placeholders defined in a different module using extend

Current Behavior

The placeholders are not extendable.

Step to reproduce

Define placeholders in some common file placeholders.scss

%awesome {
  padding-left: 0;
}

Try to import them like this

@use 'placeholders';

.nav {
  @extend %awesome;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

This does not seem to work.

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