diff options
author | akianonymus <anonymus.aki@gmail.com> | 2023-02-26 23:12:48 +0530 |
---|---|---|
committer | akianonymus <anonymus.aki@gmail.com> | 2023-02-26 23:14:44 +0530 |
commit | ebb03999a8cffcd927e36d54062d9d01e868992b (patch) | |
tree | 406b26a8ec2b0d6832c7f17423b0ecb92bfe58ea /test | |
parent | fix: hsl: for multiple spaces in between (diff) |
feat: Support modern rgb/rgba syntax
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
Diffstat (limited to 'test')
-rw-r--r-- | test/expectation.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/expectation.txt b/test/expectation.txt index e3cc609..6150778 100644 --- a/test/expectation.txt +++ b/test/expectation.txt @@ -18,8 +18,10 @@ White #def #deadbeef -rgb(0,0,0) rgb(10, 100 , 100) -rgba(200,30,0,1) rgba(200,30,0,0.5) +rgb( 31 12.90 50 /0.5) rgb( 10, 100 , 100, 0.3) +rgb(30% 20% 50%) rgb(0,0,0) rgb(255 122 127 / 80%) +rgb(255 122 127 / .2) rgba(200,30,0,1) rgba(200,30,0,0.5) + hsl(300 50% 50%) hsl(300 50% 50% / 1) hsl(100 80% 50% / 0.4) hsl(990 80% 50% / 0.4) hsl(720 80% 50% / 0.4) hsl(1turn 80% 50% / 0.4) hsl(0.4turn 80% 50% / 0.4) hsl(1.4turn 80% 50% / 0.4) @@ -38,7 +40,6 @@ Blueberry Gray1000 BlueGree BlueGray #define #def0 matcher#add -rgb(10,256,100) rgb (10,255,100) rgb(10, 1 00 , 100) hsl(300 50% 50% 1) |