You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by tw...@apache.org on 2025/07/06 10:49:55 UTC
(fory-site) 01/01: feat: refine homepage banner in dark mode
This is an automated email from the ASF dual-hosted git repository.
twice pushed a commit to branch refine-homepage-dark
in repository https://gitbox.apache.org/repos/asf/fory-site.git
commit 41d78d28026e24aa47760c0b38f0b5ee94513868
Author: PragmaTwice <tw...@apache.org>
AuthorDate: Sun Jul 6 18:49:33 2025 +0800
feat: refine homepage banner in dark mode
---
src/pages/home/css/index.module.css | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/src/pages/home/css/index.module.css b/src/pages/home/css/index.module.css
index 8e965ba3..b49fcea8 100644
--- a/src/pages/home/css/index.module.css
+++ b/src/pages/home/css/index.module.css
@@ -54,4 +54,24 @@
.getStartedButton {
color: white !important;
-}
\ No newline at end of file
+}
+
+[data-theme="dark"] .heroBanner {
+ background: linear-gradient(45deg, #232526, #414345);
+}
+
+[data-theme="dark"] .button--secondary {
+ background-color: rgba(255, 255, 255, 0.1);
+ color: white;
+ border-color: rgba(255, 255, 255, 0.5);
+}
+
+[data-theme="dark"] .button--secondary:hover {
+ background-color: rgba(255, 255, 255, 0.2);
+ border-color: white;
+}
+
+[data-theme="dark"] .title,
+[data-theme="dark"] .subtitle {
+ color: white;
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org