Files
LingChair/mdui_patched/functions/removeColorScheme.js
CrescentLeaf 1cb8ac3fff 移动目录
2025-11-23 13:27:15 +08:00

9 lines
329 B
JavaScript

import { remove } from '../internal/colorScheme.js';
/**
* 移除指定元素上的配色方案
* @param target 要移除配色方案的元素。可以是 CSS 选择器、DOM 元素、或 JQ 对象。默认为 `<html>` 元素
*/
export const removeColorScheme = (target = document.documentElement) => {
remove(target);
};