feat(theme): extract TUI theme package (#39378)

This commit is contained in:
James Long 2026-07-28 14:14:39 -04:00 committed by GitHub
commit c445d98188
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 419 additions and 235 deletions

View file

@ -2,10 +2,9 @@
import { testRender } from "@opentui/solid"
import { expect, test } from "bun:test"
import { RGBA } from "@opentui/core"
import { DEFAULT_THEME, selectTheme } from "@opencode-ai/theme/tui"
import { createTuiResolvedConfig } from "../../fixture/tui-runtime"
import { DEFAULT_THEMES } from "../../../src/theme"
import { DEFAULT_THEME } from "../../../src/theme/v2/defaults"
import { selectTheme } from "../../../src/theme/v2/select"
import { ConfigProvider } from "../../../src/config"
import { ThemeProvider, useTheme, type ThemeError } from "../../../src/context/theme"