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

Unable to change any default util maps or reuse them #40

Closed
GrimLink opened this issue Jan 28, 2022 · 1 comment · Fixed by #96
Closed

Unable to change any default util maps or reuse them #40

GrimLink opened this issue Jan 28, 2022 · 1 comment · Fixed by #96
Assignees
Labels
bug In next minor version Marked for next minor release
Milestone

Comments

@GrimLink
Copy link
Member

Currently it is not possible to load both the utilpack or any of the default utilities found in the utilpack,
without getting an error from Sass,
that any of those default are already loaded.

Example using the defaults with map marge to overrule specific parts.

@use "@fylgja/utilpack/defaults/spacers" as *;

$new-spacers: ();
$new-spacers-map: map.merge($utilpack-defaults-spacers, $new-spacers);

@use "@fylgja/utilpack" with (
  $utilpack-defaults-spacers: $new-spacers-map,
);

This will not work.

@GrimLink GrimLink added the bug label Jan 28, 2022
@GrimLink GrimLink self-assigned this Jan 28, 2022
@GrimLink GrimLink added In Progress In next minor version Marked for next minor release labels Mar 20, 2022
@GrimLink GrimLink added this to the Release v1.2 milestone Jun 26, 2022
@GrimLink
Copy link
Member Author

In v2 Fylgja will drop this maner of extending, for a simpler syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug In next minor version Marked for next minor release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant