Skip to content

Commit 3bf6cb9

Browse files
shenjunjianzzcr
authored andcommitted
fix(theme-tool): add theme-tool.d.ts for tinyOldTheme vars (#2795)
* fix(theme-tool): add theme-tool.d.ts for tinyOldTheme vars * fix(theme): update version
1 parent 7bfb33b commit 3bf6cb9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/theme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@opentiny/vue-theme",
33
"type": "module",
4-
"version": "3.21.0",
4+
"version": "3.21.1",
55
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
66
"author": "OpenTiny Team",
77
"license": "MIT",

packages/theme/src/theme-tool.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ interface ThemeData {
1717
css?: string
1818
}
1919

20+
declare const tinyOldTheme: ThemeData
21+
declare const tinyAuroraTheme: ThemeData
22+
23+
export { tinyOldTheme, tinyAuroraTheme }
2024
/**
2125
* 动态切换文档或影子根节点的样式类
2226
* @example

0 commit comments

Comments
 (0)