You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# Tailwindcss Class Parser
2
2
3
-
Tailwindcss Parser is an open-source library for parsing Tailwind CSS classes into an Abstract Syntax Tree (AST). This allows for easier manipulation and analysis of Tailwind CSS classes in a declarative manner.
3
+
Tailwindcss Parser is an open-source library for parsing Tailwind CSS classes into an Abstract Syntax Tree (AST) and AST to classname. This allows for easier manipulation and analysis of Tailwind CSS classes in a declarative manner. If you are into a WYSIWYG like CMS builders this library can parse classes from blocks (or whatever you are using as a name for your components) or convert class definitions into classnames into your blocks.
4
4
5
-
Heavily inspired by the Tailwind CSS v4.0.0's ```candidate.ts``` parser, this library does almost same thing but tweaked and simplified to support Tailwind CSS versions ^3.
5
+
Inspired by the Tailwind CSS v4.0.0's ```candidate.ts``` parser.
6
6
7
7
------------
8
8
@@ -98,3 +98,4 @@ Contributions are welcome! Please feel free to submit a pull request or open an
98
98
## Acknowledgements
99
99
100
100
Special thanks to the Tailwind CSS team for their amazing work on Tailwind CSS.
101
+
@siddharthkp from https://github.com/ui-devtools/tailwind-utils
0 commit comments