forked from material-foundation/material-color-utilities
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update to latest version #1
Open
macintoshhelper
wants to merge
210
commits into
elemental-design:main
Choose a base branch
from
material-foundation:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
PiperOrigin-RevId: 411850505
PiperOrigin-RevId: 412053315
PiperOrigin-RevId: 412058475
PiperOrigin-RevId: 412209240
PiperOrigin-RevId: 413659717
PiperOrigin-RevId: 415260604
PiperOrigin-RevId: 416516850
PiperOrigin-RevId: 418938494
PiperOrigin-RevId: 419805269
PiperOrigin-RevId: 420702167
PiperOrigin-RevId: 423342716
PiperOrigin-RevId: 425356495
PiperOrigin-RevId: 426156021
PiperOrigin-RevId: 426156263
PiperOrigin-RevId: 426166790
PiperOrigin-RevId: 426167014
PiperOrigin-RevId: 427198644
PiperOrigin-RevId: 427554598
PiperOrigin-RevId: 427737651
PiperOrigin-RevId: 427737685
PiperOrigin-RevId: 428504759
PiperOrigin-RevId: 428846248
PiperOrigin-RevId: 429104528
PiperOrigin-RevId: 430482383
PiperOrigin-RevId: 433220643
PiperOrigin-RevId: 435282593
PiperOrigin-RevId: 439868259
PiperOrigin-RevId: 440100018
PiperOrigin-RevId: 440304720
PiperOrigin-RevId: 625311264
PiperOrigin-RevId: 636821675
…o load in the `sourceColorFromImage` function. PiperOrigin-RevId: 641731057
PiperOrigin-RevId: 642276412
PiperOrigin-RevId: 646083450
PiperOrigin-RevId: 646459177
PiperOrigin-RevId: 651393706
Currently DynamicScheme on all platforms except Java require Argb color as a parameter, however all child classes require Hct color. If originally the user has ARGB color (most common case) it causes two expensive ARGB -> HCT conversions: 1. One from ARGB to HCT to call specific scheme (for example TonalSpot) 2. Then TonalStop Scheme converts HCT color to ARGB and pass to DynamicScheme constructor 3. Then this constructor converts it again to HCT. PiperOrigin-RevId: 652412233
Currently on all platforms but Swift we always use hardcoded errorPalette, however swift allows to override it if needed. This change unifies behavior across platforms. PiperOrigin-RevId: 652418509
PiperOrigin-RevId: 652497532
Our goal is to maintain the library equal on every platform. Rgba representation is unique to TS implementation and is not widely used. So we remove it. Use `alphaFromArgb`, `blueFromArgb`, `greenFromArgb`, `redFromArgb` function instead. PiperOrigin-RevId: 653328840
…olor. This provider reduces overlapped computation by reusing tonal palettes. PiperOrigin-RevId: 653642125
PiperOrigin-RevId: 653910384
PiperOrigin-RevId: 653911055
PiperOrigin-RevId: 654643818
PiperOrigin-RevId: 654696575
PiperOrigin-RevId: 654708954
PiperOrigin-RevId: 654708967
PiperOrigin-RevId: 654721925
PiperOrigin-RevId: 655062539
PiperOrigin-RevId: 655062545
* Swift: Deprecate legacy CorePalette class, add CorePalettes protocol. * C++: Deprecate legacy CorePalette and Scheme classes, add CorePalettes interface. * Java: Mark legacy CorePalette deprecated, add CorePalettes class. * Dart: Mark legacy CorePalette deprecated, add CorePalettes class. * Typescript: Mark legacy CorePalette deprecated, add CorePalettes class. PiperOrigin-RevId: 655089821
PiperOrigin-RevId: 660387966
- Divide content into "Concepts" and "Dev Guide" sections. - Add conceptual overview for dynamic scheme, color extraction, contrast, and scheme generation. - Update dev guide for creating a color scheme with updated APIs. - Link to articles on https://m3.material.io/ when appropriate. PiperOrigin-RevId: 669221247
PiperOrigin-RevId: 670945518
PiperOrigin-RevId: 671651366
…unction to allow the code to be used seperately. PiperOrigin-RevId: 676602878
PiperOrigin-RevId: 680947447
PiperOrigin-RevId: 705080669
…ier instead of Function. PiperOrigin-RevId: 706666102
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.