Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add hovereffect size #122

Merged
merged 2 commits into from
Oct 30, 2024
Merged

add hovereffect size #122

merged 2 commits into from
Oct 30, 2024

Conversation

Commander07
Copy link
Contributor

This PR adds an alternate style for hovered buttons.

Changes

  • hovereffect is no longer a boolean but a string corresponding to a hover effect (glow, size). Deafault is glow
  • hovereffect is now disabled by leaving it blank or setting it to an unsupported value.
  • Added the size hover effect which scales hovered buttons
  • Added hover_button_size which is the scale applied to hovered buttons when hovereffect is set to size. Default is 115%

Preview

demo.mp4

@Samillion
Copy link
Owner

That is absolutely beautiful. I've changed it so that hovereffect size is default. Thank you very much.

@Samillion Samillion merged commit 5170a41 into Samillion:main Oct 30, 2024
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.

None yet

2 participants