- Copy complete source code packages from original CodeNomad project - Add root package.json with npm workspace configuration - Include electron-app, server, ui, tauri-app, and opencode-config packages - Fix Launch-Windows.bat and Launch-Dev-Windows.bat to work with correct npm scripts - Fix Launch-Unix.sh to work with correct npm scripts - Launchers now correctly call npm run dev:electron which launches Electron app
45 lines
1.7 KiB
JavaScript
45 lines
1.7 KiB
JavaScript
import { dirname, resolve } from "path"
|
|
import { fileURLToPath } from "url"
|
|
|
|
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
|
|
export default {
|
|
content: [
|
|
resolve(__dirname, "src/**/*.{ts,tsx}"),
|
|
resolve(__dirname, "src/renderer/**/*.html"),
|
|
],
|
|
darkMode: ["class", '[data-theme="dark"]'],
|
|
theme: {
|
|
extend: {
|
|
colors: {},
|
|
spacing: {},
|
|
fontSize: {
|
|
'xs': ['var(--font-size-xs)', { lineHeight: 'var(--line-height-normal)' }],
|
|
'sm': ['var(--font-size-sm)', { lineHeight: 'var(--line-height-normal)' }],
|
|
'base': ['var(--font-size-base)', { lineHeight: 'var(--line-height-normal)' }],
|
|
'lg': ['var(--font-size-lg)', { lineHeight: 'var(--line-height-tight)' }],
|
|
'xl': ['var(--font-size-xl)', { lineHeight: 'var(--line-height-tight)' }],
|
|
'2xl': ['var(--font-size-2xl)', { lineHeight: 'var(--line-height-tight)' }],
|
|
'body': ['var(--font-size-base)', { lineHeight: 'var(--line-height-normal)' }],
|
|
'label': ['var(--font-size-sm)', { lineHeight: 'var(--line-height-normal)' }],
|
|
'heading': ['var(--font-size-lg)', { lineHeight: 'var(--line-height-tight)' }],
|
|
},
|
|
fontFamily: {
|
|
'sans': ['var(--font-family-sans)', 'system-ui', 'sans-serif'],
|
|
'mono': ['var(--font-family-mono)', 'monospace'],
|
|
'body': ['var(--font-family-sans)', 'system-ui', 'sans-serif'],
|
|
'heading': ['var(--font-family-sans)', 'system-ui', 'sans-serif'],
|
|
},
|
|
fontWeight: {
|
|
'regular': 'var(--font-weight-regular)',
|
|
'medium': 'var(--font-weight-medium)',
|
|
'semibold': 'var(--font-weight-semibold)',
|
|
'bold': 'var(--font-weight-bold)',
|
|
},
|
|
borderRadius: {},
|
|
boxShadow: {},
|
|
},
|
|
},
|
|
plugins: [],
|
|
}
|