by HartmutM » Sat Nov 25, 2023 10:39 am
I really like your theme and used it up to now with MM 5, but unfortunately with the recent MM version 5.0.4.2693 you get the following error on starting MM:
---------------------------
Application Error
---------------------------
Application throw an exception (LESS) Error evaluating function `if`: variable @darkTheme is undefined
Problematic code:
[
"}",
".ytColor1 { fill: if(@darkTheme, #ffffff, #282828)} ",
".ytColor2 { fill: if(@darkTheme, #282828, #ffffff)}"
]
Callstack: Script: file:///mminit.js ; Func: window.myAlert ; Row: 304 ; Col: 17
Script: file:///mminit.js ; Func: undefined ; Row: 1954 ; Col: 33
Script: file:///promise.js ; Func: invokeCallback ; Row: 399 ; Col: 19
Script: file:///promise.js ; Func: publish ; Row: 457 ; Col: 9
Script: file:///promise.js ; Func: publishRejection ; Row: 637 ; Col: 7
Script: file:///promise.js ; Func: flush ; Row: 193 ; Col: 9
Any idea what may cause this? Any fix?
Thanks a lot,
Hartmut
I really like your theme and used it up to now with MM 5, but unfortunately with the recent MM version 5.0.4.2693 you get the following error on starting MM:
---------------------------
Application Error
---------------------------
Application throw an exception (LESS) Error evaluating function `if`: variable @darkTheme is undefined
Problematic code:
[
"}",
".ytColor1 { fill: if(@darkTheme, #ffffff, #282828)} ",
".ytColor2 { fill: if(@darkTheme, #282828, #ffffff)}"
]
Callstack: Script: file:///mminit.js ; Func: window.myAlert ; Row: 304 ; Col: 17
Script: file:///mminit.js ; Func: undefined ; Row: 1954 ; Col: 33
Script: file:///promise.js ; Func: invokeCallback ; Row: 399 ; Col: 19
Script: file:///promise.js ; Func: publish ; Row: 457 ; Col: 9
Script: file:///promise.js ; Func: publishRejection ; Row: 637 ; Col: 7
Script: file:///promise.js ; Func: flush ; Row: 193 ; Col: 9
Any idea what may cause this? Any fix?
Thanks a lot,
Hartmut