Skip to content

Commit 96968a6

Browse files
authored
fix(docs): fix docs deployment (#3218)
1 parent 5807d49 commit 96968a6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/gulp/docs/sass-export.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -61,32 +61,32 @@ class SassExportFunction {
6161
get_value(a) {
6262
let value, i;
6363
switch (a.constructor.name) {
64-
case 'SassList':
64+
case 'sass.types.List':
6565
value = [];
6666
for (i = 0; i < a.getLength(); i++) {
6767
value.push(this.get_value(a.getValue(i)));
6868
}
6969
break;
70-
case 'SassMap':
70+
case 'sass.types.Map':
7171
value = {};
7272
for (i = 0; i < a.getLength(); i++) {
7373
value[a.getKey(i).getValue()] = this.get_value(a.getValue(i));
7474
}
7575
break;
76-
case 'SassColor':
76+
case 'sass.types.Color':
7777
if (1 === a.getA()) {
7878
value = Colors.rgb2hex(a.getR(), a.getG(), a.getB());
7979
} else {
8080
value = 'rgba(' + a.getR() + ', ' + a.getG() + ', ' + a.getB() + ', ' + a.getA() + ')';
8181
}
8282
break;
83-
case 'SassNumber':
83+
case 'sass.types.Number':
8484
value = a.getValue();
8585
if (a.getUnit()) {
8686
value += a.getUnit();
8787
}
8888
break;
89-
case 'SassNull':
89+
case '_SassNull0':
9090
value = null;
9191
break;
9292
default:

0 commit comments

Comments
 (0)