@deot/docs-theme 1.1.5 → 1.2.0
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/package.json +1 -1
- package/dist/index.cjs +0 -12
package/package.json
CHANGED
package/dist/index.cjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
//#region packages/theme/src/index.ts
|
|
3
|
-
var DOCS_THEMES = ["light", "dark"];
|
|
4
|
-
/**
|
|
5
|
-
* 判断外部配置或持久化数据是否属于主题协议。
|
|
6
|
-
* @param value 待检查的外部值。
|
|
7
|
-
* @returns 是否为受支持的主题值。
|
|
8
|
-
*/
|
|
9
|
-
var isDocsTheme = (value) => DOCS_THEMES.includes(value);
|
|
10
|
-
//#endregion
|
|
11
|
-
exports.DOCS_THEMES = DOCS_THEMES;
|
|
12
|
-
exports.isDocsTheme = isDocsTheme;
|