File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 1
1
## 1.83.5-dev
2
2
3
+ * Fix a bug in which various Color Level 4 functions weren't allowed in plain
4
+ CSS.
5
+
3
6
* Fix the error message for ` @extend ` without a selector and possibly other
4
7
parsing edge-cases in contexts that allow interpolation.
5
8
Original file line number Diff line number Diff line change @@ -14,19 +14,25 @@ import 'scss.dart';
14
14
final _disallowedFunctionNames =
15
15
globalFunctions.map ((function) => function.name).toSet ()
16
16
..add ("if" )
17
- ..remove ("rgb" )
18
- ..remove ("rgba" )
17
+ ..remove ("abs" )
18
+ ..remove ("alpha" )
19
+ ..remove ("color" )
20
+ ..remove ("grayscale" )
19
21
..remove ("hsl" )
20
22
..remove ("hsla" )
21
- ..remove ("grayscale " )
23
+ ..remove ("hwb " )
22
24
..remove ("invert" )
23
- ..remove ("alpha" )
24
- ..remove ("opacity" )
25
- ..remove ("saturate" )
26
- ..remove ("min" )
25
+ ..remove ("lab" )
26
+ ..remove ("lch" )
27
27
..remove ("max" )
28
+ ..remove ("min" )
29
+ ..remove ("oklab" )
30
+ ..remove ("oklch" )
31
+ ..remove ("opacity" )
32
+ ..remove ("rgb" )
33
+ ..remove ("rgba" )
28
34
..remove ("round" )
29
- ..remove ("abs " );
35
+ ..remove ("saturate " );
30
36
31
37
class CssParser extends ScssParser {
32
38
bool get plainCss => true ;
You can’t perform that action at this time.
0 commit comments