Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add color format options (rgb, hex) (#831)
* Add color format options (rgb, hex) Formats are displayed in completions and as comments in hovered css. This helps with comparing code to designs. * Start separate process for each withFixture block This will give us a guaranteed way to isolate global state in tests * Add tests * Remove `colorFormat` setting wip * Always call `addColorEquivalentsToCss` for Tailwind v2 and below * Generate hex for RGB and HSL colors * Refactor * Refactor * Refactor * Update tests * Update for v4 * Use stringify methods * Update tests --------- Co-authored-by: Jordan Pittman <jordan@cryptica.me>
- Loading branch information
1 parent
c3bbd2f
commit 4b46fc5
Showing
12 changed files
with
272 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.