lint fixes
This commit is contained in:
parent
c02f0b3b33
commit
6015254e59
71 changed files with 160 additions and 160 deletions
|
|
@ -192,7 +192,7 @@ function tick() {
|
|||
tick();
|
||||
|
||||
function calcColors() {
|
||||
const computedStyle = getComputedStyle(document.documentElement);
|
||||
const computedStyle = getComputedStyle(window.document.documentElement);
|
||||
const dark = tinycolor(computedStyle.getPropertyValue('--MI_THEME-bg')).isDark();
|
||||
const accent = tinycolor(computedStyle.getPropertyValue('--MI_THEME-accent')).toHexString();
|
||||
majorGraduationColor.value = dark ? 'rgba(255, 255, 255, 0.3)' : 'rgba(0, 0, 0, 0.3)';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue