Scaffold svelte-playground repo with hub and shared CSS #1

Closed
opened 2026-03-24 16:59:27 +00:00 by forgejo_admin · 1 comment

Type

Feature

Lineage

Standalone — board-svelte-playground setup

Repo

forgejo_admin/svelte-playground

User Story

As the superuser
I want the svelte-playground repo scaffolded with shared CSS, Vite multi-page config, and a hub landing page
So that I can start adding project prototypes immediately

Context

New repo, empty. Needs the foundational files: shared CSS design system (same tokens as pal-e-playground), package.json with Svelte 5 + Vite 6, multi-page vite.config.js, and a hub index.html that links to all project prototypes.

File Targets

Files to create:

  • shared.css — unified CSS design system (extract from pal-e-playground/guide + pal-e-app/app.css tokens)
  • package.json — svelte, @sveltejs/vite-plugin-svelte, vite
  • vite.config.js — multi-page entry points config
  • index.html — hub landing page linking to project prototypes
  • .gitignore — node_modules, dist

Files NOT to touch:

  • No project subdirectories yet — those come in separate tickets

Acceptance Criteria

  • npm install succeeds
  • npm run dev starts Vite dev server
  • npm run build outputs dist/ with static files
  • Hub landing page renders at localhost:5173
  • shared.css has all design tokens from pal-e-playground (Atkinson Hyperlegible, light theme, CSS custom properties)

Test Expectations

  • Visual: hub page matches pal-e-playground style
  • Build: npm run build exits 0

Constraints

  • Svelte 5, NOT SvelteKit
  • No directories for project prototypes yet
  • shared.css is pure CSS, no Tailwind

Checklist

  • PR opened
  • Tests pass
  • No unrelated changes
  • project-svelte-playground
### Type Feature ### Lineage Standalone — board-svelte-playground setup ### Repo `forgejo_admin/svelte-playground` ### User Story As the superuser I want the svelte-playground repo scaffolded with shared CSS, Vite multi-page config, and a hub landing page So that I can start adding project prototypes immediately ### Context New repo, empty. Needs the foundational files: shared CSS design system (same tokens as pal-e-playground), package.json with Svelte 5 + Vite 6, multi-page vite.config.js, and a hub index.html that links to all project prototypes. ### File Targets Files to create: - `shared.css` — unified CSS design system (extract from pal-e-playground/guide + pal-e-app/app.css tokens) - `package.json` — svelte, @sveltejs/vite-plugin-svelte, vite - `vite.config.js` — multi-page entry points config - `index.html` — hub landing page linking to project prototypes - `.gitignore` — node_modules, dist Files NOT to touch: - No project subdirectories yet — those come in separate tickets ### Acceptance Criteria - [ ] `npm install` succeeds - [ ] `npm run dev` starts Vite dev server - [ ] `npm run build` outputs dist/ with static files - [ ] Hub landing page renders at localhost:5173 - [ ] shared.css has all design tokens from pal-e-playground (Atkinson Hyperlegible, light theme, CSS custom properties) ### Test Expectations - [ ] Visual: hub page matches pal-e-playground style - [ ] Build: `npm run build` exits 0 ### Constraints - Svelte 5, NOT SvelteKit - No directories for project prototypes yet - shared.css is pure CSS, no Tailwind ### Checklist - [ ] PR opened - [ ] Tests pass - [ ] No unrelated changes ### Related - `project-svelte-playground`
Author
Owner

Scope Review: READY

Review note: review-319-2026-03-24
All template sections present, file targets verified (guide CSS + pal-e-app tokens exist), repo placement correct, no blockers. Ticket is ready for agent execution.

## Scope Review: READY Review note: `review-319-2026-03-24` All template sections present, file targets verified (guide CSS + pal-e-app tokens exist), repo placement correct, no blockers. Ticket is ready for agent execution.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo_admin/svelte-playground#1
No description provided.