refactor: Simplify UI styles and remove unused theme management

- Removed theme initialization and management from the UI store.
- Cleaned up CSS styles across multiple components, replacing CSS variables with fixed color values for consistency.
- Updated background colors and text colors to enhance UI clarity and responsiveness.
- Streamlined component styles to improve maintainability and readability.
This commit is contained in:
wizardchen
2025-11-06 02:47:01 +08:00
parent 7a64371603
commit 602e8a3b88
23 changed files with 329 additions and 508 deletions
+4 -4
View File
@@ -12,7 +12,7 @@
</div>
</div>
<div v-if="loading"
style="height: 41px;display: flex;align-items: center;background: var(--td-bg-color-container);width: 58px;">
style="height: 41px;display: flex;align-items: center;background: #fff;width: 58px;">
<img class="botanswer_laoding_gif" src="@/assets/img/botanswer_loading.gif" alt="正在等待答案……">
</div>
</div>
@@ -561,8 +561,8 @@ onBeforeRouteUpdate((to, from, next) => {
align-items: center;
gap: 8px;
padding: 8px 16px;
background: var(--td-brand-color-light);
border: 1px solid var(--td-brand-color-3);
background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
border: 1px solid #91d5ff;
border-radius: 6px;
margin-bottom: 12px;
max-width: 800px;
@@ -575,7 +575,7 @@ onBeforeRouteUpdate((to, from, next) => {
.agent-text {
font-size: 14px;
font-weight: 500;
color: var(--td-brand-color);
color: #0050b3;
flex: 1;
}
}