Skip to content

feat: adopt Tailwind CSS utility classes for styling - #9

Open
nicomiguelino wants to merge 2 commits into
developmentfrom
chore/adopt-tailwind-css
Open

feat: adopt Tailwind CSS utility classes for styling#9
nicomiguelino wants to merge 2 commits into
developmentfrom
chore/adopt-tailwind-css

Conversation

@nicomiguelino

Copy link
Copy Markdown
Contributor

Summary

  • Bump @screenly/edge-apps to ^1.3.0 (Tailwind CSS support, not yet published — matches the version in the tailwind-support branch)
  • Rework index.html to use Tailwind utility classes instead of custom CSS classes, keeping visual appearance and behavior unchanged
  • Slim src/css/style.css down to just the design-system import (skip Preflight, which resets border/margin/padding on custom-element hosts like <app-header>)
  • Update src/render.ts so the dynamically rendered employee rows, avatars, initials, empty states, and the overlapping avatar-group in the portrait summary view carry the equivalent Tailwind utility classes (no rendering logic changed) — JS-referenced/tested class names (employee-row, employee-name, avatar, avatar-initials, empty-state, summary-count, avatar-group) are preserved verbatim alongside the new utilities
  • Regenerate screenshots/*.webp to reflect current mock data

Reference implementations for this company-wide Tailwind rollout:

Test plan

  • bun run type-check passes
  • bun run build succeeds
  • bun test passes (15/15)
  • bun run screenshots regenerated all 10 screenshots (10/10 pass)
  • Verified landscape + portrait renders visually match prior appearance (cards, avatar overlap in portrait summary, empty states) via generated screenshots

Rework index.html to use Tailwind utility classes instead of custom CSS
classes, keeping visual appearance and behavior unchanged. Slim the CSS
entry point down to just the design-system import. Bump
@screenly/edge-apps to ^1.3.0 for upcoming Tailwind CSS support.
Regenerate screenshots to reflect the change.
@nicomiguelino
nicomiguelino marked this pull request as ready for review August 4, 2026 20:44
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.

1 participant