Logo
Explore Help
Register Sign In
valknar/units-ui
1
0
Fork 0
You've already forked units-ui
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
main
units-ui/postcss.config.mjs

6 lines
70 B
JavaScript
Raw Permalink Normal View History

refactor: migrate to Tailwind CSS 4 native configuration Convert from Tailwind CSS 3 style to Tailwind CSS 4 native approach: - Install @tailwindcss/postcss plugin - Create postcss.config.mjs with Tailwind PostCSS plugin - Migrate all custom theme colors to globals.css using @theme directive - Remove tailwind.config.ts (no longer needed in Tailwind CSS 4) - Update globals.css from @import style to native CSS with custom properties Custom theme includes: - 23 category-specific colors as CSS custom properties - --color-category-* naming convention for all unit types - Follows Tailwind CSS 4 best practices with @theme block Benefits: - Native CSS features, no JS config needed - Better performance with PostCSS plugin - Cleaner separation of concerns - Follows Tailwind CSS 4 migration guide 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 09:26:11 +01:00
export default {
plugins: {
'@tailwindcss/postcss': {},
},
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 18ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API