Closed crisbeto closed 2 weeks ago
Fixes that the get-theme-color function was incorrectly validating its number of arguments. We were always checking if the arguments are between 2 and 4, whereas it actually accepts either 2 or 3 for M3 themes and between 2 and 4 for M2 themes.
get-theme-color
Fixes #29819.
Fixes that the
get-theme-color
function was incorrectly validating its number of arguments. We were always checking if the arguments are between 2 and 4, whereas it actually accepts either 2 or 3 for M3 themes and between 2 and 4 for M2 themes.Fixes #29819.