We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
kbd
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
v0.4.1
v16.3.0
Chrome
Windows
https://play.tailwindcss.com/YZS1I4iDer
kbd tag style should look like keyboard.
Try out the following & see it's styled differently.
<article class="prose mx-6 mt-10"> <h1>`kbd` tag below is styled incorrectly</h1> <kbd>Enter</kbd> </article>
Or check out the Tailwind Play here -> https://play.tailwindcss.com/YZS1I4iDer
By default it should look like on here -> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd or https://meta.superuser.com/questions/4788/css-for-the-new-kbd-style
I know I can do it in my project but a default style wouldn't hurt :)
The text was updated successfully, but these errors were encountered:
In the meantime, I use this styling:
kbd { background-color: #1F2937; /* coolGray-800 */ color: #94A3B8; /* blueGray-400 */ padding: 3px 5px; border: solid 1px #6B7280; /* coolGray-500 */ border-radius: 6px }
Sorry, something went wrong.
@ArnaudLier Could you add a screenshot to your post for what those styles look like in the context of prose text?
prose
<kbd>
Hey! Thanks for this suggestion. I've just added <kbd> styles in #317 🤙
woot, thanks!
reinink
Successfully merging a pull request may close this issue.
What version of @tailwindcss/typography are you using?
v0.4.1
What version of Node.js are you using?
v16.3.0
What browser are you using?
Chrome
What operating system are you using?
Windows
Reproduction repository
https://play.tailwindcss.com/YZS1I4iDer
Describe your issue
kbd
tag style should look like keyboard.Try out the following & see it's styled differently.
Or check out the Tailwind Play here -> https://play.tailwindcss.com/YZS1I4iDer
By default it should look like on here -> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd or https://meta.superuser.com/questions/4788/css-for-the-new-kbd-style
I know I can do it in my project but a default style wouldn't hurt :)
The text was updated successfully, but these errors were encountered: