-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[docs][base] Add Tailwind CSS + plain CSS demo on the Input page #38302
[docs][base] Add Tailwind CSS + plain CSS demo on the Input page #38302
Conversation
Netlify deploy previewBundle size report |
b619403
to
b1b3033
Compare
docs/data/base/components/input/UnstyledInputIntroduction/tailwind/index.tsx
Outdated
Show resolved
Hide resolved
slotProps={{ | ||
input: { | ||
className: | ||
'w-80 text-sm font-normal leading-5 px-3 py-2 rounded-lg shadow-md shadow-slate-100 dark:shadow-slate-900 focus:shadow-outline-purple dark:focus:shadow-outline-purple focus:shadow-lg border border-solid border-slate-300 hover:border-purple-500 dark:hover:border-purple-500 focus:border-purple-500 dark:focus:border-purple-500 dark:border-slate-600 bg-white dark:bg-slate-900 text-slate-900 dark:text-slate-300 focus-visible:outline-0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like we missed the configuration of the font family in the tailwind.config.js
file.
I imagine we should configure Inter to match Joy UI, but we could also configure IBM (one step at a time)?
Off-topic I found a broader bug with font 🙃, reported in #38306.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened #38464 for the font family.
Part of #37222