Port Jinja2 CSS foundation into pal-e-app — kill AI slop #34
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-docs-app#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lineage
plan-pal-e-docs→ Phase F11 (Design System Overhaul) → F11a + F11bRepo
forgejo_admin/pal-e-appUser Story
As Lucas reading my documentation on any device
I want the site to look as clean and readable as the old Jinja2 site
So that I can browse my 374 notes without my eyes bleeding
Context
The old pal-e-docs Jinja2 frontend (deleted in pal-e-docs PR #150) had excellent, proven CSS:
background: #fafafa,color: #1a1a1amax-width: 48remcentered content#0366d6), gray tags, subtle bordersPRIVATElabel)The current pal-e-app has AI slop CSS: cyan-on-dark, pink neon accents, system fonts, no mobile responsive design, horizontal scrolling on phones, white areas. Every color is hardcoded as Tailwind arbitrary values (
bg-[#0e0e18]).Reference file:
reference-jinja2-base.htmlin the repo root contains the full old template with all CSS.File Targets
Files to modify:
src/app.css— replace Tailwind-only import with CSS custom properties based on old Jinja2 palette. Add Atkinson Hyperlegible font import. Define design tokens for colors, spacing, typography, radii.src/app.html— add Google Fonts preconnect + font link in<head>src/routes/+layout.svelte— update nav to use new CSS classes instead of hardcoded Tailwind hex values. Ensure nav works on mobile (flex-wrap like old site).src/routes/+page.svelte— update home page to use new design tokenssrc/routes/notes/+page.svelte— update notes listsrc/routes/notes/[slug]/+page.svelte— note detail pagesrc/lib/components/NoteLayout.svelte— update layout to use max-width: 48rem, new tokenssrc/lib/components/blocks/*.svelte— update ALL block components to use new tokens instead of hardcoded hexsrc/lib/colors.ts— simplify note type colors to work on light backgroundsrc/lib/columns.ts— update board column colors for light modeFiles NOT to touch:
src/auth.ts— auth logic unchangedsrc/lib/api.ts— API client unchangedsrc/hooks.server.ts— server hooks unchangedKey Principles
background: #fafafa,color: #1a1a1a. Dark nav bar stays.app.cssfor ALL colors. Zero hardcoded hex in components.overflow-x: autoon tables to prevent horizontal page scroll.#0366d6), not pink (#e94560).#e8e8e8), not dark cards.PRIVATElabel, visible and clear.Acceptance Criteria
#fafafa) and Atkinson Hyperlegible font.sveltefile — all colors via CSS custom properties#0366d6), tags are gray on light backgroundTest Expectations
npx playwright testConstraints
reference-jinja2-base.htmlas the design specruffnot applicable (JS repo) — runnpm run checkandnpm run lintinsteadChecklist
Related
phase-pal-e-docs-design-overhaul— parent phase (F11)project-pal-e-docs— project