Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V.next #28

Merged
merged 26 commits into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d978252
fix background-clip and background-origin handling #26
tbela99 Jan 25, 2024
d7375ab
add color() and color-mix() support #27
tbela99 Feb 7, 2024
f4f6fa7
add dist/ #27
tbela99 Feb 7, 2024
9d35a24
add color space xyz and xyz-d65 to color() function #27
tbela99 Feb 8, 2024
2ef885f
add support for lab(), lch(), oklab() and oklch() #27
tbela99 Feb 24, 2024
4c368c1
fix lab, lch and xyz calculation #27
tbela99 Feb 26, 2024
b2379ee
relative colors from lch() lab() oklch() and oklab() #27
tbela99 Feb 28, 2024
ec272c9
missing files #27
tbela99 Feb 28, 2024
a4ed136
support lab() lch() oklab() oklch() with relative color #27
tbela99 Mar 3, 2024
1986dcc
fix indention #27
tbela99 Mar 3, 2024
425d237
revert indention fix #27
tbela99 Mar 3, 2024
2c7595a
partially implement color-mix() #27
tbela99 Mar 6, 2024
18d26aa
add missing files #27
tbela99 Mar 6, 2024
a93e2f9
add missing files #27
tbela99 Mar 6, 2024
be7b76b
support alpha multiplier, powerless color component #27
tbela99 Mar 10, 2024
f5480e1
Merge branch 'master' of github.com:tbela99/css-parser into v.next
tbela99 Mar 10, 2024
2d9c17c
adding hue interpolation #27
tbela99 Mar 10, 2024
d0b8847
color-mix() implementation #27
tbela99 Mar 13, 2024
76b8a9d
async node visitors #27
tbela99 Mar 13, 2024
414070b
fix lch conversion #27
tbela99 Mar 19, 2024
dfcd952
compute color-mix(in xyz) #27
tbela99 Mar 23, 2024
784a29d
normalize hue #27
tbela99 Mar 24, 2024
da33fb2
bug in relative color expression evaluation #27
tbela99 Mar 31, 2024
f8d558d
missing types #27
tbela99 Mar 31, 2024
3968654
bump version #27
tbela99 Mar 31, 2024
6791916
bump version #27
tbela99 Mar 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/test/ export-ignore
/docs/ export-ignore
/build.sh export-ignore
/Writerside export-ignore
/build.sh export-ignore linguist-vendored
/Writerside export-ignore linguist-vendored
/benchmark
/tools/ export-ignore
/happydom.ts export-ignore
Expand All @@ -13,7 +13,7 @@
/rollup.config.mjs export-ignore
/tsconfig.json export-ignore
# exclude all files in test/ from stats
/rollup.config.mjs linguist-vendored
/rollup.config.js linguist-vendored
/test/** linguist-vendored
/docs/** linguist-vendored
/tools/** linguist-vendored
Expand Down
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
# Changelog

### V0.3.0
## V0.4.0

Parsing

- [x] allow async node visitors
- [x] adding declaration parsing helper async parseDeclarations(source: string): Promise<AstDeclarations[]>

CSS color level 4 & 5

- [x] color space: srgb, srgb-linear, display-p3, prophoto-rgb, a98-rgb, rec2020, xyz, xyz-d50
- [x] color-mix()
- [x] color()
- [x] relative color
- [x] lab()
- [x] lch()
- [x] oklab()
- [x] oklch()

## V0.3.0

### shorthands

Expand Down
2 changes: 1 addition & 1 deletion LICENSE → LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Thierry Bela
Copyright (c) 2024 Thierry Bela

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading
Loading