]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: adjust sfc playground button color
authorEvan You <yyx990803@gmail.com>
Wed, 25 May 2022 05:48:20 +0000 (13:48 +0800)
committerEvan You <yyx990803@gmail.com>
Wed, 25 May 2022 05:48:20 +0000 (13:48 +0800)
packages/sfc-playground/src/Header.vue

index 74db01ddba316823074597ee1a4b5efc928d4389..f2daaf02bda60bb31dccb54b21474e4a3f6e1690 100644 (file)
@@ -165,6 +165,7 @@ nav {
   --highlight: #333;
   --green: #3ca877;
   --purple: #904cbc;
+  --btn-bg: #eee;
 
   color: var(--base);
   height: var(--nav-height);
@@ -184,6 +185,7 @@ nav {
   --bg-light: #242424;
   --border: #383838;
   --highlight: #fff;
+  --btn-bg: #333;
 
   box-shadow: none;
   border-bottom: 1px solid var(--border);
@@ -260,7 +262,7 @@ h1 img {
 }
 
 .toggle-ssr span {
-  background-color: #333;
+  background-color: var(--btn-bg);
 }
 
 .toggle-ssr.enabled span {