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.
这个拉取请求包括对
packages/arcodesign
和scripts/sites/plugins/SiteGeneratePlugin
目录的多个更改,重点是 CSS 调整、动态主题支持以及组件生成脚本的重构。最重要的更改包括添加动态主题支持、重构组件生成脚本,以及修改上下文提供器演示的 CSS 样式。动态主题支持:
packages/arcodesign/components/context-provider/demo/theme.md
:添加了使用 CSS 变量进行动态主题切换的支持,并包含了主题切换的演示。重构:
scripts/sites/plugins/SiteGeneratePlugin/generate-components.js
:重构了generateComponents
函数,将docPath
变量的赋值移动到了函数的更前面部分。[1] [2]CSS 调整:
packages/arcodesign/components/context-provider/demo/index.md
:为演示添加了.arco-cell-group
的新 CSS 样式。packages/arcodesign/components/context-provider/demo/style/mobile.less
:移除了.rem(border-radius, 8)
和overflow: hidden
的冗余 CSS 样式。