library: new effect module.#321
Open
HChenX wants to merge 5 commits into
Open
Conversation
- Introduced `ContainerHighlight` for responsive highlights based on container size and device tilt. - Added `HighlightConfig` for managing highlight presets based on container size and theme. - Implemented `CombinedBackdrop` to layer multiple backdrops for enhanced visual effects. - Created `InnerShadow` modifier for simulating inner shadows within shapes. - Developed `Lens` effect for rounded-rectangle refraction with optional chromatic aberration. - Added `Vibrancy` effect to enhance backdrop color saturation, mimicking liquid glass aesthetics.
# Conflicts: # docs/.vitepress/locales/en_US.ts # docs/.vitepress/locales/zh_CN.ts # example/shared/build.gradle.kts # example/shared/src/commonMain/kotlin/component/liquid/LiquidGlassNavigationBar.kt # settings.gradle.kts
Introduce the background effect system, providing an animated gradient background using GPU-accelerated shaders. - Add `BgEffectBackground` composable for rendering animated gradients with Perlin noise and color cycling. - Add `DeviceType` enum to support different device form factors (PHONE, PAD). - Add `Compat.kt` to provide deprecated typealiases and a compatibility layer for the new package structure. - Implement graceful degradation for platforms without runtime shader support.
Move `BgEffectBackground` and `DeviceType` from the root `effect` package to the `effect.bg` subpackage to improve modularity and prepare for future effect types. - Relocate `BgEffectBackground` and `DeviceType` to `top.yukonga.miuix.kmp.effect.bg` - Update imports in `example/shared` and documentation - Update `miuix-effect/build.gradle.kts` with toolchain, spotless, and source set hierarchy - Update `CLAUDE.md` and guide documentation to reflect new package structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.