-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Calculate theme colors from an ImageBitmap #95
Merged
Conversation
This file contains 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
Base automatically changed from
feature/additional-color-functionality
to
release/1.4.0
February 2, 2024 16:35
Merged
jordond
added a commit
that referenced
this pull request
Feb 15, 2024
* Chore: Update Compose Multiplatform to 1.6.0-alpha01 (#74) * update compose-multiplatform to 1.6.0-beta01 and kotlin 1.9.22 * Chore: Kotlin 1.9.22 & Compose 1.6.0-beta01 (#81) * Feature: Add `rememberDynamicColorScheme` Composable (#83) fixes #84 * Fix: Demo (#85) * Chore: Cleanup of codebase (#92) * Feature: Add extended fidelity (#93) * Feature: Add ability to harmonize colors (#94) * Feature: Calculate theme colors from an ImageBitmap (#95) * add ability to calculate ui colors from an image * update documentation * Chore: Enable explicit API on material-color-utilities (#96) * enable explicit api * Feature: Color extensions for contrast (#98) * Feature: Add Poko to public classes (#99) * Feature: Add extensions for contrast and blending (#100) * add extensions for contrast and blending * add extension to CorePalette to match TonePalette * add contrast values * Feature: Deprecate AnimatedDynamicTheme, add animate to DynamicMaterialTheme (#103) * add function to check contrast * bump compose to 1.6.0-rc01
fbarthelery
pushed a commit
to fbarthelery/MaterialKolor
that referenced
this pull request
Mar 1, 2024
* Chore: Update Compose Multiplatform to 1.6.0-alpha01 (jordond#74) * update compose-multiplatform to 1.6.0-beta01 and kotlin 1.9.22 * Chore: Kotlin 1.9.22 & Compose 1.6.0-beta01 (jordond#81) * Feature: Add `rememberDynamicColorScheme` Composable (jordond#83) fixes jordond#84 * Fix: Demo (jordond#85) * Chore: Cleanup of codebase (jordond#92) * Feature: Add extended fidelity (jordond#93) * Feature: Add ability to harmonize colors (jordond#94) * Feature: Calculate theme colors from an ImageBitmap (jordond#95) * add ability to calculate ui colors from an image * update documentation * Chore: Enable explicit API on material-color-utilities (jordond#96) * enable explicit api * Feature: Color extensions for contrast (jordond#98) * Feature: Add Poko to public classes (jordond#99) * Feature: Add extensions for contrast and blending (jordond#100) * add extensions for contrast and blending * add extension to CorePalette to match TonePalette * add contrast values * Feature: Deprecate AnimatedDynamicTheme, add animate to DynamicMaterialTheme (jordond#103) * add function to check contrast * bump compose to 1.6.0-rc01
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.
The
material-color-utilities
has support for quantizing an image and scoring the suitability for use in a UI theme.This PR adds support for that as a couple extensions on
ImageBitmap
and some@Composable
functions.