|
Hi, I am trying to override variables in patternfly 6 like this: since the webpack sass loader cannot resolve What is the proper way to override variables using scss? |
Answered by
apollo13
May 23, 2024
Replies: 1 comment 5 replies
|
I managed to get it working via: @charset "utf-8";
@use "@patternfly/patternfly/sass-utilities" with (
$pf-v6-global--font-path: "@patternfly/patternfly/assets/fonts",
$pf-v6-global--fonticon-path: "@patternfly/patternfly/assets/pficon",
$fa-font-path: "@patternfly/patternfly/assets/fonts/webfonts"
);
@use "@patternfly/patternfly/base";
@use "@patternfly/patternfly/components";
@use "@patternfly/patternfly/layouts";Not sure if that is the way it is ment to be used :) |
5 replies
Answer selected by
apollo13
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I managed to get it working via:
Not sure if that is the way it is ment to be used :)