UNPKG

tailwind-csstree

Version:

CSSTree syntax for parsing Tailwind custom syntax.

11 lines (10 loc) 448 B
/** * @fileoverview Types for the Tailwind theme() function. * @author Nicholas C. Zakas */ export const themeTypes = { "tw-theme-spacing": "<tw-theme-spacing-number> | <tw-theme-spacing-brackets>", "tw-theme-spacing-number": "theme(spacing '.' <integer>)", "tw-theme-spacing-brackets": "theme(spacing '[' <number> ']' )", "tw-theme-color": "theme(colors '.' <ident-token> '.' [<ident-token> | <number>] [ / <percentage>]?)", };