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

fontWeight theme config not Tailwind compatible #2856

Closed
4 tasks done
silveltman opened this issue Jul 10, 2023 · 0 comments · Fixed by #2860
Closed
4 tasks done

fontWeight theme config not Tailwind compatible #2856

silveltman opened this issue Jul 10, 2023 · 0 comments · Fixed by #2860
Labels

Comments

@silveltman
Copy link

UnoCSS version

0.53.4

Describe the bug

In the unoCSS docs it states for the Wind Preset:

"This preset is compatible with Tailwind CSS and Windi CSS, you can refer to their documentation for detailed usage."

however, when I try to set the following theme config it doe snot do anything:

  theme: {
    fontWeight: {
      heading: 800,
    },  
},

Reproduction

https://unocss.dev/play/?html=DwEwlgbgBAxgNgQwM5ILwCIBGBzAtAJwFMQoBbXARgCYoAHXAFinwHsBXAOxGN1oQ8Jx0APgBQwABYVYiFBgmEE4DthEAJQXBZQA6i3xwQwAPRThQA&config=JYWwDg9gTgLgBAbwFBzgEwKYDNgDsMDCEuOA5gDQpxhQYDOGMAgjDFMAEYCuMwWAnpVQ16jAJIBjYnSHVaDGAHU8aSgF84WKBBBwA5F1wQJdOnqRIMAD0ix02AIZcANvEw58REsFIAKZKh0ABbQMBI8dABciFSoQRgOaHik0Xow1jAAtFbOcOlWWQDuQcDpcM4JSbikmfGJyZrEWXVVpOaoarIw8SAY0QGojbhKGD5BMP2xgy3J0QCcAAwLsh0rcBzQmFAASvVcUTGDg2AO%2BM6pAIwAbGBWemudVI-C8owHANpTIgrKuGi%2BAEpZABdJBqAFIIA&css=Q&options=N4IgTgpgzgDg9gOygSwG4RALgGYEMA2UEAvkA

System Info

Mac, but unocss play also does not work

Validations

@silveltman silveltman changed the title fontWeight theme config not Tailwind compatibel fontWeight theme config not Tailwind compatible Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants