dev ed SLAMMING tailwind #2665
torian257x
started this conversation in
General
Replies: 2 comments 7 replies
-
is there maybe a way to rename all utility classes to my liking? |
Beta Was this translation helpful? Give feedback.
6 replies
-
let's please avoid click bait here. the maintainers are swamped enough as it is. you can put this in the Tailwind Discord. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://www.youtube.com/watch?v=ObZwFExwzOo
and yes I'm trying to stir up a scandal with the sensational title jkjk
it's the first entry as well.
Where I think he is right?
naming convention, missed opportunity on auto complete.
font-style normal?
.not-italic
of course!line-height: 2?
.leading-loose
color?
.text-black
font-size: 1.5rem;?
.text-2xl
font-family?
.font-sans
it's all about text, but you cannot find any of those styles (except maybe text-black) unless you look in the documentation. That is bad DX, by the time you learn "leading-loose" is line-height: 2 (etc) you might have as well just written it yourself.
I feel like its a huge missed opportunity
e.g. what I would have done? everything about text under
.text
call it
.text-lh-2
if you want instead of line-height. It will be enough so people understand it when they see it in the autocomplete as option.text-bold
.text-center
.text-normal
colors I would probably put where i can see all colors
e.g. instead of
.text-black
I would create.text-color-
that way one can see all colors and select oneyou know what I mean? make autocomplete your friend, not foe.
Beta Was this translation helpful? Give feedback.
All reactions