Little whirlwind tour of some theme customization workflows in Tailwind CSS v4 🌪️
@adamwathan31万 位关注者
65,429 次观看
23 条评论
评论来自 X (Twitter) 上的原帖

@heyImMapleLeaf
as cool as this is, I hope we see editor support for this out of the gate, if not soon after. the editor support is half of what makes tailwind so great
11 个赞

@jullerino
Gimme beta already 😍
10 个赞

@notagilbert
1) when
3 个赞

@FBNKCMaster
Can you just stop a little bit and let us relish the current version, please? 😜 Awesome work 👍 Keep it up!
1 个赞

@paraform
So clean! 🧼
1 个赞

@rafaelfrancam
Can we split css files in v4? Eg.: dark and light modes in two separate files or separate files by screen size.
1 个赞

@edgarasben
@davidhellmann 😳 smart! exactly what I needed. This will greatly reduce the complexity of the config custom plugin that creates all the semantic tokens/variables.
1 个赞

@Mike_Andreuzza
Sweet... 💪
1 个赞

@ICT_Consults
Anticipating

@dev_alade
🔥

@Clex1o1
Looks sick! Can’t wait for css variables

@clem_mas
What's the browser support?

@Jacksonmills
👏

@edgarasben
@davidhellmann Will this work for data-* selectors?

@heyjordn
So much flexibility with this, looks great

@phenomen
I noticed that you've combined Tailwind imports into one. Please keep legacy imports as an option. There are cases where using `base` resets is undesirable behavior.

@AdegokeIdowu20
I'm very new to tailwindcss, I wrote customs colors in the file and throw error when deploying. @theme{ --color-brightRed: hsl(227, 12%, 86%); } Code like this. Any solution to these?

@lawjolla
Love it! Quick question.. how would you change the theme? E.g. the following doesn't work. @ theme { ... --color-mono-200: var(--color-slate-200); } :root { ... --color-mono-200: var(--color-stone-200); }

@nufnufnafnafnif
Awesome

@kevinmu17
This update is more than welcome!



