feat: 首页架构

This commit is contained in:
MTrun
2021-12-18 16:36:43 +08:00
parent 44667a89f0
commit 90e45f6c23
31 changed files with 548 additions and 62 deletions
+3 -2
View File
@@ -4,7 +4,8 @@ $dark: (
//背景
background-color: $--color-dark-bg-1,
//渐变背景
background-image: linear-gradient(120deg, $--color-dark-bg-1 0%, $--color-dark-bg-2 100%),
background-image:
linear-gradient(120deg, $--color-dark-bg-1 0%, $--color-dark-bg-1 100%),
//毛玻璃
filter-color: $--filter-color-login-dark
filter-color: $--filter-color-login-dark,
);
+6 -2
View File
@@ -4,7 +4,11 @@ $light: (
//背景
background_color: $--color-light-fill-3,
//渐变背景
background-image: linear-gradient(120deg, $--color-text-1 0%, $--color-text-1 100%),
background-image:
linear-gradient(120deg, $--color-text-1 0%, $--color-text-1 100%),
//毛玻璃
filter-color: $--filter-color-login-light
filter-color: $--filter-color-login-light,
// 侧边栏
aside-bg: #fff,
aside-color: rgb(239, 239, 245)
);
+8 -1
View File
@@ -33,7 +33,7 @@
}
//获取背景颜色
@mixin filter-color($target) {
@mixin filter-bg-color($target) {
@include themeify {
background-color: themed($target);
}
@@ -52,3 +52,10 @@
color: themed($target);
}
}
//获取边框颜色
@mixin filter-border-color($target) {
@include themeify {
border-color: themed($target);
}
}
+28
View File
@@ -14,3 +14,31 @@
border-radius: $--border-radius-base;
overflow: hidden;
}
// todo 使用 scss 循环写一套完整的
// margin
.go-mt-0 {
margin-top: 0;
}
.go-mb-0 {
margin-bottom: 0;
}
.go-mx-0 {
@extend .go-mt-0;
@extend .go-mb-0;
}
.go-pt-0 {
padding-top: 0;
}
.go-pb-0 {
padding-bottom: 0;
}
.go-px-0 {
@extend .go-pt-0;
@extend .go-pb-0;
}
+1 -1
View File
@@ -19,7 +19,7 @@ $--color-light-fill-4: #c9cdd4;
// 黑色
$--color-dark-black: #000;
$--color-dark-bg-1: #17171a;
$--color-dark-bg-1: #18181c;
$--color-dark-bg-2: #232324;
$--color-dark-bg-3: #2a2a2b;
$--color-dark-bg-4: #313132;