# What does @import 'tailwindcss' theme(static); mean in Sage?

**URL:** https://discourse.roots.io/t/what-does-import-tailwindcss-theme-static-mean-in-sage/29890
**Category:** sage
**Tags:** sage11
**Created:** 2025-09-03T15:54:01Z
**Posts:** 3

## Post 1 by @mzwygart — 2025-09-03T15:54:02Z

Hi,

In the app.css file of my Sage theme, I have this line:

```
@import 'tailwindcss' theme(static);
```

I don’t really understand what the theme(static) part does.

Also, my editor marks this as invalid syntax. How can I configure my setup so the editor recognizes it?

Thanks in advance

---

## Post 2 by @Log1x — 2025-09-03T17:54:02Z

It isn’t very documented, but it instructs Tailwind v4 to generate all the theme configuration variables statically at build time so our [Vite plugin](https://github.com/roots/vite-plugin?tab=readme-ov-file#themejson-generation) is able to process them and generate `theme.json`. I believe any Tailwind plugin with v4 support should fix any issues in your editor. [Tailwind CSS IntelliSense - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) is the official for VS Code.

---

## Post 3 by @mzwygart — 2025-09-03T21:19:12Z

Thanks a lot for your reply and for all the work you do in general.
