fix dark theme el-button--primary bg color

This commit is contained in:
pa
2025-12-29 15:30:30 +09:00
committed by Natsumi
parent 0f326fd9fd
commit c49635561c
@@ -29,6 +29,7 @@
:root { :root {
color-scheme: dark; color-scheme: dark;
--el-button-hover-border-color: #{$--theme-primary};
} }
html, html,
@@ -262,6 +263,10 @@ div.x-friend-list
background-color: transparent; background-color: transparent;
} }
.el-button.el-button--primary {
background-color: $--theme-primary !important;
}
.el-button:not(.el-button--text, .el-button--primary, .is-disabled) { .el-button:not(.el-button--text, .el-button--primary, .is-disabled) {
// background-color: $--theme-bg-5; // background-color: $--theme-bg-5;
border-color: $--theme-border-2; border-color: $--theme-border-2;
@@ -275,7 +280,7 @@ div.x-friend-list
.el-button:not(.el-button--text, .el-button--primary, .is-disabled):hover { .el-button:not(.el-button--text, .el-button--primary, .is-disabled):hover {
color: $--theme-text-1 !important; color: $--theme-text-1 !important;
background-color: $--theme-border-2; background-color: $--theme-border-2;
border-color: $--theme-border-3; border-color: var(--el-button-hover-border-color);
} }
.el-button.is-disabled, .el-button.is-disabled,