Skip to content

Replace inline pink color with reusable .btn-prompting CSS class on prompting agent pages#6

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

Replace inline pink color with reusable .btn-prompting CSS class on prompting agent pages#6
pournasserian merged 2 commits into
ui-enhancementfrom
copilot/sub-pr-1-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 12, 2026

Prompting-strategy agent pages (Agent17–23) were using a hard-coded #e83e8c inline style for their primary Submit button, bypassing the project's CSS variable system.

Changes

  • app.css — Added .btn-prompting, .btn-prompting:hover, and .btn-prompting:disabled rules in the Buttons section, backed by var(--color-cat-prompting):
    .btn-prompting {
        background-color: var(--color-cat-prompting);
        border-color: #c72d7c;
        color: var(--color-white);
        ...
    }
  • Agent17–23.razor — Replaced inline style="background-color:#e83e8c;color:white;" with class="btn btn-prompting" on each Submit button.

💡 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.

…gent pages

Co-authored-by: pournasserian <24959477+pournasserian@users.noreply.github.com>
Copilot AI changed the title [WIP] [WIP] Address feedback on CSS variables and redesign of agent pages Replace inline pink color with reusable .btn-prompting CSS class on prompting agent pages Mar 12, 2026
@pournasserian pournasserian marked this pull request as ready for review March 12, 2026 00:42
@pournasserian pournasserian merged commit e8d79f8 into ui-enhancement Mar 12, 2026
@pournasserian pournasserian deleted the copilot/sub-pr-1-again branch March 12, 2026 00:43
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