Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove css safelist and add IconExtractor (#20)
* remove safelist and add IconExtractor * update storybook * update cypress * Add changeset * update cypress * export icon class definitions for DRY
- Loading branch information
1 parent
ff7a75a
commit 14dd0f5
Showing
7 changed files
with
83 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@cypress-design/css": patch | ||
--- | ||
|
||
To avoid having every color in the universe in the **safelist**, add the IconExtractor. | ||
Also, remove the entire safelist from the css plugins windi config. |
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 was deleted.
Oops, something went wrong.
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
14dd0f5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
cypress-design – ./
cypress-design.vercel.app
cypress-design-git-main-cypress-io.vercel.app
cypress-design-cypress-io.vercel.app