-
Notifications
You must be signed in to change notification settings - Fork 773
feat: add AI Token, Tag, Button, Feedback, FloatButton #2950
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
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit f2f3109:
|
| $color-button_primary_borderless-text-default: var(--semi-color-primary); // 主要按钮无边框文字颜色 | ||
|
|
||
| $color-button_primary_solid_colorful-bg-default: var(--semi-color-ai-general); // colorful 主要按钮背景颜色 - 深色主题 | ||
| $color-button_primary_solid_colorful-bg-hover: var(--semi-color-ai-general-hover); // colorful 主要按钮背景颜色 - 深色主题 - 悬浮 |
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.
和设计师确认一下有无 active 态,目前普通的按钮是 default / hover / active 三种状态都有的
packages/semi-ui/feedback/index.tsx
Outdated
| break; | ||
| } | ||
| if (show) { | ||
| return <p className={`${prefixCls}-thank-text`}>🎉 Thank you for your feedback!</p>; |
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.
这块写死感觉不太好,应该支持文案定制比较合适。
| @@ -0,0 +1,135 @@ | |||
| @import './variables.scss'; | |||
|
|
|||
| $module: #{$prefix}-floatButton; | |||
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.
和设计对齐一下这个组件需不要要 active 样式
content/feedback/feedback/index.md
Outdated
| order: 87 | ||
| category: 基础 | ||
| title: Feedback 反馈 | ||
| icon: doc-divider |
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.
图标找设计师换一下哦
中文模板 / Chinese Template
What kind of change does this PR introduce? (check at least one)
PR description
Fixes #
Changelog
🇨🇳 Chinese
🇺🇸 English
Checklist
Other
Additional information