Ver código fonte

修改轮播图文字颜色

yanghao 1 mês atrás
pai
commit
3cabaf7dce
1 arquivos alterados com 5 adições e 3 exclusões
  1. 5 3
      src/views/index.vue

+ 5 - 3
src/views/index.vue

@@ -1625,6 +1625,7 @@ onUnmounted(() => {
   --portal-text: #17345f;
   --portal-text-muted: #5f6f83;
   --portal-text-soft: #7f8fa6;
+  --portal-text-secondary: #184dd3;
   --portal-title: #163867;
   --portal-subtitle: rgba(61, 92, 135, 0.86);
   --portal-line: rgba(126, 156, 201, 0.24);
@@ -1700,6 +1701,7 @@ onUnmounted(() => {
   --portal-text: #eaf1ff;
   --portal-text-muted: rgba(234, 241, 255, 0.95);
   --portal-text-soft: #8a9ab0;
+  --portal-text-secondary: #eaf1ff;
   --portal-title: #f4f7ff;
   --portal-subtitle: rgba(188, 205, 255, 0.82);
   --portal-line: rgba(97, 129, 206, 0.28);
@@ -1786,12 +1788,12 @@ onUnmounted(() => {
 
 .hero-text {
   margin-top: 0;
-  color: var(--portal-text);
+  color: var(--portal-text-secondary);
   font-size: 46px;
-  font-weight: 800;
+  font-weight: 500;
   line-height: 1.2;
   letter-spacing: 0.02em;
-  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
+
   max-width: 540px;
 }