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

When fontWeights are defined the class names and values are not shown #67

Closed
JoA-MoS opened this issue Aug 9, 2022 · 1 comment · Fixed by #68
Closed

When fontWeights are defined the class names and values are not shown #67

JoA-MoS opened this issue Aug 9, 2022 · 1 comment · Fixed by #68

Comments

@JoA-MoS
Copy link

JoA-MoS commented Aug 9, 2022

When defining custom font weights the class names and values are not shown

image

repro steps:

  1. create new tailwinds library
  2. update font weight property with something like
fontWeight: {
    regular: 400,
    medium: 500,
    semibold: 600,
    bold: 700,
};
  1. run config viewer
@hacknug
Copy link
Contributor

hacknug commented Aug 15, 2022

@JoA-MoS just opened a PR with a fix for this.

@rogden left some comments on the PR with an alternative fix and some potential issues I see with the way this currently works. Not familiar with the codebase so I'm not sure those would 100% apply or not.

@rogden rogden closed this as completed in #68 Sep 8, 2022
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

Successfully merging a pull request may close this issue.

2 participants