Skip to content

Fix demo page brand compliance - #21

Merged
pavelanni merged 1 commit into
mainfrom
fix/demo-brand-compliance
Apr 29, 2026
Merged

pavelanni merged 1 commit into
mainfrom
fix/demo-brand-compliance

Conversation

@pavelanni

@pavelanni pavelanni commented Apr 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Use on-palette gray-60 for card hover border (was off-palette blue-tinted gray)
  • Remove italic from empty state text (RH brand prohibits italics for emphasis)
  • Use semantic <main> element for accessibility
  • Rename --accent-hover CSS variable to --accent-light for clarity

Test plan

  • Open docs/demo/index.html in browser
  • Verify card hover border is neutral gray, not blue-tinted
  • Verify "No skills selected" text is not italic
  • Inspect DOM for <main> element

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Style

    • Updated design color tokens and refined visual styling for badges, cards, and hover states
    • Removed italic formatting from empty state messaging
  • Refactor

    • Enhanced HTML markup with improved semantic structure

- Use on-palette gray-60 (#4d4d4d) for card hover border
- Remove italic from summary empty state (RH brand prohibits)
- Use semantic <main> element instead of <div> for container
- Rename --accent-hover to --accent-light for clarity

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Pavel Anni <[email protected]>
@coderabbitai

coderabbitai Bot commented Apr 29, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Updates CSS design tokens and styling in a demo HTML page, replacing the hover-accent token with a light-accent variant, adjusting card hover borders, removing italic styling, and converting the layout wrapper from a div to semantic main element.

Changes

Cohort / File(s) Summary
Demo Page Styling & Markup
docs/demo/index.html
Replaces --accent-hover token with --accent-light for badge and toggle hover states; adjusts .card:hover border color; removes italic styling from .summary-empty; upgrades layout wrapper from generic <div> to semantic <main> element.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: fixing brand compliance issues in the demo page CSS and HTML structure.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/demo-brand-compliance

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pavelanni
pavelanni merged commit d841cb9 into main Apr 29, 2026
5 checks passed
@pavelanni
pavelanni deleted the fix/demo-brand-compliance branch April 29, 2026 16:40
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