Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

Retrieve macOS accent color #42

Merged
merged 13 commits into from
May 25, 2022
Merged

Conversation

ebraminio
Copy link
Contributor

@ebraminio ebraminio commented May 24, 2022

This introduces getControlAccentColor and implements it in macOS.

Fixes material-foundation/flutter-packages#338

Guess some API reimagination would be needed but at least it works I can say,

Screen Shot 2022-05-24 at 6 47 55 PM

This introduces getControlAccentColor and implements it in macOS.
example/pubspec.lock Outdated Show resolved Hide resolved
lib/src/dynamic_color_builder.dart Outdated Show resolved Hide resolved
lib/src/dynamic_color_builder.dart Outdated Show resolved Hide resolved
lib/src/dynamic_color_builder.dart Outdated Show resolved Hide resolved
lib/src/dynamic_color_plugin.dart Show resolved Hide resolved
lib/src/dynamic_color_plugin.dart Outdated Show resolved Hide resolved
lib/src/dynamic_color_plugin.dart Outdated Show resolved Hide resolved
lib/src/dynamic_color_builder.dart Outdated Show resolved Hide resolved
@guidezpl
Copy link
Contributor

guidezpl commented May 24, 2022

Thanks for the PR! We'll need to update the README.

pubspec.yaml Show resolved Hide resolved
@ebraminio
Copy link
Contributor Author

Partially addressed some of the reviews hopefully, 14c65f5

@guidezpl
Copy link
Contributor

Looking close. You'll also want to create a small example and tests so that the functionality you're adding can't be broken in the future.

@ebraminio
Copy link
Contributor Author

ebraminio commented May 24, 2022

You'll also want to create a small example and tests so that the functionality you're adding can't be broken in the future.

Done hopefully.

Copy link
Contributor

@guidezpl guidezpl left a comment

Choose a reason for hiding this comment

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

  _    ___ _____ __  __ 
 | |  / __|_   _|  \/  |
 | |_| (_ | | | | |\/| |
 |____\___| |_| |_|  |_|
                        

I made small updates for consistency, and bumped the version to 1.3.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Retrieve macOS accent colors
2 participants