Skip to content

Refresh page actions and quiet borders - #207

Merged
tenphi merged 1 commit into
mainfrom
claude/modest-cerf-d4ledv
Nov 17, 2026
Merged

tenphi merged 1 commit into
mainfrom
claude/modest-cerf-d4ledv

Conversation

@tenphi

@tenphi tenphi commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Improves the visual design and user feedback of page controls while reducing border saturation across the theme.

Summary

This change refreshes the page footer controls with better visual hierarchy, clearer feedback, and icon indicators. It also reduces border saturation globally to keep them visually quiet against surfaces, especially with vivid brand colors.

Key Changes

  • Page Actions Control: Updated styling to match pagination cards with #surface-2 fill, added gap between elements, and improved hover/active states with color transitions
  • Copy Feedback: The copy button now briefly displays a check icon and sets data-copy-state="copied" for 2 seconds after successful copy, providing visual confirmation
  • Icons: Added SVG icons for copy (with check on success), download, and edit actions using CSS masks
  • New Sub-elements: Added Active, Icon, CopyIcon, and DownloadIcon to PageActions; added MetaLinkIcon to Footer
  • Border Saturation: Reduced border and border-strong saturation from 0.205 to 0.12 (one eighth of brand saturation) to keep borders near soft text color instead of appearing as tinted lines
  • Pagination Hover: Strengthened border color on hover (using #border-strong) while preserving geometry
  • Footer Edit Link: Added pencil icon, rounded focus ring, stronger resting color, and improved alignment
  • Labels: Updated "Copy page" to "Copy as Markdown" across all translations and documentation
  • Tests: Updated tests to verify copy state attribute and new button labels

Implementation Details

  • SVG icons are imported as raw strings and encoded at build time using svgIconUrl() helper for safe CSS mask URLs
  • Copy state is managed with a 2-second timeout that clears on component disconnect or new copy attempts
  • Border color transitions are now included in control animations
  • Pagination and page actions share consistent styling patterns for fill colors and hover behavior

- Lower the border and border-strong saturation factor from 0.205 to
  0.12, so vivid brands keep borders near the soft text saturation
  instead of reading as tinted lines on neutral surfaces.
- Give page actions the pagination card fill, hover and pressed fills,
  a stronger hover border, and copy/download icons. Label the copy
  control "Copy as Markdown" and briefly show a check after a copy.
- Strengthen the pagination hover border, which previously recolored to
  the resting color.
- Add a pencil icon, a rounded focus ring and a stronger resting color
  to the Edit page link, and center the footer metadata row so its
  focus ring hugs the link.
- Register and document the new PageActions and Footer sub-elements.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Gr8S7FAnzWy1i9P9qYtdh7
@tenphi
tenphi merged commit cefaf4c into main Nov 17, 2026
12 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 17, 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