Skip to content

Add frosted glass blur effect to PvotNavBar#24

Open
Roniscend wants to merge 1 commit into
PVOT-OSS:mainfrom
Roniscend:Nav-Blur
Open

Add frosted glass blur effect to PvotNavBar#24
Roniscend wants to merge 1 commit into
PVOT-OSS:mainfrom
Roniscend:Nav-Blur

Conversation

@Roniscend
Copy link
Copy Markdown

@Roniscend Roniscend commented Apr 21, 2026

Fixes : #13

Copilot AI review requested due to automatic review settings April 21, 2026 20:00
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a frosted-glass blur effect to PvotNavBar by integrating the Haze library and wiring a shared HazeState from the app screen content into the nav bar.

Changes:

  • Add Haze and Haze Materials dependencies via version catalog and module Gradle files.
  • Extend PvotNavBar with an optional hazeState parameter and apply hazeChild styling when provided.
  • Update MainActivity showcase to create/remember a HazeState, apply .haze(...) to content, and pass the state into PvotNavBar.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
gradle/libs.versions.toml Adds Haze dependency coordinates to the version catalog.
design-system/.../PvotNavBar.kt Adds optional haze support to the nav bar surface via hazeChild and transparent container.
design-system/build.gradle.kts Pulls in Haze dependencies for the design-system module.
app/src/main/.../MainActivity.kt Demonstrates haze usage by applying .haze(...) to content and passing HazeState to the nav bar.
app/build.gradle.kts Pulls in Haze dependencies for the app module (needed for direct usage in MainActivity).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread design-system/build.gradle.kts Outdated
Comment thread app/build.gradle.kts Outdated
Signed-off-by: Owm Dubey <owmdubey163@gmail.com>
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.

feat: Blur in pvotNavBar

2 participants