Skip to content

Commit 04525dd

Browse files
authored
Merge pull request #99 from tbela99/feature/numerical_tokens
- [x] numerical and dimension tokens use numbers instead of string - [x] fix bug when inlineCssVariables is disabled and computeCalcExpression is enabled
2 parents 3186b6f + 1501a44 commit 04525dd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+2197
-3270
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## v1.3.0
4+
5+
- [x] numerical and dimension tokens use numbers instead of string
6+
- [x] fix bug when inlineCssVariables is disabled and computeCalcExpression is enabled
7+
38
## V1.2.0
49

510
- [x] convert color to any supported color space #94

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Javascript module from cdn
9797

9898
<script type="module">
9999
100-
import {transform} from 'https://esm.sh/@tbela99/css-parser@1.1.2/web';
100+
import {transform} from 'https://esm.sh/@tbela99/css-parser@1.3.0/web';
101101
102102
103103
const css = `
@@ -302,7 +302,7 @@ console.debug(render(result.ast.chi[0].chi[1].chi[1], {withParents: true}));
302302
### Convert colors
303303

304304
```javascript
305-
import {transform} from '@tbela99/css-parser';
305+
import {transform, ColorType} from '@tbela99/css-parser';
306306

307307

308308
const css = `

0 commit comments

Comments
 (0)