Skip to main content
1 vote
1 answer
92 views

This is my global.css @import "tailwindcss"; @layer base { :root { --background: 0 0% 100%; --foreground: 222.2 84% 4.9%; --card: 0 0% 100%; --card-foreground: 222.2 84% 4....
MikiBelavista's user avatar
3 votes
2 answers
241 views

I'm using ShadCN UI, Radix UI with TailwindCSS v4. I noticed that Tailwind classes don't work unless I add !important. For example: <section className="bg-gray-100 !px-15 !pt-15 !pb-20 rounded-...
PerfDev.'s user avatar
  • 118
-5 votes
0 answers
154 views

I installed shadcn/ui to my Next.js project with the "neutral" theme selected. Now I want to switch it to the "slate" theme for my entire project. What should I do? Do I just copy ...
helloworld142857's user avatar
0 votes
1 answer
62 views

So the documentation suggests that if I want a manual toggle, I should write it like this: If you want your dark theme to be driven by a CSS selector instead of the prefers-color-scheme media query, ...
rozsazoltan's user avatar
  • 18.5k
1 vote
2 answers
131 views

I am working on migrating a code base from Styled Components to Tailwind v4. To avoid introducing breaking changes to our design, I want to continue using the same media breakpoints and media queries, ...
Paul Razvan Berg's user avatar
0 votes
1 answer
69 views

I have created a site using React with TailwindCSS v4.1.16. When running the site in dev mode (npm run dev), the responsive design is working and I can see the changing formats when I resize my screen ...
myers96's user avatar
-1 votes
1 answer
69 views

I have a fairly large svelte kit tailwind project. I updated all dependencies to latest, including TailwindCSS. My current dependencies are as follows: { "devDependencies": { // ....
Justin's user avatar
  • 1,169
1 vote
1 answer
97 views

I've a problem with the Nativewind variables. I created my project on the new version of expo (sdk 54) and therefore nativewind v4 but there is no more file tailwind.config.js to put variables, only ...
Raphaël Miroir's user avatar
-3 votes
1 answer
78 views

Given a monorepo containing N projects, I wanted to avoid duplicating components, so I thought of creating a dependency package that only ships the components. However, if I install TailwindCSS in ...
rozsazoltan's user avatar
  • 18.5k
2 votes
1 answer
128 views

I have trouble on implementing TailwindCSS v4 on Deno. This is my structure: deno.json { "tasks": { "dev": "deno run -A --watch main.ts", "vite": &...
トロイ's user avatar
0 votes
2 answers
55 views

I'm trying to implement dark mode in my Next.js app using TailwindCSS. However, TailwindCSS's dark: classes are not being applied, even when the .dark class is present on the <html> tag. global....
Abhinav Shinde's user avatar
1 vote
2 answers
54 views

There is a Vite project using TailwindCSS v4. v4 already targets Baseline 2023 and correctly uses oklch() colors. Input CSS @theme { --color-demo: oklch(98% 0.006 251deg); } Generated CSS with Vite ...
rozsazoltan's user avatar
  • 18.5k
2 votes
1 answer
60 views

I'm using Vite v7.2.4, Tailwind v4.1.17 with DaisyUI v5.5.5. I'm trying to create a full page website where the Navbar will be always visible and the section will change. But every time I add a Navbar ...
Alan's user avatar
  • 23
0 votes
1 answer
114 views

The TailwindCSS website currently doesn't have any guidance related to Bun, so it's difficult for me to figure out how to properly integrate v4 with Bun SSR. I found a bun-plugin-tailwind dependency ...
Gabriel Rubio's user avatar
1 vote
1 answer
89 views

I'm working on a Next.js 16 project and trying to set up Tailwind CSS v4. I installed Tailwind via npm: npm install -D tailwindcss postcss autoprefixer I also created the following config files ...
trabelsi wejden's user avatar

15 30 50 per page