diff options
| author | Adam <[email protected]> | 2025-12-28 10:21:32 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-28 10:21:32 -0600 |
| commit | 040939fb720f8666eaee3d3b1866fe84e40151ca (patch) | |
| tree | 744ff5e64dd848eb7f5b5a6ec8d868ff72be93fc /packages/ui/src/theme/index.ts | |
| parent | f89b83a6d797568b1240c0c141db526e170c0299 (diff) | |
| download | opencode-040939fb720f8666eaee3d3b1866fe84e40151ca.tar.gz opencode-040939fb720f8666eaee3d3b1866fe84e40151ca.zip | |
chore: cleanup theme stuff
Diffstat (limited to 'packages/ui/src/theme/index.ts')
| -rw-r--r-- | packages/ui/src/theme/index.ts | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/packages/ui/src/theme/index.ts b/packages/ui/src/theme/index.ts index 49ab76b57..d8e0461be 100644 --- a/packages/ui/src/theme/index.ts +++ b/packages/ui/src/theme/index.ts @@ -1,20 +1,3 @@ -/** - * Desktop Theme System - * - * Provides JSON-based theming for the desktop app. Unlike TUI themes, - * desktop themes use more design tokens and generate full color scales - * from seed colors. - * - * Usage: - * ```ts - * import { applyTheme } from "@opencode/ui/theme" - * import myTheme from "./themes/my-theme.json" - * - * applyTheme(myTheme) - * ``` - */ - -// Types export type { DesktopTheme, ThemeSeedColors, @@ -26,7 +9,6 @@ export type { CssVarRef, } from "./types" -// Color utilities export { hexToRgb, rgbToHex, @@ -43,16 +25,10 @@ export { withAlpha, } from "./color" -// Theme resolution export { resolveThemeVariant, resolveTheme, themeToCss } from "./resolve" - -// Theme loader export { applyTheme, loadThemeFromUrl, getActiveTheme, removeTheme, setColorScheme } from "./loader" - -// Theme context (SolidJS) export { ThemeProvider, useTheme, type ColorScheme } from "./context" -// Default themes export { DEFAULT_THEMES, oc1Theme, |
