huevora 1.0.2 copy "huevora: ^1.0.2" to clipboard
huevora: ^1.0.2 copied to clipboard

A production-grade color engine for Dart. Derive complete design-system palettes from a single hex color, generate Material-style tonal palettes, validate contrast via APCA and WCAG 2.x, and export to [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add huevora

With Flutter:

 $ flutter pub add huevora

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  huevora: ^1.0.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:huevora/huevora.dart';
0
likes
140
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

A production-grade color engine for Dart. Derive complete design-system palettes from a single hex color, generate Material-style tonal palettes, validate contrast via APCA and WCAG 2.x, and export to JSON or plain text.

Repository (GitHub)
View/report issues
Contributing

Topics

#color #palette #contrast #accessibility #export

License

MIT (license)

Dependencies

material_color_utilities, meta, prism

More

Packages that depend on huevora