Skip to content
Discussion options

You must be logged in to vote

The way is correct. You need to declare the --default-font-family in the @theme TailwindCSS-specific directive:

@theme {
  --font-gt: "GTWalsheim", sans-serif;
  --default-font-family: "GTWalsheim", sans-serif;
}

Or without duplication:

@theme {
  --font-gt: "GTWalsheim", sans-serif;
  --default-font-family: var(--font-gt);
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ScarletKuro
Comment options

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