style: 格式化项目代码
- 根据prettier配置格式化整个项目的代码
This commit is contained in:
@ -1,26 +1,36 @@
|
||||
@font-face {
|
||||
font-family: "Source Han Sans CN";
|
||||
src: url("/fonts/source-han-sans/SourceHanSansCN-Regular-Alphabetic.woff2") format("woff2"),
|
||||
url("/fonts/source-han-sans/SourceHanSansCN-Regular-Alphabetic.woff") format("woff");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
font-family: "Source Han Sans CN";
|
||||
src:
|
||||
url("/fonts/source-han-sans/SourceHanSansCN-Regular-Alphabetic.woff2")
|
||||
format("woff2"),
|
||||
url("/fonts/source-han-sans/SourceHanSansCN-Regular-Alphabetic.woff")
|
||||
format("woff");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Source Han Sans CN";
|
||||
src: url("/fonts/source-han-sans/SourceHanSansCN-Bold-Alphabetic.woff2") format("woff2"),
|
||||
url("/fonts/source-han-sans/SourceHanSansCN-Bold-Alphabetic.woff") format("woff");
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
font-family: "Source Han Sans CN";
|
||||
src:
|
||||
url("/fonts/source-han-sans/SourceHanSansCN-Bold-Alphabetic.woff2")
|
||||
format("woff2"),
|
||||
url("/fonts/source-han-sans/SourceHanSansCN-Bold-Alphabetic.woff")
|
||||
format("woff");
|
||||
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Source Han Sans CN";
|
||||
src: url("/fonts/source-han-sans/SourceHanSansCN-Light-Alphabetic.woff2") format("woff2"),
|
||||
url("/fonts/source-han-sans/SourceHanSansCN-Light-Alphabetic.woff") format("woff");
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
font-family: "Source Han Sans CN";
|
||||
src:
|
||||
url("/fonts/source-han-sans/SourceHanSansCN-Light-Alphabetic.woff2")
|
||||
format("woff2"),
|
||||
url("/fonts/source-han-sans/SourceHanSansCN-Light-Alphabetic.woff")
|
||||
format("woff");
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
@forward 'element-plus/theme-chalk/src/dark/var.scss' with (
|
||||
@forward "element-plus/theme-chalk/src/dark/var.scss" with (
|
||||
$bg-color: (
|
||||
'page': #0a0a0a,
|
||||
'overlay': #1d1e1f,
|
||||
"page": #0a0a0a,
|
||||
"overlay": #1d1e1f,
|
||||
)
|
||||
);
|
||||
|
||||
@ -1,26 +1,26 @@
|
||||
$-colors: (
|
||||
'primary': (
|
||||
'base': #177ee5,
|
||||
"primary": (
|
||||
"base": #177ee5,
|
||||
),
|
||||
'success': (
|
||||
'base': green,
|
||||
"success": (
|
||||
"base": green,
|
||||
),
|
||||
'warning': (
|
||||
'base': #f9a23c,
|
||||
"warning": (
|
||||
"base": #f9a23c,
|
||||
),
|
||||
'danger': (
|
||||
'base': #ff3300,
|
||||
"danger": (
|
||||
"base": #ff3300,
|
||||
),
|
||||
'error': (
|
||||
'base': #f56c6c,
|
||||
"error": (
|
||||
"base": #f56c6c,
|
||||
),
|
||||
'info': (
|
||||
'base': #909399,
|
||||
"info": (
|
||||
"base": #909399,
|
||||
),
|
||||
);
|
||||
|
||||
@forward 'element-plus/theme-chalk/src/common/var.scss' with (
|
||||
@forward "element-plus/theme-chalk/src/common/var.scss" with (
|
||||
$colors: $-colors
|
||||
);
|
||||
|
||||
@use './dark.scss';
|
||||
@use "./dark.scss";
|
||||
|
||||
@ -17,5 +17,6 @@ a {
|
||||
}
|
||||
|
||||
:root {
|
||||
--font-main: "Source Han Sans CN", "Noto Sans CJK SC", "Noto Sans CJK", sans-serif;
|
||||
}
|
||||
--font-main:
|
||||
"Source Han Sans CN", "Noto Sans CJK SC", "Noto Sans CJK", sans-serif;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user