We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a18ac3c commit 667eb46Copy full SHA for 667eb46
src/utils/apiIndex/generate.ts
@@ -193,8 +193,9 @@ export async function generateApiIndex(): Promise<ApiIndex> {
193
}
194
195
// Collect CSS prefixes for pages - we'll extract tokens later
196
- if (entry.data.cssPrefix && !pageCssPrefixes[pageKey]) {
197
- pageCssPrefixes[pageKey] = entry.data.cssPrefix
+ // Key by version::section::page (tabKey) so each page gets its own tokens
+ if (entry.data.cssPrefix && !pageCssPrefixes[tabKey]) {
198
+ pageCssPrefixes[tabKey] = entry.data.cssPrefix
199
200
})
201
0 commit comments