-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,18 +54,18 @@ | |
| --tv-Tooltip-popper-success-border-color: var(--tv-color-success-border, #5cb300); | ||
|
|
||
| // 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); | ||
| // dark主题弹框文本色 | ||
| --tv-Tooltip-popper-dark-text-color: var(--tv-color-text-inverse, #ffffff); | ||
| // dark主题|禁用时弹框边框色 | ||
| --tv-Tooltip-popper-dark-border-color: var(--tv-color-border-hover, #191919); | ||
|
|
||
| // 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 commentThe reason will be displayed to describe this comment to others. Learn more. Ensure that the new variable |
||
| // 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 commentThe reason will be displayed to describe this comment to others. Learn more. Ensure that the new variable |
||
| // 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 commentThe reason will be displayed to describe this comment to others. Learn more. Ensure that the new variable |
||
|
|
||
| // 弹框阴影 | ||
| --tv-Tooltip-box-shadow: var(--tv-shadow-2-down, 0 2px 12px 0 rgba(0, 0, 0, 0.16)); | ||
|
|
||
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-1is defined and used consistently across the theme to avoid any undefined variable issues.