MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / updateColorWeak

Function updateColorWeak

src/models/setting.js:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import defaultSettings from '../../config/defaultSettings';
2
3const updateColorWeak = colorWeak => {
4 const root = document.getElementById('root');
5
6 if (root) {
7 root.className = colorWeak ? 'colorWeak' : '';
8 }
9};
10
11const SettingModel = {
12 namespace: 'settings',

Callers 1

changeSettingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected