-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat: 主题样式优化 #7053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 主题样式优化 #7053
Conversation
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
| --el-color-success: var(--panel-alert-success-text-color); | ||
| } | ||
|
|
||
| .el-alert--warning { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这段代码主要使用了CSS类和变量设置来定义不同颜色效果,并且包含了多个开关选项。
在当前的版本中没有识别出任何问题或特定的优化建议;但是,请注意:
- 在
html.dark {...}语句部分,如果需要修改某些元素的颜色(如主背景色),请注意保持与全局配置的一致性。 - 变量值应根据实际页面需求动态调整以防止出现意外的样式更改。
另外,在项目部署过程中,还需考虑性能影响以及是否符合访问者的喜好等情况进行测试。
| --el-color-success-light-9: #3fb95030; | ||
| } | ||
|
|
||
| html { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
该代码存在错误和冗余:缺少一个空格导致语法错误,并且没有正确使用变量名 var。
我进行了调整,请查看以下内容:
--el-color-primary-light-9: var(--panel-color-primary-light-9);
--el-text-color-regular: #646a73;
--el-color-success :#238636 ;
--el-color-success-light-8 :#3fb950;
--el-color-success-light-9 :#3fb95030 ;
}
| } | ||
| .err-message { | ||
| margin-left: 23px; | ||
| line-height: 20px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
对不起,我无法看到您提供的代码,请将代码粘贴上来以便我们进行审查。
|
wanghe-fit2cloud
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wanghe-fit2cloud The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |



No description provided.