Dax Raad hai 10 meses
pai
achega
65d0b3ed6d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      packages/opencode/src/cli/cmd/tui/context/theme.tsx

+ 2 - 2
packages/opencode/src/cli/cmd/tui/context/theme.tsx

@@ -72,11 +72,11 @@ type Theme = {
 
 
 type HexColor = `#${string}`
 type HexColor = `#${string}`
 type RefName = string
 type RefName = string
-type ColorModeObj = {
+type Variant = {
   dark: HexColor | RefName
   dark: HexColor | RefName
   light: HexColor | RefName
   light: HexColor | RefName
 }
 }
-type ColorValue = HexColor | RefName | ColorModeObj
+type ColorValue = HexColor | RefName | Variant
 type ThemeJson = {
 type ThemeJson = {
   $schema?: string
   $schema?: string
   defs?: Record<string, HexColor | RefName>
   defs?: Record<string, HexColor | RefName>