Skip to content

Conversation

@nigellima
Copy link
Collaborator

fixes the button inconsistent focus ring compared to the core library. It also adds a transition of colors and ring

Summarize the changes made and the motivation behind them.
This PR fixes the button focus ring, which is currently inconsistent with the core library. The Button Group ring was wrongly overriding the ring-4 classes defined in the button themes.

Also, I took the opportunity to add a slight transition on the button colors/shadows to have the hover and the ring styles animated

button-ring

Reference related issues using # followed by the issue number.

If there are breaking API changes - like adding or removing props, or changing the structure of the theme - describe them, and provide steps to update existing code.

fixes the button inconsistent focus ring compared to the core library. It also adds a transition of colors and ring
@vercel
Copy link

vercel bot commented Jan 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
flowbite-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2024 9:08am
@codecov
Copy link

codecov bot commented Jan 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7461173) 99.54% compared to head (1d1cb47) 97.36%.
Report is 186 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@ ## main #1238 +/- ## ========================================== - Coverage 99.54% 97.36% -2.18%  ========================================== Files 163 214 +51 Lines 6621 9077 +2456 Branches 401 530 +129 ========================================== + Hits 6591 8838 +2247  - Misses 30 239 +209 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@SutuSebastian SutuSebastian left a comment

Choose a reason for hiding this comment

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

ggwp

@SutuSebastian SutuSebastian merged commit 406ebe5 into themesberg:main Jan 22, 2024
abdulbasithqb pushed a commit to abdulbasithqb/flowbite-react that referenced this pull request Jan 31, 2024
fix(button): fix button ring on focus fixes the button inconsistent focus ring compared to the core library. It also adds a transition of colors and ring
abdulbasithqb pushed a commit to abdulbasithqb/flowbite-react that referenced this pull request Jan 31, 2024
fix(button): fix button ring on focus fixes the button inconsistent focus ring compared to the core library. It also adds a transition of colors and ring
@github-actions github-actions bot mentioned this pull request Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants