Yonas Habteab
9768cf3347
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:42:08 +02:00
Yonas Habteab
020b3ee091
Remove some unused codes & adjust the license headers
2022-06-30 12:42:08 +02:00
Yonas Habteab
3b5993d401
Check for deferred color prop when defining variable variable & some fixlets for naming issue
2022-06-30 12:42:08 +02:00
Yonas Habteab
194c63d6b9
Visitor: Transform less tree calls & variable definitions into our own classes
2022-06-30 12:42:08 +02:00
Yonas Habteab
7498e66519
Introduce DeferredColorProp
class
2022-06-30 12:42:08 +02:00
Yonas Habteab
2d4615bec3
Introduce own Call
class for less tree calls
2022-06-30 12:42:08 +02:00
Eric Lippmann
f1c984cd65
Add license header
2022-02-10 10:47:24 +01:00
Eric Lippmann
0ce968bfda
Deny light-mode definitions in selectors
2022-02-09 21:35:12 +01:00
Eric Lippmann
25acc9602e
Fix PHP compat
2022-02-09 21:35:12 +01:00
Eric Lippmann
19f57644e8
Generate light mode calls from their definitions
2022-02-09 21:35:12 +01:00
Eric Lippmann
5f46493148
Code quality and documentation
2022-02-09 21:35:09 +01:00
Eric Lippmann
a775ae5f66
Also process mixin rules
2022-02-09 21:20:33 +01:00
Eric Lippmann
517b0353bc
Support variable variables
2022-02-09 21:20:33 +01:00
Eric Lippmann
853fa93ea5
Support mixins
2022-02-09 21:20:33 +01:00
Eric Lippmann
d82fc24766
Replace compiled Less colors with CSS var() function calls
2022-02-09 21:20:31 +01:00