API Reference excessibility_storybook v#0.1.0

Copy Markdown View Source

Modules

CSS color parsing and contrast math.

What a foreground/background pair is good for, under WCAG 2 and APCA.

A contrast matrix for a phoenix_storybook page story, one tab per theme.

An example story that inspects any component story's variations

Reads --color-* custom properties out of a stylesheet, grouped by the block that declares them (a daisyUI theme, :root, @theme, [data-theme=x], ...).