Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: android/compose-samples
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: android/compose-samples
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feature/preview-wrapper
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 28 files changed
  • 1 contributor

Commits on Mar 13, 2026

  1. Configuration menu
    Copy the full SHA
    c720861 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a6bcb8 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2026

  1. Refactor Jetsnack theme to use a unified JetsnackTheme class 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.
    riggaroo committed Mar 16, 2026
    Configuration menu
    Copy the full SHA
    f89e380 View commit details
    Browse the repository at this point in the history
  2. Run Spotless

    riggaroo committed Mar 16, 2026
    Configuration menu
    Copy the full SHA
    6a3885c View commit details
    Browse the repository at this point in the history
  3. 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.
    riggaroo committed Mar 16, 2026
    Configuration menu
    Copy the full SHA
    169312e View commit details
    Browse the repository at this point in the history
  4. Rename AppStyles to Styles and 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`.
    riggaroo committed Mar 16, 2026
    Configuration menu
    Copy the full SHA
    2e57f91 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2026

  1. Configuration menu
    Copy the full SHA
    b733ea8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d116df3 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2026

  1. Simplify button definition.

    riggaroo committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    252b8f7 View commit details
    Browse the repository at this point in the history
  2. Simplify button definition.

    riggaroo committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    8ca8c34 View commit details
    Browse the repository at this point in the history
  3. Add minSize to the Button

    riggaroo committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    bf00df6 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2026

  1. Add PreviewWrapper.kt

    riggaroo committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    8d4514e View commit details
    Browse the repository at this point in the history
Loading