Skip to content

Overriding variables in Patternfly 6 #6687

Answered by apollo13
apollo13 asked this question in Q&A
Discussion options

You must be logged in to vote

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 :)

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@mattnolting
Comment options

@apollo13
Comment options

@apollo13
Comment options

@mattnolting
Comment options

@apollo13
Comment options

Answer selected by apollo13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants