Skip to content

Commit

Permalink
leonardo-contrast-colors: Restore + enhance typescript support (#207)
Browse files Browse the repository at this point in the history
* explicit types location

* initial commit

* rm extra whitespace

* add note for later

* verbose FIXMEs

* improve inline documentation

* adjust some inline documentation

* color string templates to provide some IDE hints

* adjust whitespace

* fix type union

* fix apca-w3 incorrectly marked as devdep

* rm unreferenced devdep

* correct import and entry paths

* "mjs" => "js" since package.json specifies "type"

* adjust test file glob

* add module declaration for chroma-js extension

* add missing oklab/oklch string types

* replace missing oklab/oklch colorspaces

* update functional notation to reflect std per MDN
  • Loading branch information
rsek committed Mar 11, 2023
1 parent 3968521 commit 4459610
Show file tree
Hide file tree
Showing 20 changed files with 608 additions and 120 deletions.
12 changes: 3 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4459610

Please sign in to comment.