Skip to content

Reconcile Action, Cards, Hero, Icons, Tabs, Pagination, Buttons, Carousel, Tags + asset renaming - #3

Merged
apannetrat merged 14 commits into
mainfrom
add-action-selected-shadow
Sep 28, 2026
Merged

apannetrat merged 14 commits into
mainfrom
add-action-selected-shadow

Conversation

@lumpster-csa

@lumpster-csa lumpster-csa commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Reconciles several items flagged in the Stephen/Alain branch-merge brief, porting them from the local library copy into this repo, plus an asset filename cleanup and a small typography fix.

  • .csa-action — resting border steps down to n50 (was n75); a selected tile no longer shifts border/arrow color on :hover (stays static once selected — the resting drop-shadow already signals "selected"). Resting background and the dark-surface backdrop-filter: blur(3px) are unchanged.
  • .csa-card-raised — new always-on elevation modifier for cards (cards.css), with a showcase demo.
  • .csa-hero-split-graphic — new 2-column hero pattern promoted from the STAR Program pages (hero.css), with a showcase demo (adds two supporting assets: docs/assets/hero-bg-star.jpg, assets/logos/star-logo-white.svg).
  • Icons — added the 6 token-color subfolders (b100/b300/b500/n400/o300/o700, 120 icons each) for badge/neutral-tag contexts, plus 19 new base icons (AI-Automation, Click, Clock, Connect, Delete, Document-Locked, Export, Folder-Locked, Gate, Info, Laptop-Locked, Phone-Locked, Safe, Scan-LLM, Strategy, Support, Target, Window, Window-Locked) with their full color-variant sets.
  • Tabs — restored the rounded ::before hover-fill highlight (previously only shifted text color).
  • Pagination — restored the .csa-pagination-next:disabled fix; Next now gets the same filled disabled treatment as Prev (this was the original bug report: "Next doesn't get disabled-button styling").
  • Buttons — restored distinct black-surface disabled colors (n800/n500) instead of falling through to dark surface's b800/b500.
  • Carousel — restored the nested .csa-carousel-row wrapper with .csa-carousel-dots as a child of .csa-carousel, not a sibling after it — the structure that prevents dots from being left behind when someone copies just the visible carousel block. Keeps this branch's CSS-chevron arrows. Updated the showcase demo markup and its dot-lookup script to match.
  • Tags — restored the .csa-bg-n25 guard comment explaining a contrast bug that already shipped once.
  • Asset filenames — normalized every file under src/assets/ (logos, icons + its 6 token-color subfolders, illustrations, tags) to lowercase kebab-case (1,682 renames), then replaced remaining underscores with dashes (5 files). Updated every reference to the old names across the repo, and fixed a pre-existing broken reference (assets/icons/badge-b500.svg → assets/icons/b500/badge-b500.svg, the file never existed at the top level) surfaced while checking this.
  • Asset filename anomalies — fixed three more found during the cleanup: csa-trusted-cloud-consultant-badge-png.png had a redundant -png baked into the base name before its real .png extension; ai-threat-radar-dark-1.png/-light-1.png and blueprint-light-1.png had an export-tool -1 artifact instead of the plain -dark/-light pattern every other illustration uses; virtual-event-dark-blue-bg-copy.png/-light-blue-bg-copy.png were visually confirmed to render on a plain white background (not the blue background their filename claimed, and effectively duplicating virtual-event-white-bg.png) — deleted as mislabeled duplicates rather than renamed.
  • Typography — h4.csa-title no longer inherits the shared -.02em letter-spacing (bare h4 and h4.csa-subtitle are unaffected).
  • README — updated to document the component/icon changes above.

Test plan

  • Verified locally via a served preview of src/docs/index.html:
    • Action selected tiles show the resting shadow on all 4 surfaces (white/n25/dark/black), no color shift on hover
    • Raised card and hero-split-graphic demos render correctly
    • Carousel arrow/viewport/dots layout renders correctly; dot-click navigation works with the new nested structure
    • Pagination Next-disabled and button black-surface-disabled resolve to the correct token colors (checked via computed style)
    • Tab hover fill renders
    • Full page network log checked for 404s after the asset rename — only the pre-existing badge-b500.svg issue turned up, now fixed
    • h4.csa-title computed letter-spacing confirmed back to normal

🤖 Generated with Claude Code

Stephen Lumpe and others added 8 commits September 21, 2026 12:25
Selected .csa-action tiles (aria-selected="true") now carry a shadow
at rest instead of only on hover, so the chosen state reads as
elevated as soon as it's selected. Dark/black surfaces get a tuned
dark-tinted shadow to match.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
.csa-action's resting border steps down to n50 (was n75), matching the
convention .csa-pagination-btn already uses. A selected tile no longer
shifts border/arrow color on hover (o700/o500 stay fixed) — the
resting drop-shadow already signals "selected"; a second hover-color
shift on top of that read as redundant. Resting background and the
dark-surface backdrop-filter blur are unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Both are ported as-is from the local library copy: .csa-card-raised
is an always-on elevation modifier for cards.css, and
.csa-hero-split-graphic is a two-column hero pattern promoted from
the STAR Program pages.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds the 6 token-color icon subfolders (b100/b300/b500/n400/o300/o700)
for badge/neutral-tag contexts that need an icon to match an
arbitrary surrounding color, plus 19 new base icons (AI-Automation,
Click, Clock, Connect, Delete, Document-Locked, Export, Folder-Locked,
Gate, Info, Laptop-Locked, Phone-Locked, Safe, Scan-LLM, Strategy,
Support, Target, Window, Window-Locked) that now exist in the main
icons folder, each with its full set of color variants.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…ce button colors

