Skip to content

style: add color to dashboard workflow stats cards#314

Open
Nic13Gamer wants to merge 1 commit intoopenworkflowdev:mainfrom
Nic13Gamer:main
Open

style: add color to dashboard workflow stats cards#314
Nic13Gamer wants to merge 1 commit intoopenworkflowdev:mainfrom
Nic13Gamer:main

Conversation

@Nic13Gamer
Copy link

Summary

This PR adds some color to the background and border of the workflow stat cards. I think it makes it faster/easier to skim through and find the info you need.

image

Changes

  • Added class with color class-names to stats array in <WorkflowStats />

Observations

I also tried adding color to the icons, but found it too much, let me know if you would like it though.

Also removed the border- color classes from the card. Apparently shadcn/ui now uses ring- for the card primitive, I don't know why not use border though, to be honest.

Copilot AI review requested due to automatic review settings February 15, 2026 19:48
Copy link

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 enhances the visual design of workflow statistics cards by adding semantic color coding to differentiate between different workflow states. Each status card now has a subtle colored background and ring border that matches its semantic meaning (e.g., warning for pending, success for completed, destructive for failed).

Changes:

  • Added optional class property to workflow stats array with semantic color classes for background and ring borders
  • Refactored className construction to use the cn utility instead of template strings
  • Removed deprecated border classes in favor of ring classes that align with the Card component's defaults

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

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

Comments