Skip to content

Conversation

@tigert
Copy link
Contributor

@tigert tigert commented Dec 24, 2025

We use solid buttons for action things (like the + for tabs and for creating new project etc) - style the "add new input/output config" -buttons the same way. This is less distracting especially on dark mode where one migh seek for a muted visual style.

Light:
image

Dark:
image

Using the -900 variant of the pink and teal colors for muted appearance on dark mode.

Copilot AI review requested due to automatic review settings December 24, 2025 13:59
@tigert tigert requested a review from DocMoebiuz as a code owner December 24, 2025 13:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the visual styling of "add" buttons for input/output configurations, changing them from outlined buttons to solid buttons for a cleaner, less distracting appearance—particularly beneficial in dark mode.

  • Removed variant="outline" prop from both buttons
  • Applied solid background colors with dark mode variants for pink and teal buttons
  • Updated hover states for both light and dark modes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<Button
variant={"outline"}
className="border-pink-600 text-pink-600 hover:bg-pink-600 hover:text-white"
className="bg-pink-600 dark:bg-pink-900 text-white hover:bg-pink-600 dark:hover:bg-pink-700"
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hover state hover:bg-pink-600 is the same as the default background color bg-pink-600 in light mode, which means there will be no visual feedback on hover. Consider using a lighter or darker shade like hover:bg-pink-700 or hover:bg-pink-500 for the light mode hover state to provide clear interactive feedback to users.

Copilot uses AI. Check for mistakes.
<Button
variant={"outline"}
className="border-teal-600 text-teal-600 hover:bg-teal-600 hover:text-white"
className="bg-teal-600 dark:bg-teal-900 text-white hover:bg-teal-600 dark:hover:bg-teal-700"
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hover state hover:bg-teal-600 is the same as the default background color bg-teal-600 in light mode, which means there will be no visual feedback on hover. Consider using a lighter or darker shade like hover:bg-teal-700 or hover:bg-teal-500 for the light mode hover state to provide clear interactive feedback to users.

Suggested change
className="bg-teal-600 dark:bg-teal-900 text-white hover:bg-teal-600 dark:hover:bg-teal-700"
className="bg-teal-600 dark:bg-teal-900 text-white hover:bg-teal-700 dark:hover:bg-teal-700"

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

Build for this pull request:
MobiFlightConnector.zip

@github-actions
Copy link

Build for this pull request:
MobiFlightConnector.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants