feat: And surface switching loading optimization

This commit is contained in:
vben
2024-06-23 19:39:44 +08:00
parent 6afed34437
commit 24aab5b4bb
24 changed files with 596 additions and 1696 deletions

View File

@@ -38,7 +38,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-i": "^2.29.1",
"eslint-plugin-jsdoc": "^48.4.0",
"eslint-plugin-jsdoc": "^48.5.0",
"eslint-plugin-jsonc": "^2.16.0",
"eslint-plugin-n": "^17.9.0",
"eslint-plugin-no-only-tests": "^3.1.0",

View File

@@ -105,11 +105,11 @@ export default {
DEFAULT: 'hsl(var(--card))',
foreground: 'hsl(var(--card-foreground))',
},
destructive: {
...createColorsPattern('destructive'),
DEFAULT: 'hsl(var(--destructive))',
},
foreground: 'hsl(var(--foreground))',
green: {
...createColorsPattern('green'),
@@ -146,7 +146,6 @@ export default {
desc: 'hsl(var(--secondary-desc))',
foreground: 'hsl(var(--secondary-foreground))',
},
success: {
...createColorsPattern('success'),
DEFAULT: 'hsl(var(--success))',

View File

@@ -46,7 +46,7 @@
"rollup": "^4.18.0",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.77.6",
"unplugin-turbo-console": "^1.8.7",
"unplugin-turbo-console": "^1.8.8-beta.1",
"vite": "^5.3.1",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-dts": "^3.9.1",

View File

@@ -34,7 +34,7 @@
.title {
margin-top: 66px;
font-size: 30px;
font-size: 28px;
font-weight: 600;
color: rgb(0 0 0 / 85%);
}
@@ -56,7 +56,7 @@
width: 48px;
height: 5px;
content: '';
background: #0065cc50;
background: hsl(var(--primary) / 50%);
border-radius: 50%;
animation: shadow-ani 0.5s linear infinite;
}
@@ -68,7 +68,7 @@
width: 100%;
height: 100%;
content: '';
background: #0065cc;
background: hsl(var(--primary));
border-radius: 4px;
animation: jump-ani 0.5s linear infinite;
}