ConnorSkees
|
0aac40441d
|
Put max_args! everywhere
|
2020-02-16 12:35:03 -05:00 |
|
ConnorSkees
|
46f2d4c47e
|
Proper error messages for too many arguments
|
2020-02-16 12:31:09 -05:00 |
|
ConnorSkees
|
089edee8af
|
Proper errors for missing arguments
|
2020-02-16 12:17:34 -05:00 |
|
ConnorSkees
|
9a36c3be73
|
More builtin color function errors
|
2020-02-16 12:14:20 -05:00 |
|
ConnorSkees
|
1995b5ec6e
|
Error messages in builtins
|
2020-02-16 11:59:04 -05:00 |
|
ConnorSkees
|
7c451e333e
|
Arg errors for (de)saturate
|
2020-02-16 11:51:25 -05:00 |
|
ConnorSkees
|
92a7264f9a
|
More error messages
|
2020-02-16 11:42:28 -05:00 |
|
ConnorSkees
|
4114bb0a78
|
rgb error messages
|
2020-02-16 11:37:27 -05:00 |
|
ConnorSkees
|
bbf0cd7e51
|
More error messages!
|
2020-02-16 11:28:36 -05:00 |
|
ConnorSkees
|
402d36133c
|
Proper errors for $color
|
2020-02-16 11:17:57 -05:00 |
|
ConnorSkees
|
b4ea8913f0
|
HSLA errors (experimental)
|
2020-02-16 11:12:17 -05:00 |
|
ConnorSkees
|
f817598a9d
|
Refactor error handling
|
2020-02-16 10:54:25 -05:00 |
|
ConnorSkees
|
6d0686866e
|
hsla doesn't care about units
|
2020-02-16 10:28:33 -05:00 |
|
ConnorSkees
|
d300cd046a
|
Use SassError over Option inside builtins
|
2020-02-16 10:14:17 -05:00 |
|
ConnorSkees
|
19d68c3c5d
|
Handle str-slice $end-at is 0
|
2020-02-15 08:54:10 -05:00 |
|
ConnorSkees
|
d082583917
|
Handle negative numbers in str-slice()
|
2020-02-15 08:51:00 -05:00 |
|
ConnorSkees
|
fab55c5105
|
Properly handle str-slice() when $start-at is 0
|
2020-02-15 08:33:42 -05:00 |
|
ConnorSkees
|
35ed667f16
|
Implement builtin function comparable()
|
2020-02-15 08:16:17 -05:00 |
|
ConnorSkees
|
3823a0f9cd
|
Use same implementation for rgb() and rgba()
|
2020-02-15 07:06:45 -05:00 |
|
ConnorSkees
|
4702461fe7
|
Allow 3 arguments in rgba()
|
2020-02-15 07:00:24 -05:00 |
|
ConnorSkees
|
46e4ccd5f9
|
Allow alpha in hsl()
|
2020-02-15 06:55:20 -05:00 |
|
ConnorSkees
|
a35fa119e0
|
Implement builtin function ie-hex-str()
|
2020-02-14 20:34:12 -05:00 |
|
ConnorSkees
|
19f59efd98
|
Handle alpha over 1 (a little bit)
|
2020-02-14 20:13:58 -05:00 |
|
ConnorSkees
|
bb7e47a4fb
|
Implement builtin function scale-color()
|
2020-02-14 19:51:24 -05:00 |
|
ConnorSkees
|
e2d1adf8b9
|
Implement builtin function adjust-color()
|
2020-02-14 19:29:50 -05:00 |
|
ConnorSkees
|
6369282044
|
Refactor change-color to reduce boilerplate
|
2020-02-14 19:21:24 -05:00 |
|
ConnorSkees
|
7811a3e056
|
function-exists searches builtin functions and ignores quotes
|
2020-02-14 18:41:42 -05:00 |
|
ConnorSkees
|
c16d6fed4e
|
clippy
|
2020-02-14 18:28:09 -05:00 |
|
ConnorSkees
|
a328617001
|
Implement builtin function change-color()
|
2020-02-14 17:38:10 -05:00 |
|
ConnorSkees
|
af95658953
|
Implement builtin function mix()
|
2020-02-14 16:56:23 -05:00 |
|
ConnorSkees
|
8f63694ffd
|
Refactor color functions into separate modules
|
2020-02-14 15:08:41 -05:00 |
|
ConnorSkees
|
6c97cd4755
|
Implement builtin function str-slice()
|
2020-02-14 14:23:54 -05:00 |
|
ConnorSkees
|
3af2292d5b
|
Implement builtin function complement()
|
2020-02-14 12:56:28 -05:00 |
|
ConnorSkees
|
7f17139a3b
|
Refactor HSL functions into separate module
|
2020-02-14 12:43:12 -05:00 |
|
ConnorSkees
|
f7351e1458
|
Implement builtin function abs()
|
2020-02-14 12:30:48 -05:00 |
|
ConnorSkees
|
af8bd516b2
|
Implement builtin function grayscale()
|
2020-02-14 12:11:08 -05:00 |
|
ConnorSkees
|
08bfa8f145
|
Implement one and two args for rgba()
|
2020-02-14 11:52:31 -05:00 |
|
ConnorSkees
|
a2ddc8016f
|
Implement builtin functions fade-in() , fade-out() , opacify() , and transparentize()
|
2020-02-14 11:10:25 -05:00 |
|
ConnorSkees
|
b31c9587bc
|
Implement builtin function length()
|
2020-02-14 10:10:51 -05:00 |
|
ConnorSkees
|
be84350d19
|
Implement builtin functions saturate() and desaturate()
|
2020-02-14 09:05:57 -05:00 |
|
ConnorSkees
|
c7c1ad5fe5
|
Implement builtin function darken()
|
2020-02-14 08:54:43 -05:00 |
|
ConnorSkees
|
db8e8eaebb
|
Implement builtin function lighten()
|
2020-02-14 08:43:10 -05:00 |
|
ConnorSkees
|
6427a7ab81
|
Implement builtin function adjust-hue
|
2020-02-14 08:15:19 -05:00 |
|
ConnorSkees
|
496c0740f2
|
Remove redundant clone before Value::eval()
|
2020-02-14 07:51:36 -05:00 |
|
ConnorSkees
|
0ec2c46744
|
rustfmt
|
2020-02-09 18:28:24 -05:00 |
|
ConnorSkees
|
40e1e554c7
|
Implement builtin functions ceil() and floor()
|
2020-02-09 16:14:24 -05:00 |
|
ConnorSkees
|
116bb43bd5
|
Implement builtin function round()
|
2020-02-09 16:10:32 -05:00 |
|
ConnorSkees
|
405a1c2d42
|
Implement mul and div for Value and builtin function percentage()
|
2020-02-09 16:05:07 -05:00 |
|
ConnorSkees
|
c7f1941823
|
Boilerplate for builtin function call()
|
2020-02-09 15:36:30 -05:00 |
|
ConnorSkees
|
2f54de15c5
|
Allow optional alpha argument in rgb()
|
2020-02-09 15:07:29 -05:00 |
|