fix: 修复通知图标颜色继承问题

This commit is contained in:
Your Name 2026-01-02 20:26:48 +08:00
parent 36fadab2be
commit 3f57f6d3de

View File

@ -270,6 +270,17 @@ onUnmounted(() => {
background: $bg-card;
color: rgba(255, 255, 255, 0.95);
}
// 确保Icon组件继承颜色
:deep(.app-icon) {
color: inherit;
}
// 确保SVG元素继承颜色
:deep(svg) {
color: inherit;
stroke: currentColor;
}
}
.notification-dropdown {