mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
8097344561
Runtime-loaded visual re-skin system (no client rebuild, real themes never hit git). A theme = a folder on the server (theme.base.url) with a manifest + CSS "pieces"; each piece is toggled from Settings > Themes (checkboxes). A broken/404 piece auto-falls back to the default (per piece). Hotel-wide default via ui-config theme.default (+ theme.default.pieces), per-user override in localStorage (same pattern as the catalog style toggle). - api/theme/ThemeManager: fetch index/manifest + inject/remove <link> + fallback - hooks/theme/useThemes: state + persist + default-from-config + live apply - components/theme/ThemeApplier: applies on boot (mounted in MainView) - UserSettings: General/Themes tabs with theme selector + per-piece checkboxes - custom-themes/: reference template (demo theme "Neon Viola" + README) - .gitignore: public/custom-themes/ (real themes are never committed)
48 lines
887 B
Plaintext
48 lines
887 B
Plaintext
/dist
|
|
/tmp
|
|
/out-tsc
|
|
/node_modules
|
|
/.idea
|
|
.project
|
|
.classpath
|
|
.c9/
|
|
*.launch
|
|
.settings/
|
|
*.sublime-workspace
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
!.vscode/extensions.json
|
|
.history/*
|
|
/.sass-cache
|
|
/connect.lock
|
|
/coverage
|
|
*.log
|
|
.git
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Nitro
|
|
/build
|
|
*.zip
|
|
.env
|
|
.claude/
|
|
|
|
# Per-deploy build configuration (yarn configure)
|
|
/.nitro-build.json
|
|
|
|
# Local runtime config copies
|
|
/public/configuration/renderer-config.json
|
|
/public/configuration/ui-config.json
|
|
/public/configuration/client-mode.json
|
|
/public/configuration/adsense.json
|
|
/public/configuration/hotlooks.json
|
|
|
|
# Game assets are served by an external server (emulator/CMS), not by Vite.
|
|
# Never recreate these as symlinks inside public/ — chokidar follows them and
|
|
# the dev server takes minutes to start with 100k+ files under public/.
|
|
/public/nitro-assets
|
|
/public/swf
|
|
.superpowers/
|