Adaptive light/dark static theme generated from @tsuki/tokens, plus an optional userChrome.css layer (IBM Plex, tsuki radii, shu accent) that overrides Nova's design tokens. Self-hosted via AMO unlisted signing and Gitea releases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
1.7 KiB
JSON
34 lines
1.7 KiB
JSON
{
|
|
"name": "@tsuki/firefox-theme",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "tsuki theme for Firefox 157+ (Nova) — adaptive light/dark, plus an optional userChrome.css layer",
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.d-v.cc/tsuki/firefox-theme.git"
|
|
},
|
|
"scripts": {
|
|
"build": "tsx src/build.ts",
|
|
"check": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"lint": "web-ext lint --self-hosted --source-dir dist/theme",
|
|
"start": "pnpm preview:profile && web-ext run --source-dir dist/theme --firefox /Applications/Firefox.app/Contents/MacOS/firefox --profile-create-if-missing --firefox-profile \"$PWD/.preview-profile\" --keep-profile-changes --pref toolkit.legacyUserProfileCustomizations.stylesheets=true",
|
|
"package": "web-ext build --source-dir dist/theme --artifacts-dir web-ext-artifacts --overwrite-dest",
|
|
"sign": "web-ext sign --source-dir dist/theme --artifacts-dir web-ext-artifacts --channel unlisted",
|
|
"clean": "rm -rf dist web-ext-artifacts",
|
|
"start:dark": "pnpm preview:profile && web-ext run --source-dir dist/theme --firefox /Applications/Firefox.app/Contents/MacOS/firefox --profile-create-if-missing --firefox-profile \"$PWD/.preview-profile\" --keep-profile-changes --pref toolkit.legacyUserProfileCustomizations.stylesheets=true --pref ui.systemUsesDarkTheme=1",
|
|
"preview:profile": "mkdir -p .preview-profile/chrome && cp -R dist/userChrome/. .preview-profile/chrome/"
|
|
},
|
|
"devDependencies": {
|
|
"@tsuki/fonts": "^0.1.0",
|
|
"@tsuki/tokens": "^0.2.1",
|
|
"@types/node": "^24.13.5",
|
|
"tsx": "^4.23.13",
|
|
"typescript": "^7.0.2",
|
|
"vite": "^8.3.0",
|
|
"vitest": "^5.0.1",
|
|
"web-ext": "^10.7.0"
|
|
}
|
|
}
|