We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45ebd3b commit 7cd6479Copy full SHA for 7cd6479
src/utils/tokens.ts
@@ -22,13 +22,6 @@ function getCategoryFromTokenName(tokenName: string): string {
22
}
23
24
return parts[0]
25
- // --pf-[t|vX]-
26
- // add test for nonversion token
27
- // strip out leading --pf-
28
- // check if 1st thing is version, strip out version and grab first part after, v6-chart-global
29
- // if not version, put that thing in category
30
- // CSS variable format: --pf-v6-{category}-...
31
- // Split by hyphen and get the category part (index 4 after splitting)
32
33
34
export function getAllTokens(): Token[] {
0 commit comments