feat(desktop): add client extension points

This commit is contained in:
zhayujie
2026-07-21 18:13:14 +08:00
parent e8d9fb4e51
commit b64733d64a
16 changed files with 442 additions and 59 deletions

View File

@@ -1,6 +1,14 @@
const path = require('path')
// When '@product' points outside this project (COW_PRODUCT_DIR), scan that
// directory too so classes used only there still get generated.
const productContent = process.env.COW_PRODUCT_DIR
? [path.join(process.env.COW_PRODUCT_DIR, '**/*.{tsx,ts}')]
: []
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/renderer/**/*.{html,tsx,ts}'],
content: ['./src/renderer/**/*.{html,tsx,ts}', ...productContent],
darkMode: 'class',
theme: {
extend: {