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

Use Material Inkwell + Add related theme options #68

Closed
wants to merge 17 commits into from

Conversation

getBoolean
Copy link

@getBoolean getBoolean commented Jan 24, 2024

What's Changed

  • FEAT Use Material's InkWell instead of GestureDetector for SidebarXCell, which adds
    a default hover color and a splash animation when pressed.
  • FEAT Add toggleButtonDecoration, secondaryHoverColor, splashColor, selectedSplashColor,
    highlightColor, selectedHighlightColor, focusColor, and selectedFocusColor
    properties to SidebarXTheme
  • FEAT Enable default toggle button interaction colors hoverColor, highlightColor, and focusColor

Highlight, Focus, and Hover, and Splash colors
example_mibAfZ7NZN

Default toggle button is now improved for keyboard tab navigation
example_eWK8DLZ6FL

@getBoolean getBoolean marked this pull request as draft January 24, 2024 22:00
Except splash color, which I kept transparent because it does not animate
@getBoolean getBoolean marked this pull request as ready for review January 24, 2024 22:09
@getBoolean getBoolean changed the title Use Material Inkwell + Add selectedHoverColor Use Material Inkwell + Add related theme options Jan 25, 2024
@getBoolean
Copy link
Author

getBoolean commented Feb 15, 2024

Thanks for the approval. Before you merge, I just noticed a typo in the changelog. It should be selectedHoverColor instead of secondaryHoverColor

@getBoolean
Copy link
Author

Alright, I'm happy with the code now

@getBoolean
Copy link
Author

This is getting stale, so I'm going close the PR. Feel free to take any of the changes and incorporate them into the codebase when you have time.

@getBoolean getBoolean closed this Apr 26, 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