5 Commits

Author SHA1 Message Date
raviks789
6711654146 Avoid rendering duplicated CSS definitions in var() function calls
In `Call::compile()` in case we have CSS var() function calls and the keyword value of the function call prefixed by `--`
and color property name prefixed by `@` are same, then avoid generation of duplicate CSS definitions.
2022-07-12 14:48:21 +02:00
Yonas Habteab
c29ac9842d Call: Don't precompile arg values when it's not an array
The CSS/LESS callable argument values may not always be an array, but also an object or whateever,
in this case we don't need to precompile the values as they could never be a variable.
2022-06-30 12:15:01 +02:00
Yonas Habteab
9ac1a00e94 Remove some unused codes & adjust the license headers 2022-06-30 12:15:01 +02:00
Yonas Habteab
5a04480245 Check for deferred color prop when defining variable variable & some fixlets for naming issue 2022-06-30 12:15:01 +02:00
Yonas Habteab
b10261b444 Introduce own Call class for less tree calls 2022-06-30 12:15:00 +02:00