mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-03-31 17:12:09 +08:00
Tailwind CSS v4 requires modern CSS features (@layer, @property, color-mix) that are not supported in older WebView2 versions, causing styles to fail on some Windows 11 systems. Changes: - Replace @tailwindcss/vite with postcss + autoprefixer - Downgrade tailwindcss from 4.1.13 to 3.4.17 - Convert CSS imports from v4 syntax to v3 @tailwind directives - Add darkMode: "selector" to tailwind.config.js - Create postcss.config.js for PostCSS pipeline This improves compatibility with older browsers and WebView2 runtimes while maintaining the same visual appearance.
7 lines
83 B
JavaScript
7 lines
83 B
JavaScript
module.exports = {
|
|
plugins: {
|
|
tailwindcss: {},
|
|
autoprefixer: {},
|
|
},
|
|
};
|