raviks789
695fe25891
Remove dead code from `Visitor.php`
...
The method `Visitor::visitColor` seems like a dead code and contains dynamic property
allocation. Hence, this method has been removed.
2023-08-23 10:53:13 +02:00
Johannes Meyer
b89da2f865
Visitor: Force light mode when printing pages
2022-12-07 11:57:48 +01: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
a2932bd5ce
Visitor: Transform less tree calls & variable definitions into our own classes
2022-06-30 12:15:00 +02:00
Yonas Habteab
7ac2dccbd1
Introduce `DeferredColorProp` class
2022-06-30 12:15:00 +02:00
Yonas Habteab
b10261b444
Introduce own `Call` class for less tree calls
2022-06-30 12:15:00 +02:00
Johannes Meyer
38103bed83
Add missing php 8.1 change...
2022-03-24 15:41:16 +01: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