readableOn
White or black, whichever reads better on `background`, else undefined. It reads hex (`#rgb`, `#rrggbb`, with or without alpha), `rgb()`/`rgba()` and `hsl()`/`hsla()` (alpha is ignored: the color as if opaque); a PlatformColor or a named color gives undefined.
packages/ui-native/src/tokens/contrast.ts
Import
Subpath export:
@marktiderman/genesis-ui-nativeimport { readableOn } from "@marktiderman/genesis-ui-native";Components
Auto-generated from TypeScript source via
react-docgen-typescript.readableOn
White or black, whichever reads better on `background`, else undefined. It reads hex (`#rgb`, `#rrggbb`, with or without alpha), `rgb()`/`rgba()` and `hsl()`/`hsla()` (alpha is ignored: the color as if opaque); a PlatformColor or a named color gives undefined.
No declared props.