Skip to content

use-contrast

0.0.1 Versioned crate with live registry and docs.rs links.

use-contrast belongs to the use-accessibility facade.

Package links

Facade placement

Use use-contrast directly when you want a narrower dependency surface than the use-accessibility facade. It remains part of the current crate inventory for this facade.

RustDocs

This crate uses a stable RustUse RustDocs route alongside the workspace Rustdocs bundle.

Copyable source

Copy use-contrast into your codebase

Copy the current use-contrast source bundle or inspect the files behind the stable RustUse docs surface for this crate.

Cargo.toml

2 files TOML

Browse crate files
            [package]
name = "use-contrast"
description = "Primitive contrast-ratio helpers"
publish = true
authors.workspace = true
version.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
documentation = "https://docs.rs/use-contrast"
keywords = ["accessibility", "contrast", "color", "wcag"]
categories = ["algorithms", "science"]

[lints]
workspace = true
          

Tags

  • accessibility
  • contrast
  • color