仪表盘
版本库
文件存储
活动
搜索
登录
main
/
herb-ui
干燥机配套车间生产管理系统/云平台前端
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
增加工单过程趋势查看功能
bsw215583320
2024-08-05
ef93984c4aac13d88f3dbbe2342f28256549d4a2
[herb-ui.git]
/
src
/
logics
/
theme
/
updateColorWeak.ts
1
2
3
4
5
6
7
8
9
import { toggleClass } from './util';
/**
* Change the status of the project's color weakness mode
* @param colorWeak
*/
export function updateColorWeak(colorWeak: boolean) {
toggleClass(colorWeak, 'color-weak', document.documentElement);
}