-
Notifications
You must be signed in to change notification settings - Fork 330
fix(tooltip): [tooltip] update dark theme #3216
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
WalkthroughThe pull request updates two Less files. In the tooltip file, several CSS custom properties have been changed to reference new variable names for dark and light themes, adjusting background, text, and border colors. In the transfer panel file, footer-related styles—including nested footer classes and positioning properties—have been removed. No changes were made to exported entities. Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
WalkthroughThis PR updates the dark theme for the tooltip component by modifying background and text color variables. It also includes changes to the transfer component's layout, specifically removing footer-related styles. Changes
|
|
|
||
| // dark主题弹框背景色 | ||
| --tv-Tooltip-popper-dark-bg-color: var(--tv-color-bg-dark, #191919); | ||
| --tv-Tooltip-popper-dark-bg-color: var(--tv-color-bg-dark-1); |
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.
Ensure that the new variable --tv-color-bg-dark-1 is defined and used consistently across the theme to avoid any undefined variable issues.
|
|
||
| // light主题弹框背景色 | ||
| --tv-Tooltip-popper-light-bg-color: var(--tv-color-bg-inverse, #ffffff); | ||
| --tv-Tooltip-popper-light-bg-color: var(--tv-color-bg-2); |
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.
Ensure that the new variable --tv-color-bg-2 is defined and used consistently across the theme to avoid any undefined variable issues.
| --tv-Tooltip-popper-light-bg-color: var(--tv-color-bg-2); | ||
| // light主题|禁用弹框文本色 | ||
| --tv-Tooltip-popper-light-text-color: var(--tv-color-text-inverse-black, #191919); | ||
| --tv-Tooltip-popper-light-text-color: var(--tv-color-text); |
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.
Ensure that the new variable --tv-color-text is defined and used consistently across the theme to avoid any undefined variable issues.
| --tv-Tooltip-popper-light-text-color: var(--tv-color-text); | ||
| // light主题|禁用时弹框边框色 | ||
| --tv-Tooltip-popper-light-border-color: var(--tv-Tooltip-popper-light-bg-color); | ||
| --tv-Tooltip-popper-light-border-color: var(--tv-Tooltip-popper-normal-bg-color); |
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.
Ensure that the new variable --tv-Tooltip-popper-normal-bg-color is defined and used consistently across the theme to avoid any undefined variable issues.
PR
PR Checklist
fix(tooltip): [tooltip] update dark theme
修改tooltip组件检视问题
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit