mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
feat(frontend): 新增配置教程页面并优化暗色模式样式
- 添加 Guide 配置教程页面及路由 - 统一暗色模式配色方案,使用协调的暖色调 - 重新设计功能卡片,区分已完成与开发中状态 - 更新功能卡片描述,反映当前开发重点
This commit is contained in:
@@ -206,6 +206,11 @@ function highlightPlaceholders(html: string): string {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.code-highlight :deep(.hljs-section) {
|
||||
color: #cc785c;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.code-highlight :deep(.hljs-number) {
|
||||
color: #005cc5;
|
||||
}
|
||||
@@ -314,7 +319,13 @@ body[theme-mode='dark'] .code-highlight :deep(.hljs-comment) {
|
||||
.dark .code-highlight :deep(.hljs-title),
|
||||
body[theme-mode='dark'] .code-highlight :deep(.hljs-function),
|
||||
body[theme-mode='dark'] .code-highlight :deep(.hljs-title) {
|
||||
color: #dcdcaa;
|
||||
color: #d4a27f;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.dark .code-highlight :deep(.hljs-section),
|
||||
body[theme-mode='dark'] .code-highlight :deep(.hljs-section) {
|
||||
color: #d4a27f;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
@@ -329,7 +340,7 @@ body[theme-mode='dark'] .code-highlight :deep(.hljs-number) {
|
||||
body[theme-mode='dark'] .code-highlight :deep(.hljs-literal),
|
||||
body[theme-mode='dark'] .code-highlight :deep(.language-json .hljs-literal),
|
||||
body[theme-mode='dark'] .code-highlight :deep(.language-json .hljs-literal .hljs-keyword) {
|
||||
color: #e1e4e8;
|
||||
color: #e3e0d3;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@@ -342,7 +353,7 @@ body[theme-mode='dark'] .code-highlight :deep(.hljs-property) {
|
||||
|
||||
.dark .code-highlight :deep(.hljs-punctuation),
|
||||
body[theme-mode='dark'] .code-highlight :deep(.hljs-punctuation) {
|
||||
color: #d4d4d4;
|
||||
color: #c9c3b4;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
@@ -392,12 +403,12 @@ body[theme-mode='dark'] .code-highlight :deep(.language-bash .hljs-literal) {
|
||||
|
||||
.dark .code-highlight :deep(.language-bash),
|
||||
body[theme-mode='dark'] .code-highlight :deep(.language-bash) {
|
||||
color: #e1e4e8;
|
||||
color: #e3e0d3;
|
||||
}
|
||||
|
||||
.dark .code-highlight :deep(.language-bash .hljs-string),
|
||||
body[theme-mode='dark'] .code-highlight :deep(.language-bash .hljs-string) {
|
||||
color: #e1e4e8;
|
||||
color: #e3e0d3;
|
||||
font-weight: 400;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user