Dax Raad 3 ماه پیش
والد
کامیت
65d0b3ed6d
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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>