mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-06-07 22:04:06 +08:00
feat: 设置页适配深色模式
This commit is contained in:
parent
3babfc331b
commit
1d94254165
@ -13,6 +13,8 @@ import {
|
||||
|
||||
const components = [ElButton, ElMessageBox, ElMessage, ElCard, ElInput, ElSelect, ElOption]
|
||||
|
||||
document.querySelector('html').className = utools.isDarkColors() ? 'dark' : ''
|
||||
|
||||
export default function registerElement(app) {
|
||||
components.forEach((c) => {
|
||||
let name = transferCamel(c.name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user