Files
gitea-themes/package.json
T
chuan fdbd8dcdf1 feat: update theme to gitea-dev, adjust build and verification scripts
- Updated .gitignore to include .playwright-mcp
- Changed README.md to reflect new output file names for the dev theme
- Modified compose.dev.yaml to set the default theme to gitea-dev
- Added official-style-map.md to document the theme's baseline and structure
- Updated rules.md to clarify directory responsibilities and naming conventions
- Adjusted package.json test script to include verification against the official theme
- Refactored build.ts and preview.ts to output theme-gitea-dev.css
- Created verify-official-theme.ts to compare generated theme with the official baseline
- Removed unused css.ts and theme-types.ts files
- Cleared out components, pages, and primitives styles to start fresh
- Introduced new token files for ANSI colors, console colors, core colors, named colors, semantic colors, and target colors
- Added theme-meta.ts for theme metadata
- Deleted light.ts theme file as it is no longer needed
2026-05-16 02:33:38 +08:00

24 lines
954 B
JSON

{
"name": "gitea-theme-dev",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Bun-powered custom theme workspace for Gitea.",
"scripts": {
"build": "bun scripts/build.ts",
"dev": "bun scripts/build.ts --watch",
"preview": "bun run build && bun scripts/preview.ts",
"build:min": "bun scripts/build.ts --minify",
"test": "bun run build && bun scripts/verify-theme.ts && bun scripts/verify-official-theme.ts",
"compose:up": "docker compose -f compose.dev.yaml up -d",
"compose:down": "docker compose -f compose.dev.yaml down",
"compose:logs": "docker compose -f compose.dev.yaml logs -f server",
"docker:test": "bun run build && docker compose -f compose.dev.yaml up -d && bun scripts/verify-docker.ts"
},
"devDependencies": {
"@types/bun": "latest",
"lightningcss": "^1.29.2",
"polished": "^4.3.1"
}
}