111 words
1 minute
3. 主题色与 CSS 变量 (Theme & CSS)
This article has no translation for the current language. Falling back to the main language.
本文档规范了项目的主题配色方案、OKLCH 色彩空间及全局 CSS 变量的配置位置,以供 AI 在修改时参考。
# AI Collaboration Reference: Theme Colors & CSS Variables
## Context & Rules
- **Framework**: The project uses Tailwind CSS and OKLCH color spaces.- **Configurability**: Primary theme colors and preset hues are defined in `src/config.ts` under `siteConfig.themeColor`.- **Core CSS Variables**: The actual Tailwind variable mappings (like `--primary`, `--bg`, `--card`) are strictly defined in `src/styles/global.css`. If you are asked to change the fundamental UI colors (like dark mode backgrounds), modify `global.css`.3. 主题色与 CSS 变量 (Theme & CSS)
https://blog.aquamarinez.com/en/docs/fuwari/advanced-customization/ai-guide/03-theme-system/