roundel
API reference

roundel

Every export of roundel, with its signature and doc comment: channels, luminance, contrast, reportTheme, AA, AAA and 27 more, plus 17 types.

roundel — the colours a CLI carries. Re-exports only; each subpath is its own entry and costs only itself (R7), so prefer roundel/tokens when that is all you need.

import { channels, luminance, contrast, … } from 'roundel';

Exports

Documented on the page of the entry point that declares them.

ExportKindDocumented in
auditfunctionroundel/theme
channelsfunctionroundel/contrast
colorLevelfunctionroundel/policy
contrastfunctionroundel/contrast
contributionsfunctionroundel/plugin
flyfunctionroundel/theme
luminancefunctionroundel/contrast
registerfunctionroundel/plugin
registeredfunctionroundel/plugin
reportThemefunctionroundel/contrast
resetfunctionroundel/plugin
rgb256functionroundel/theme
sgrfunctionroundel/tokens
themefunctionroundel/plugin
toOklabfunctionroundel/theme
validatefunctionroundel/plugin
PluginErrorclassroundel/plugin
AAconstroundel/contrast
AAAconstroundel/contrast
commandconstroundel/tokens
CONTRACTconstroundel/plugin
errorconstroundel/tokens
flagconstroundel/tokens
floorsconstroundel/contrast
flownconstroundel/policy
headingconstroundel/tokens
hintconstroundel/tokens
mutedconstroundel/tokens
okconstroundel/tokens
outputModeconstroundel/policy
round2constroundel/contrast
valueconstroundel/tokens
warnconstroundel/tokens
Contributioninterfaceroundel/plugin
ModeOptionsinterfaceroundel/policy
Plugininterfaceroundel/plugin
Runtimeinterfaceroundel/policy
SgrPairinterfaceroundel/tokens
ThemeFindinginterfaceroundel/contrast
ColorLeveltyperoundel/policy
Conformancetyperoundel/contrast
Formattyperoundel/policy
Hextyperoundel/theme
OutputModetyperoundel/policy
Painttyperoundel/policy
PluginErrorCodetyperoundel/plugin
Styletyperoundel/theme
Themetyperoundel/theme
Tokentyperoundel/tokens
TokenNametyperoundel/policy

On this page