- @fontsource-variable/{fraunces,jetbrains-mono,newsreader} + @fontsource/{dm-sans,ibm-plex-mono} bundled offline.
- styles.css restructured: theme-agnostic base + 4 [data-theme="..."] overrides driving CSS custom props (--bg, --fg, --accent, --font-display, --font-body, --atmosphere).
- Each theme has its own typographic + chromatic personality:
* Anthropic: warm cream-on-charcoal, Newsreader display + DM Sans body, sunset orange + claude purple.
* Instrument: synth panel, JetBrains Mono throughout, chartreuse on slate, ring tick marks, faint scanlines, bracket corners on title bar.
* Editorial: magazine artifact, Fraunces variable serif (opsz axis), saffron on warm charcoal, hairline rules.
* Retro CRT: phosphor green on near-black, IBM Plex Mono, scanlines + vignette, blink-cursor in corner, [bracketed] header label.
- Settings panel: 4-up theme picker (each card renders a sample percentage in that theme's actual fonts/colors). Click = live preview; Cancel reverts; Save persists.
- BlockRing big % bumped to 38px logical with theme-specific font-variation-settings.
- TitleBar voice differs per theme without changing underlying string.
- Default theme: Anthropic (warmest first impression).
36 lines
990 B
JSON
36 lines
990 B
JSON
{
|
|
"name": "claude-usage-widget",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource-variable/fraunces": "^5.0.0",
|
|
"@fontsource-variable/jetbrains-mono": "^5.0.0",
|
|
"@fontsource-variable/newsreader": "^5.0.0",
|
|
"@fontsource/dm-sans": "^5.0.0",
|
|
"@fontsource/ibm-plex-mono": "^5.0.0",
|
|
"@tauri-apps/api": "^2.0.0",
|
|
"@tauri-apps/plugin-autostart": "^2.0.0",
|
|
"@tauri-apps/plugin-dialog": "^2.0.0",
|
|
"@tauri-apps/plugin-store": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
|
"@tauri-apps/cli": "^2.0.0",
|
|
"@tsconfig/svelte": "^5.0.4",
|
|
"svelte": "^5.0.0",
|
|
"svelte-check": "^4.0.0",
|
|
"typescript": "^5.6.0",
|
|
"vite": "^5.4.0"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": ["esbuild"]
|
|
}
|
|
}
|