ayaka417 3 лет назад
Родитель
Сommit
ab7c0c1e82

+ 7 - 7
packages/app/src/styles/theme/_apply-colors-dark.scss

@@ -175,16 +175,16 @@
       linear-gradient(225deg, darken(var.$growi-blue, 20%) 10%, hsla(140, 90%, 50%, 0) 80%),
       linear-gradient(315deg, darken($color-gradient, 25%) 100%, hsla(35, 95%, 55%, 0) 70%);
 
+    .link-switch {
+      color: #7b9bd5;
+      @include hover() {
+        color: lighten(#7b9bd5,10%);
+      }
+    }
+
     .nologin-header {
       background-color: rgba(black, 0.5);
 
-      a {
-        color: #7b9bd5;
-        @include hover() {
-          color: lighten(#7b9bd5,10%);
-        }
-      }
-
       .logo {
         background-color: rgba(white, 0);
         fill: rgba(white, 0.5);

+ 1 - 1
packages/app/src/styles/theme/_apply-colors-light.scss

@@ -98,7 +98,7 @@
       linear-gradient(135deg, var.$growi-green 10%, hsla(225, 95%, 50%, 0) 70%), linear-gradient(225deg, var.$growi-blue 10%, hsla(140, 90%, 50%, 0) 80%),
       linear-gradient(315deg, darken($color-gradient, 25%) 100%, hsla(35, 95%, 55%, 0) 70%);
 
-    a {
+    .link-switch {
       color: #1939b8;
       @include hover() {
         color: lighten(#1939b8,20%);

+ 2 - 1
packages/preset-themes/src/styles/antarctic.scss

@@ -161,7 +161,8 @@
 
   // login and register
   .nologin {
-    a {
+    a.d-block.link-switch,
+    a#register.link-switch {
       color: rgba(black, 0.5);
     }
 

+ 2 - 1
packages/preset-themes/src/styles/christmas.scss

@@ -161,7 +161,8 @@
     .nologin-dialog {
       background-color: rgba(#ccc, 0.5);
     }
-    .link-switch {
+    a.d-block.link-switch,
+    a#register.link-switch {
       color: #bd3425;
     }
 

+ 3 - 2
packages/preset-themes/src/styles/hufflepuff.scss

@@ -156,7 +156,8 @@
       background-color: rgba(black, 0.1);
     }
 
-    .link-switch {
+    a.d-block.link-switch,
+    a#register.link-switch {
       color: #{hsl.darken(var(--color-global),10%)};
     }
 
@@ -353,7 +354,7 @@
     }
 
     .link-switch {
-      color: var(--color-global);
+      color: var(--color-global)!important;
     }
 
     .grw-external-auth-form {

+ 2 - 1
packages/preset-themes/src/styles/spring.scss

@@ -147,7 +147,8 @@
       background-color: rgba(black, 0.1);
     }
 
-    .link-switch {
+    a.d-block.link-switch,
+    a#register.link-switch {
       color: var(--color-global);
     }
 

+ 2 - 1
packages/preset-themes/src/styles/wood.scss

@@ -177,7 +177,8 @@
       background-color: rgba(black, 0.1);
     }
 
-    .link-switch {
+    a.d-block.link-switch,
+    a#register.link-switch {
       color: rgba(black, 0.5);
     }