Skip to main content

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

Zero-dependency sRGB and OKLCH color conversions and WCAG 2.1 accessibility contrast calculation.

1.0.2 #

  • Migrate repository links, issue tracker, and ReadTheDocs API documentation URL to sunasty-labs/color-math-dart.
  • Floor 2-decimal WCAG 2.1 contrast ratio rounding so sub-threshold ratios never round up into passing conformance.
  • Add automated GitHub Actions CI (dart analyze, dart test, dart pub publish --dry-run).

1.0.1 #

  • Add comprehensive example/ usage code for OKLCH conversion, hex parsing, and WCAG 2.1 contrast calculation.
  • Documentation and score optimizations for pub.dev points.

1.0.0 #

  • Initial stable release.
  • Zero-dependency sRGB and OKLCH color space conversions.
  • WCAG 2.1 relative luminance and contrast ratio calculations.
  • Full DartDoc documentation and unit test suite.
0
likes
160
points
149
downloads

Documentation

Documentation
API reference

Publisher

verified publishersunasty.com

Weekly Downloads

Zero-dependency sRGB and OKLCH color conversions and WCAG 2.1 accessibility contrast calculation.

Homepage
Repository (GitHub)
View/report issues

Topics

#color #oklch #wcag #accessibility #contrast

License

MIT (license)

More

Packages that depend on sunasty_color_math