-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Comparing changes
Open a pull request
base repository: android/compose-samples
base: main
head repository: android/compose-samples
compare: feature/styles-swipe-item-background
- 9 commits
- 26 files changed
- 1 contributor
Commits on Mar 13, 2026
-
Configuration menu - View commit details
-
Copy full SHA for c720861 - Browse repository at this point
Copy the full SHA c720861View commit details -
Migrate Text() to a new JetsnackText() composable instead, to be able…
… to use Styles API.
Configuration menu - View commit details
-
Copy full SHA for 5a6bcb8 - Browse repository at this point
Copy the full SHA 5a6bcb8View commit details
Commits on Mar 16, 2026
-
Refactor Jetsnack theme to use a unified
JetsnackThemeclass and on……e `CompositionLocal`. - Deleted `CompositionLocals.kt` which used reflection to access internal Material 3 locals. - Introduced `JetsnackTheme` class to encapsulate `JetsnackColors`, `Typography`, `Shapes`, and `AppStyles`. - Replaced individual `LocalJetsnackColors`, `LocalAppStyles`, and Material 3 `LocalTypography`/`LocalShapes` lookups with `JetsnackTheme.colors`, `JetsnackTheme.typography`, etc. - Added a `StyleScope.currentJetsnackTheme` helper to provide easy access to the theme within `Style` blocks. - Moved `JetsnackColors` and color palette definitions to `Color.kt`. - Updated `debugColors` to include newer Material 3 color roles.
Configuration menu - View commit details
-
Copy full SHA for f89e380 - Browse repository at this point
Copy the full SHA f89e380View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a3885c - Browse repository at this point
Copy the full SHA 6a3885cView commit details -
Rename and refactor UI components and theme accessors.
- Rename `JetsnackButton`, `JetsnackSurface`, and `JetsnackText` to `Button`, `Surface`, and `Text`. - Rename `jetsnackTextStyle` to `textStyleWithFontFamilyFix`. - Replace `currentJetsnackTheme` with direct `colors`, `typography`, and `shapes` accessors within `StyleScope`. - Update `AppStyles` to use the new theme accessors and refined padding properties. - Add a ripple indication to the base `Button` component.
Configuration menu - View commit details
-
Copy full SHA for 169312e - Browse repository at this point
Copy the full SHA 169312eView commit details -
Rename
AppStylestoStylesand refactor styling in components- Rename `AppStyles` data class to `Styles` and update all references in `JetsnackTheme`. - Update `JetsnackCard`, `JetsnackDivider`, `JetsnackButton`, and other components to use the renamed `styles` property. - Move border and size styling from `Modifier` to `Style` in `SnackHighlight` cards. - Remove unused `HorizontalDivider` import and clean up styling logic in `Text.kt`.
Configuration menu - View commit details
-
Copy full SHA for 2e57f91 - Browse repository at this point
Copy the full SHA 2e57f91View commit details
Commits on Mar 17, 2026
-
Configuration menu - View commit details
-
Copy full SHA for b733ea8 - Browse repository at this point
Copy the full SHA b733ea8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d116df3 - Browse repository at this point
Copy the full SHA d116df3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69ac112 - Browse repository at this point
Copy the full SHA 69ac112View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...feature/styles-swipe-item-background