mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-31 09:05:27 +08:00
10 lines
207 B
TypeScript
10 lines
207 B
TypeScript
import { toggleClass } from './util';
|
|
|
|
/**
|
|
* Change project gray mode status
|
|
* @param gray
|
|
*/
|
|
export function updateGrayMode(gray: boolean) {
|
|
toggleClass(gray, 'gray-mode', document.documentElement);
|
|
}
|