Skip to content

typography: parse unquoted function values in content-[...]#174

Open
samoht wants to merge 1 commit into
mainfrom
content-raw-bracket
Open

typography: parse unquoted function values in content-[...]#174
samoht wants to merge 1 commit into
mainfrom
content-raw-bracket

Conversation

@samoht

@samoht samoht commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Unquoted arbitrary content values (content-[attr(before)], content-[counter(x)]) produced no rule; only quoted strings (content-["x"]) and @theme tokens parsed. The bracket value is now parsed as a content list and bound verbatim to --tw-content, so content-[attr(before)] emits --tw-content: attr(before).

content-[attr(before)] and content-[counter(x)] produced no rule: only
quoted strings and @theme tokens parsed. Parse the bracket value as a content
list and bind the result verbatim to --tw-content.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant