feat: #21 Phase 5 — Tailwind v4 语法迁移 (globals.css + 删除 tailwind.config.js)

This commit is contained in:
gitadmin 2026-07-15 16:05:51 +08:00
parent 7346031fc4
commit 46b220d6ca
2 changed files with 4 additions and 12 deletions

View File

@ -1,5 +1,8 @@
@import "tailwindcss";
@config "../../tailwind.config.js";
@custom-variant dark (&:where(.dark, .dark *));
@source "../../shared";
@source "../../src";
@import './tlyq-design-system.css' layer(base);
@layer base {
@ -8,10 +11,6 @@
color: var(--fg);
background-color: var(--bg);
}
html.dark body {
background-color: var(--bg);
color: var(--fg);
}
}
@layer components {

View File

@ -1,7 +0,0 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
theme: { extend: {} },
plugins: [],
}