UNPKG

nk-cli

Version:

Initialize a vite app fast by NK-CLI

10 lines (8 loc) 247 B
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); }