diff --git a/packages/sfc-playground/package.json b/packages/sfc-playground/package.json index 7f9473ed..27d5c7a8 100644 --- a/packages/sfc-playground/package.json +++ b/packages/sfc-playground/package.json @@ -18,7 +18,7 @@ "@types/codemirror": "^0.0.108", "@vitejs/plugin-vue": "^1.2.0", "codemirror": "^5.60.0", - "vite": "^2.1.4" + "vite": "^2.1.5" }, "dependencies": { "file-saver": "^2.0.5", diff --git a/packages/sfc-playground/src/App.vue b/packages/sfc-playground/src/App.vue index d2f16932..cf4424ad 100644 --- a/packages/sfc-playground/src/App.vue +++ b/packages/sfc-playground/src/App.vue @@ -24,9 +24,10 @@ body { font-size: 13px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; - color: #444; + color:var(--base); margin: 0; background-color: #f8f8f8; + --base: #444; --nav-height: 50px; --font-code: 'Source Code Pro', monospace; --color-branding: #3ca877; diff --git a/packages/sfc-playground/src/Header.vue b/packages/sfc-playground/src/Header.vue index 8ec6b118..9c408e16 100644 --- a/packages/sfc-playground/src/Header.vue +++ b/packages/sfc-playground/src/Header.vue @@ -5,9 +5,21 @@ Vue SFC Playground