Explorar el Código

chore: generate

opencode-agent[bot] hace 2 meses
padre
commit
bf4c647653
Se han modificado 1 ficheros con 1 adiciones y 6 borrados
  1. 1 6
      packages/ui/src/theme/v2/foreground.ts

+ 1 - 6
packages/ui/src/theme/v2/foreground.ts

@@ -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