移动目录

This commit is contained in:
CrescentLeaf
2025-11-23 13:27:15 +08:00
parent f13623f4fc
commit 1cb8ac3fff
479 changed files with 49 additions and 49 deletions

View File

@@ -0,0 +1,15 @@
import type { CustomColor } from '../internal/colorScheme.js';
import type { JQ } from '@mdui/jq/shared/core.js';
/**
* 在指定元素上设置配色方案
* @param hex 十六进制颜色值,如 #f82506
* @param options
* @param options.target 要设置配色方案的元素。可以是 CSS 选择器、DOM 元素、或 JQ 对象。默认为 `<html>` 元素
* @param options.customColors 自定义颜色数组
* @param options.customColors[].name 自定义颜色名
* @param options.customColors[].value 自定义十六进制颜色值,如 #f82506
*/
export declare const setColorScheme: (hex: string, options?: {
target?: string | HTMLElement | JQ<HTMLElement>;
customColors?: CustomColor[];
}) => void;