perf: 优化template-admin-ts自带样式导入逻辑
This commit is contained in:
25
src/styles/lib/reset.scss
Normal file
25
src/styles/lib/reset.scss
Normal file
@ -0,0 +1,25 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
background: $color-background;
|
||||
font-family: $font-family-regular;
|
||||
font-size: $font-size-14;
|
||||
-webkit-print-color-adjust: exact;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
8
src/styles/lib/variable.scss
Normal file
8
src/styles/lib/variable.scss
Normal file
@ -0,0 +1,8 @@
|
||||
$font-family-regular: 'PingFangSC-Regular', 'Microsoft Yahei', Arial, sans-serif;
|
||||
$font-family-medium: 'PingFangSC-Medium', 'Microsoft Yahei', Arial, sans-serif;
|
||||
$font-family-light: 'PingFangSC-Light', 'Microsoft Yahei', Arial, sans-serif;
|
||||
$font-family-bold: 'PingFangSC-Semibold', 'PingFangSC-Regular', 'Microsoft Yahei', Arial, sans-serif;
|
||||
|
||||
$color-background: #f9f9f9;
|
||||
|
||||
$font-size-14: 14px;
|
||||
Reference in New Issue
Block a user