yaru_color_generator 0.1.0 copy "yaru_color_generator: ^0.1.0" to clipboard
yaru_color_generator: ^0.1.0 copied to clipboard

Generates full Material color palettes for Yaru from singular primary color values

Yaru Color Generator #

This package generates full Material color palettes for Yaru from singular primary color values using the same algorithm as the official Material color tool.

final color = generateYaruColor(0xFFE95420);
print(color.primary);
print(color.shades);
print(color[500]);

NOTE: This is a low-level pure Dart package with no dependency on Flutter. See yaru_colors for more convenient API for Flutter.

Usage #

To use this package, add yaru_color_generator as a dependency in your pubspec.yaml file.

References #

3
likes
130
pub points
5%
popularity

Publisher

verified publisherubuntu.com

Generates full Material color palettes for Yaru from singular primary color values

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MPL-2.0 (LICENSE)

Dependencies

collection, meta

More

Packages that depend on yaru_color_generator