chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-12 09:29:10 +00:00
parent f35bb5184c
commit bf4c647653

View File

@ -19,12 +19,7 @@ function resolveGreyRef(value: V2ColorValue, primitives: Record<string, V2ColorV
return hex
}
function pickGrey(
primitives: Record<string, V2ColorValue>,
background: HexColor,
minContrast: number,
target: number,
) {
function pickGrey(primitives: Record<string, V2ColorValue>, background: HexColor, minContrast: number, target: number) {
const matches = GREY_STEPS.filter((step) => {
const hex = greyHex(primitives, step)
return hex && contrastRatio(hex, background) >= minContrast