diff --git a/src/renderer/src/styles/global.css b/src/renderer/src/styles/global.css index b16da40..87e0622 100644 --- a/src/renderer/src/styles/global.css +++ b/src/renderer/src/styles/global.css @@ -194,11 +194,27 @@ body { } /* Tooltip */ -.el-tooltip__popper { +.el-tooltip__popper.is-dark { background: var(--bg-tertiary) !important; color: var(--text-primary) !important; } +.el-tooltip__popper.is-dark .el-popper__arrow::before { + background: var(--bg-tertiary) !important; + border-color: var(--border-color) !important; +} + +.el-tooltip__popper.is-light { + background: var(--bg-secondary) !important; + color: var(--text-primary) !important; + border-color: var(--border-color) !important; +} + +.el-tooltip__popper.is-light .el-popper__arrow::before { + background: var(--bg-secondary) !important; + border-color: var(--border-color) !important; +} + /* Message */ .el-message { background: var(--bg-secondary) !important;