Skip to content

Add theme showcase pages, Playwright screenshot tests, and Tailwind theme#4

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/capture-bootstrap-theme-screenshots
Draft

Add theme showcase pages, Playwright screenshot tests, and Tailwind theme#4
Copilot wants to merge 3 commits intomainfrom
copilot/capture-bootstrap-theme-screenshots

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 28, 2026

Captures screenshots of all UI themes via Playwright and adds a Tailwind CSS theme. Improves the Bootstrap theme based on visual review.

Theme Showcase

New /theme-showcase/{theme} routes rendering all core components (Buttons, Cards, Form Controls, Tags, Progress, Table, Bar) under each theme. Shared ThemeShowcase.svelte component, per-theme route pages for default, bootstrap, tailwind, dark.

Playwright Screenshot Tests

  • playwright.config.ts + tests/theme-screenshots.spec.ts capturing full-page screenshots of each theme
  • npm run test:screenshots to regenerate screenshots/ directory
  • .gitignore updated for test-results/, playwright-report/

New Tailwind Theme

src/lib/vars/themes/tailwind.css — Tailwind default design tokens: blue-500 primary, gray palette, ui-sans-serif stack, rounded-md borders, cubic-bezier(0.4, 0, 0.2, 1) transitions, tamed checkbox affordances. Registered in Themes.svelte switcher.

Bootstrap Theme Improvements

  • --warning-text-transform: none — Bootstrap doesn't uppercase warning buttons
  • Added --container-bg, --card-header-bg, --card-footer-bg for proper card chrome
  • Added --shadow-color, --link-fg, --progress-bar-color, --progress-track-bg
  • Updated --code-font-family to Bootstrap's SFMono stack
  • Tamed checkbox hover/active affordances

Bootstrap

Bootstrap

Tailwind

Tailwind

Dark

Dark

Default

Default

Note: Svelte devDependency bumped to v4 to resolve pre-existing incompatibility with @sveltejs/kit@2.5.17 (the v3 dep couldn't start the dev server). peerDependencies already allowed ^3.0.0 || ^4.0.0.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 28, 2026 03:17
…, and bootstrap improvements

Co-authored-by: thinkle-iacs <15049315+thinkle-iacs@users.noreply.github.com>
…st locators and baseURL

Co-authored-by: thinkle-iacs <15049315+thinkle-iacs@users.noreply.github.com>
Copilot AI changed the title [WIP] Capture screenshots of Bootstrap theme in action Add theme showcase pages, Playwright screenshot tests, and Tailwind theme Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants