From 3f1e68a64066892c384ba443043d3b62a3337131 Mon Sep 17 00:00:00 2001 From: Fine Date: Tue, 27 Jun 2023 20:44:23 +0800 Subject: [PATCH] style: add variables --- src/styles/variables.scss | 20 ++++++++++++++++++++ src/views/dashboard/List.vue | 4 ++-- src/views/dashboard/controls/Widget.vue | 2 +- vite.config.ts | 11 ++++++++++- 4 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 src/styles/variables.scss diff --git a/src/styles/variables.scss b/src/styles/variables.scss new file mode 100644 index 00000000..d11bc6cb --- /dev/null +++ b/src/styles/variables.scss @@ -0,0 +1,20 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +$font-color: #3d444f; +$active-color: #409eff; +$theme-background: #fff; diff --git a/src/views/dashboard/List.vue b/src/views/dashboard/List.vue index d81fe692..85f6abfe 100644 --- a/src/views/dashboard/List.vue +++ b/src/views/dashboard/List.vue @@ -55,7 +55,7 @@ limitations under the License. --> - +