From ddf2aa7a1116dcac829755ccd5e69bb4a471e3d7 Mon Sep 17 00:00:00 2001 From: oratis Date: Sat, 30 May 2026 01:21:23 +0800 Subject: [PATCH] fix(desktop): remove dead Tailwind/PostCSS config (breaks CI test step) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit postcss.config.js still wired tailwindcss + autoprefixer as PostCSS plugins, but Tailwind was removed long ago (raw CSS now) and neither package is a declared dependency — they only lingered as stale local node_modules. On a fresh CI install the PostCSS config failed to load ("Cannot find module 'tailwindcss'"), failing the desktop vitest run. It stayed hidden because CI's format:check step failed first and the Test step never ran; greening format:check exposed it. index.css uses no @tailwind/@apply directives and nothing imports the configs, so delete both postcss.config.js and tailwind.config.ts. Renderer Vite build verified clean (220 modules) and desktop tests pass without them. Co-Authored-By: Claude Opus 4.8 (1M context) --- apps/desktop/postcss.config.js | 8 -------- apps/desktop/tailwind.config.ts | 31 ------------------------------- 2 files changed, 39 deletions(-) delete mode 100644 apps/desktop/postcss.config.js delete mode 100644 apps/desktop/tailwind.config.ts diff --git a/apps/desktop/postcss.config.js b/apps/desktop/postcss.config.js deleted file mode 100644 index cbfab53..0000000 --- a/apps/desktop/postcss.config.js +++ /dev/null @@ -1,8 +0,0 @@ -// PostCSS — wires Tailwind + Autoprefixer for the Vite renderer build. - -export default { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - }, -}; diff --git a/apps/desktop/tailwind.config.ts b/apps/desktop/tailwind.config.ts deleted file mode 100644 index e7a5475..0000000 --- a/apps/desktop/tailwind.config.ts +++ /dev/null @@ -1,31 +0,0 @@ -// Tailwind config — DeepCode desktop client. -// Milestone: M6-rest -// -// Color tokens match docs/VISUAL_DESIGN.html. Dark theme is the only mode -// shipped at v1 (matches Claude Code's look). - -import type { Config } from 'tailwindcss'; - -const config: Config = { - content: ['./src/**/*.{ts,tsx,html}'], - theme: { - extend: { - colors: { - bg: '#0e0e10', - 'bg-elevated': '#18181b', - fg: '#f4f4f5', - muted: '#71717a', - accent: '#a3e635', - error: '#f87171', - border: '#27272a', - }, - fontFamily: { - sans: ['ui-sans-serif', '-apple-system', 'BlinkMacSystemFont', 'system-ui', 'sans-serif'], - mono: ['ui-monospace', 'SFMono-Regular', 'Menlo', 'monospace'], - }, - }, - }, - plugins: [], -}; - -export default config;