Skip to content

Move hero icon font-size from inline style to CSS design token#7

Merged
pournasserian merged 2 commits into
ui-enhancementfrom
copilot/sub-pr-1-another-one
Mar 12, 2026
Merged

Move hero icon font-size from inline style to CSS design token#7
pournasserian merged 2 commits into
ui-enhancementfrom
copilot/sub-pr-1-another-one

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 12, 2026

The hero banner's robot emoji used a hard-coded style="font-size:2.5rem;" inline, bypassing the design token system and making it un-themeable.

Changes

  • app.css — new token: Added --font-size-5xl: 2.5rem to the CSS custom properties scale
  • app.css — new class: Added .hero-icon { font-size: var(--font-size-5xl); } in the hero banner section
  • Home.razor: Replaced inline style with class="hero-icon"
- <span aria-hidden="true" style="font-size:2.5rem;">🤖</span>
+ <span aria-hidden="true" class="hero-icon">🤖</span>

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…oken

Co-authored-by: pournasserian <24959477+pournasserian@users.noreply.github.com>
Copilot AI changed the title [WIP] [WIP] Address feedback on CSS variables and agent page redesign Move hero icon font-size from inline style to CSS design token Mar 12, 2026
@pournasserian pournasserian marked this pull request as ready for review March 12, 2026 00:42
@pournasserian pournasserian merged commit 34266e1 into ui-enhancement Mar 12, 2026
@pournasserian pournasserian deleted the copilot/sub-pr-1-another-one branch March 12, 2026 00:42
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