Closed kazaky closed 5 days ago
@coderabbitai summary
The changes in this update primarily enhance the Snackbar component in the Spark module by refining its UI, accessibility, and interaction. The introduction of ghostIconButtonColorsForSnackbar
defines specific icon button colors for Snackbars. Adjustments to Snackbar.kt
include using SparkIconButton
and modifying shapes for improved styling. Additionally, new string resources for closing the Snackbar were added in English, German, and French locales for better accessibility.
File(s) | Change Summary |
---|---|
.../components/iconbuttons/IconButtonDefaults.kt |
Added imports and defined ghostIconButtonColorsForSnackbar for styling Snackbar icon buttons. |
.../components/snackbars/Snackbar.kt |
Removed old imports, added new ones, switched IconButton with SparkIconButton , and updated shapes and function parameters. |
.../res/values-de/strings.xml |
Added new string resource spark_a11y_snackbar_close for the German locale. |
.../res/values-fr/strings.xml |
Added new string resource spark_a11y_snackbar_close for the French locale. |
.../res/values/strings.xml |
Added new string resource spark_a11y_snackbar_close for the English locale. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Fix Icon Button ripple color, Snackbar border radius
Summary by CodeRabbit
New Features
Refactor
Accessibility