Skip to content

Commit

Permalink
fix(theme-tool): add theme-tool.d.ts for tinyOldTheme vars (#2795)
Browse files Browse the repository at this point in the history
* fix(theme-tool): add theme-tool.d.ts for tinyOldTheme vars

* fix(theme): update version
  • Loading branch information
shenjunjian authored and zzcr committed Jan 13, 2025
1 parent 7bfb33b commit 3bf6cb9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/theme/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@opentiny/vue-theme",
"type": "module",
"version": "3.21.0",
"version": "3.21.1",
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
"author": "OpenTiny Team",
"license": "MIT",
Expand Down
4 changes: 4 additions & 0 deletions packages/theme/src/theme-tool.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ interface ThemeData {
css?: string
}

declare const tinyOldTheme: ThemeData
declare const tinyAuroraTheme: ThemeData

export { tinyOldTheme, tinyAuroraTheme }
/**
* 动态切换文档或影子根节点的样式类
* @example
Expand Down

0 comments on commit 3bf6cb9

Please sign in to comment.