@opencode/theme 2.0.14 → 2.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tui/index.d.ts +3 -3
- package/dist/tui/index.js +3 -3
- package/dist/tui/resolve.d.ts +2115 -0
- package/dist/tui/resolve.js +35 -11
- package/dist/tui/schema.d.ts +62 -147
- package/dist/tui/schema.js +14 -18
- package/dist/tui/types.d.ts +3 -3
- package/dist/tui/v1-migrate.js +12 -5
- package/package.json +1 -1
- package/dist/tui/categorical.d.ts +0 -1
- package/dist/tui/categorical.js +0 -1
package/dist/tui/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { ActionState, type ActionStateKey, ActionVariant,
|
|
1
|
+
export { ActionState, type ActionStateKey, ActionVariant, BaseThemeDefinition, CategoricalDefinition, FeedbackKind, FormfieldState, type FormfieldStateKey, HueName, HueStep, MarkdownDefinition, MarkdownToken, ModeDefinition, SurfaceName, SyntaxDefinition, SyntaxToken, ThemeDefinition, ThemeDocument, type BackgroundDefinition, type DiffDefinition, type FormfieldColorDefinition, type HueDefinition, type Mode, type SemanticHue, type StatefulColorDefinition, type TextDefinition, type ThemeTokensDefinition, } from "./schema.js";
|
|
2
2
|
export type { ActionStates, Categorical, FormfieldColor, Hue, HueSource, HueScale, ResolvedActionState, ResolvedFormfieldState, ResolvedTheme, ResolvedThemeTokens, StatefulColor, } from "./types.js";
|
|
3
|
-
export {
|
|
3
|
+
export { rgbToOklch } from "./color.js";
|
|
4
4
|
export { expandTheme } from "./expand.js";
|
|
5
5
|
export { migrateV1 } from "./v1-migrate.js";
|
|
6
|
-
export { resolveTheme, resolveThemeDocument, themeDecodeError } from "./resolve.js";
|
|
6
|
+
export { parseThemeDocument, resolveTheme, resolveThemeDocument, themeDecodeError } from "./resolve.js";
|
|
7
7
|
export { selectTheme, selectThemeMode, supportsThemeMode, themeModes } from "./select.js";
|
|
8
8
|
export { generateSyntax } from "./syntax.js";
|
package/dist/tui/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ActionState, ActionVariant,
|
|
2
|
-
export {
|
|
1
|
+
export { ActionState, ActionVariant, BaseThemeDefinition, CategoricalDefinition, FeedbackKind, FormfieldState, HueName, HueStep, MarkdownDefinition, MarkdownToken, ModeDefinition, SurfaceName, SyntaxDefinition, SyntaxToken, ThemeDefinition, ThemeDocument, } from "./schema.js";
|
|
2
|
+
export { rgbToOklch } from "./color.js";
|
|
3
3
|
export { expandTheme } from "./expand.js";
|
|
4
4
|
export { migrateV1 } from "./v1-migrate.js";
|
|
5
|
-
export { resolveTheme, resolveThemeDocument, themeDecodeError } from "./resolve.js";
|
|
5
|
+
export { parseThemeDocument, resolveTheme, resolveThemeDocument, themeDecodeError } from "./resolve.js";
|
|
6
6
|
export { selectTheme, selectThemeMode, supportsThemeMode, themeModes } from "./select.js";
|
|
7
7
|
export { generateSyntax } from "./syntax.js";
|