Conversation
…lt-in collision Agent-Logs-Url: https://github.com/ayangweb/css-plugin/sessions/b0b71875-5b57-40e9-be4d-8c9baa7b88ba Co-authored-by: ayangweb <75017711+ayangweb@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
ayangweb
April 27, 2026 09:33
View session
Owner
|
@copilot 我刚才忘了问你,tailwindcss 需要改吗?会不会也有冲突? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
buildFontSizeTheme/buildTextThemeused bare keys (sm,lg,xl,h1…) that, whenallowUnprefixed: true, generatedtext-sm/text-lgrules that silently overrode the UnoCSS/Tailwind built-in rem scale.Changes
common/theme.ts— Rename all font-size/text theme keys toant-*(ant-sm,ant-base,ant-lg,ant-xl,ant-h1,ant-h2,ant-h3). TheDEFAULTkey is replaced byant-base.common/autocomplete.ts— UpdateFONT_ENUM/TEXT_ENUMto reflect the new key names.preset.test.ts— Add assertions that bare keys (sm,lg,DEFAULT) are absent from the theme,ant-*keys resolve to the correctvar(--ant-font-size-*)values, and the rule regex matchestext-ant-sm/a-text-ant-sm.README.md— Document newtext-ant-*utility names and explain the coexistence design.Before / After
No changes to spacing, color, shadow, or border-radius tokens — only the font-size key namespace is affected.