huevora 1.0.2+1 copy "huevora: ^1.0.2+1" to clipboard
huevora: ^1.0.2+1 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 [...]

140/ 160
pub points
0
downloads

We analyzed this package 35 hours ago, and awarded it 140 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Documentation URL doesn't exist.

At the time of the analysis https://pub.dev/documentation/huevora/latest was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

119 out of 141 API elements (84.4 %) have documentation comments.

Some symbols that are missing documentation: huevora.ApcaUsageLevel.description, huevora.ApcaUsageLevel.fromAbsoluteLc, huevora.ColorEngine, huevora.ContrastEngine.ContrastEngine.new, huevora.ContrastResult.ContrastResult.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 10 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/src/api/color_engine.dart:1:1

  ╷
1 │ /// Primary public API for palette derivation and color-space conversion.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/api/color_engine.dart

INFO: The import of 'package:huevora/src/models/core_palette.dart' is unnecessary because all of the used elements are also provided by the import of 'package:huevora/huevora.dart'.

lib/src/api/color_engine.dart:25:8

   ╷
25 │ import 'package:huevora/src/models/core_palette.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/api/color_engine.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
material_color_utilities ^0.13.0 0.13.0 0.13.0
meta ^1.18.2 1.18.3 1.18.3
prism ^2.1.0 2.1.0 2.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.12, Dart 3.12.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
0
downloads

Documentation

API reference

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