Browse Source

style: glob variable modify

richard1015 4 years ago
parent
commit
eb25326516
1 changed files with 4 additions and 6 deletions
  1. 4 6
      src/styles/variables.scss

+ 4 - 6
src/styles/variables.scss

@@ -55,9 +55,7 @@ $button-primary-border-color: $primary-color;
 $button-primary-background-color: linear-gradient(
   135deg,
   $primary-color 0%,
-  rgba(250, 63, 25, 1) 45%,
-  rgba(250, 89, 25, 1) 83%,
-  rgba(250, 100, 25, 1) 100%
+  $primary-color-end 100%
 );
 $button-info-color: $white;
 $button-info-border-color: rgba(73, 106, 242, 1);
@@ -77,8 +75,8 @@ $button-success-background-color: linear-gradient(
 );
 
 $button-danger-color: $white;
-$button-danger-border-color: $primary-color;
-$button-danger-background-color: $primary-color;
+$button-danger-border-color: rgba(250, 44, 25, 1);
+$button-danger-background-color: rgba(250, 44, 25, 1);
 $button-warning-color: $white;
 $button-warning-border-color: rgba(255, 158, 13, 1);
 $button-warning-background-color: linear-gradient(
@@ -193,7 +191,7 @@ $notify-height: 44px;
 
 $notify-base-background-color: linear-gradient(
   135deg,
-  $primary-color 0%,
+  rgba(250, 44, 25, 1) 0%,
   rgba(250, 63, 25, 1) 45%,
   rgba(250, 89, 25, 1) 83%,
   rgba(250, 100, 25, 1) 100%