Three small parity fixes pulled from the local library copy:
- .csa-tab:hover gets back its rounded ::before highlight fill
  (previously only shifted text color)
- .csa-pagination-next:disabled now gets the same filled
  disabled treatment as :prev (the original bug report was that
  Next did not get disabled-button styling)
- Black-surface disabled buttons use their own n800/n500 values
  again instead of falling through to dark surface's b800/b500

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
.csa-carousel is once again the outer wrapper stacking
.csa-carousel-row (arrow/viewport/arrow) above .csa-carousel-dots as
a nested child, not a sibling after .csa-carousel closes. Copying
just the visible .csa-carousel block now always brings the dots with
it, the bug this structure originally fixed. Keeps this branch's
CSS-chevron arrows (no inner markup needed) on top of the restored
wrapper. Updates the showcase demo markup and its dot-lookup script
to match.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Documents a real bug that already shipped once (a tag escalated for
an n25 background sitting on a card that was actually white) so the
same mistake does not recur. Rule logic is unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…ousel, tabs

Documents everything ported from the local library copy in this
branch: .csa-card-raised, .csa-hero-split-graphic, a full action.css
entry, the 6 token-color icon subfolders (now 120 icons each) plus
the 19 new base icons, the restored carousel row/dots structure, the
tab hover fill, and black-surface disabled button colors.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@lumpster-csa lumpster-csa changed the title Add resting drop-shadow to selected Action tiles Reconcile Action, Cards, Hero, Icons, Tabs, Pagination, Buttons, Carousel, Tags from local library Sep 21, 2026
Stephen Lumpe and others added 4 commits September 21, 2026 14:04
Both components had CSS but no demo markup on the showcase page.
Ports the demo blocks from the local library copy, plus the two
supporting assets they need (docs/assets/hero-bg-star.jpg,
assets/logos/STAR-logo-white.svg) that did not exist in this repo yet.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Renames every file under src/assets/ (logos, icons including its 6
token-color subfolders, illustrations, tags) to lowercase, with
spaces collapsed to a single dash (a literal " - " pattern would
also collapse to one dash, though none existed in this repo).
Illustrations and about half of logos were already conforming;
icons and the rest of logos were still PascalCase.

Updates every reference to the old filenames in README.md,
src/docs/index.html, src/components/badges.css, and
src/components/tags.css so nothing points at a stale path.

Note: found one pre-existing broken reference unrelated to this
rename — src/docs/index.html line ~1108 points at
assets/icons/badge-b500.svg, but that file only ever existed inside
assets/icons/b500/, never at the top level. Left as-is, flagging for
a separate fix.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The Certified badge demo pointed at assets/icons/badge-b500.svg,
which never existed at the top level — only inside the b500/
token-color subfolder. Points at the correct path.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Splits h4.csa-title out of the shared h4/h4.csa-subtitle rule so it
can reset letter-spacing to 0 without touching bare h4 or
h4.csa-subtitle, which keep the -.02em inherited from the base h1-h4
rule.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@lumpster-csa lumpster-csa changed the title Reconcile Action, Cards, Hero, Icons, Tabs, Pagination, Buttons, Carousel, Tags from local library Reconcile Action, Cards, Hero, Icons, Tabs, Pagination, Buttons, Carousel, Tags + asset renaming Sep 22, 2026
Stephen Lumpe and others added 2 commits September 23, 2026 11:18
No file under src/assets/ referenced these paths anywhere in the
repo, so no code changes needed alongside the rename.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- csa-trusted-cloud-consultant-badge-png.png -> ...badge.png (the
  base name had a redundant "_png"/"-png" baked in before the real
  .png extension)
- ai-threat-radar-dark-1.png / -light-1.png and blueprint-light-1.png
  -> drop the "-1" export-tool artifact, matching every other
  illustrations plain -dark/-light naming
- Deleted virtual-event-dark-blue-bg-copy.png and
  -light-blue-bg-copy.png: visually confirmed both actually render on
  a plain white/transparent background (matching
  virtual-event-white-bg.png), not the blue background their filename
  claimed, so they were mislabeled duplicates rather than a real
  second export

No file in the repo referenced any of these six paths.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@apannetrat
apannetrat merged commit 2f63397 into main Sep 28, 2026
2 of 3 checks passed
@lumpster-csa
lumpster-csa deleted the add-action-selected-shadow branch October 7, 2026 02:20
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