Skip to content

Build your personal knowledge base with Trilium Notes

fix(login): make SSO sign-in button dark-mode friendly

Elian Doran6f26fe072457
diff --git a/apps/client/src/stylesheets/theme-next/pages.css b/apps/client/src/stylesheets/theme-next/pages.css
index 5a9be81e74..8062ac7a50 100644
--- a/apps/client/src/stylesheets/theme-next/pages.css
+++ b/apps/client/src/stylesheets/theme-next/pages.css
@@ -36,9 +36,9 @@
display: flex;
align-items: center;
justify-content: center;
- background-color: #fff;
- color: #757575;
- border: 1px solid #ddd;
+ background-color: var(--main-background-color);
+ color: var(--main-text-color);
+ border: 1px solid var(--main-border-color);
border-radius: 4px;
padding: 10px 20px;
font-size: 14px;
@@ -49,7 +49,7 @@
transition: background-color 0.3s;
}
.google-login-btn:hover {
- background-color: #f5f5f5;
+ background-color: var(--hover-item-background-color);
}
.google-login-btn img {
margin-inline-end: 10px;