Skip to content

Conversation

@wxxsfxyzm
Copy link
Contributor

No description provided.

This commit updates the color mappings to align with Material Design 3.

- In `Material3Mapping.kt`, `tertiaryContainer` and `onTertiaryContainer` are now mapped directly to the Material 3 `tertiaryContainer` and `onTertiaryContainer` colors, respectively.
- In `SuperSpinner.kt`, the default `containerColor` for `dialogSpinnerColors` is changed to `Color.Transparent`.
@wxxsfxyzm wxxsfxyzm changed the title library: add shadow to color picker indicator library: add shadow to color picker indicator and opt Spinner as Dialog Nov 15, 2025
@YuKongA YuKongA requested a review from Copilot November 15, 2025 04:04
Copy link

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 adds visual enhancements to the color picker components and updates the dialog spinner styling. The changes improve the appearance of color selection indicators by adding shadow effects and optimize the Spinner component for use in dialogs.

  • Adds shadow/glow effects to color picker and palette selection indicators
  • Updates Material3 color mapping to use proper tertiary container colors
  • Changes dialog spinner container background to transparent

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/theme/Material3Mapping.kt Updates tertiary container color mapping to use proper Material3 tertiary colors instead of primary container
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/extra/SuperSpinner.kt Changes dialog spinner default container color from surface variant to transparent
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic/ColorPicker.kt Replaces simple border with custom shadow rendering using radial gradient for slider indicator
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic/ColorPalette.kt Replaces simple border with custom shadow rendering using radial gradient for palette indicator

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

…al3Mapping.kt

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@YuKongA YuKongA merged commit 243a2d5 into compose-miuix-ui:main Nov 15, 2025
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.

2 participants