Skip to content

fix(css): isolated service-section visual shim (no showEdit change) - #10

Merged
diecasting merged 1 commit into
mainfrom
fix-service-css-visual
Oct 14, 2026
Merged

diecasting merged 1 commit into
mainfrom
fix-service-css-visual

Conversation

@diecasting

Copy link
Copy Markdown
Owner

Scope

Isolated, CSS-only shim for the five service section partials. Provides the utility classes these partials reference that are ABSENT from the compiled Tailwind bundle (verified against the live production CSS 48c06b98):

  • py-12, sm:py-16 (section vertical padding — currently missing live, so sections render with no padding)
  • sm:text-3xl, tracking-wider (responsive heading sizing / letter-spacing)
  • mt-0.5, items-start
  • border-primary-200
  • dark:bg-neutral-900/40, dark:bg-primary-900/30, dark:border-primary-800, dark:text-primary-300 (dark-mode treatments)

Why separate from PR #7

PR #7 bundles this same CSS work together with a params.toml showEdit config change that is still unresolved. This PR contains ONLY the CSS shim (1 file, +31/-1) and no config/showEdit change, so it can merge independently of PR #7.

Values

Mirror Tailwind v4 defaults; primary = the theme blue scale (--color-primary-N RGB channels). Narrower than PR #7's 72-line blanket shim (which also added divide/ring/group/hover classes never used by these partials).

Verification

Clean rebuild produces a bundle containing all shim selectors; the HTML links it. Grid layout itself (.hy-grid + gap-4) is already present and is fixed separately by PR #9.

Provides the utility classes used by the five service section partials
that are absent from the compiled Tailwind bundle (verified against the
live production CSS): py-12, sm:py-16, sm:text-3xl, tracking-wider,
mt-0.5, items-start, border-primary-200, dark:bg-neutral-900/40,
dark:bg-primary-900/30, dark:border-primary-800, dark:text-primary-300.
Values mirror Tailwind v4 defaults; primary = theme blue scale.
This is intentionally narrower than PR #7's blanket shim and contains
no config/showEdit change, so it can merge independently of PR #7.
@diecasting
diecasting merged commit 9bbbee2 into main Oct 14, 2026
@diecasting
diecasting deleted the fix-service-css-visual branch October 14, 2026 07:05
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