mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
style: 修复 Webchat 浅色模式字体颜色及更新数据统计面板样式
This commit is contained in:
@@ -30,7 +30,6 @@
|
||||
:class="{ 'has-audio': hasAudio(msg.content.message) }"
|
||||
:style="{
|
||||
backgroundColor: 'var(--v-theme-chatMessageBubble)',
|
||||
color: '#E2E2E7 !important',
|
||||
}"
|
||||
>
|
||||
<!-- 遍历 message parts -->
|
||||
@@ -185,7 +184,6 @@
|
||||
class="message-bubble bot-bubble"
|
||||
:style="{
|
||||
backgroundColor: 'var(--v-theme-chatAssistantBubble)',
|
||||
color: '#E2E2E7 !important',
|
||||
}"
|
||||
>
|
||||
<!-- Loading state -->
|
||||
@@ -1623,7 +1621,7 @@ export default {
|
||||
|
||||
/* Bubble text: hardcoded for debugging - #E2E2E7 = BlueBusinessDark primaryText */
|
||||
.bubble-text {
|
||||
color: #E2E2E7 !important;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Stats Menu 样式 */
|
||||
|
||||
@@ -36,6 +36,7 @@ import zhCNPersona from "./locales/zh-CN/features/persona.json";
|
||||
import zhCNMigration from "./locales/zh-CN/features/migration.json";
|
||||
import zhCNCommand from "./locales/zh-CN/features/command.json";
|
||||
import zhCNSubagent from "./locales/zh-CN/features/subagent.json";
|
||||
import zhCNStats from "./locales/zh-CN/features/stats.json";
|
||||
import zhCNWelcome from "./locales/zh-CN/features/welcome.json";
|
||||
|
||||
import zhCNErrors from "./locales/zh-CN/messages/errors.json";
|
||||
@@ -77,6 +78,7 @@ import enUSPersona from "./locales/en-US/features/persona.json";
|
||||
import enUSMigration from "./locales/en-US/features/migration.json";
|
||||
import enUSCommand from "./locales/en-US/features/command.json";
|
||||
import enUSSubagent from "./locales/en-US/features/subagent.json";
|
||||
import enUSStats from "./locales/en-US/features/stats.json";
|
||||
import enUSWelcome from "./locales/en-US/features/welcome.json";
|
||||
|
||||
import enUSErrors from "./locales/en-US/messages/errors.json";
|
||||
@@ -118,6 +120,7 @@ import ruRUPersona from "./locales/ru-RU/features/persona.json";
|
||||
import ruRUMigration from "./locales/ru-RU/features/migration.json";
|
||||
import ruRUCommand from "./locales/ru-RU/features/command.json";
|
||||
import ruRUSubagent from "./locales/ru-RU/features/subagent.json";
|
||||
import ruRUStats from "./locales/ru-RU/features/stats.json";
|
||||
import ruRUWelcome from "./locales/ru-RU/features/welcome.json";
|
||||
|
||||
import ruRUErrors from "./locales/ru-RU/messages/errors.json";
|
||||
@@ -167,6 +170,7 @@ export const translations = {
|
||||
migration: zhCNMigration,
|
||||
command: zhCNCommand,
|
||||
subagent: zhCNSubagent,
|
||||
stats: zhCNStats,
|
||||
welcome: zhCNWelcome,
|
||||
},
|
||||
messages: {
|
||||
@@ -216,6 +220,7 @@ export const translations = {
|
||||
migration: enUSMigration,
|
||||
command: enUSCommand,
|
||||
subagent: enUSSubagent,
|
||||
stats: enUSStats,
|
||||
welcome: enUSWelcome,
|
||||
},
|
||||
messages: {
|
||||
@@ -265,6 +270,7 @@ export const translations = {
|
||||
migration: ruRUMigration,
|
||||
command: ruRUCommand,
|
||||
subagent: ruRUSubagent,
|
||||
stats: ruRUStats,
|
||||
welcome: ruRUWelcome,
|
||||
},
|
||||
messages: {
|
||||
|
||||
@@ -52,10 +52,9 @@ const MainRoutes = {
|
||||
redirect: "/config#system",
|
||||
},
|
||||
{
|
||||
name: "Default",
|
||||
name: "Stats",
|
||||
path: "/dashboard/default",
|
||||
component: () =>
|
||||
import("@/views/dashboards/default/DefaultDashboard.vue"),
|
||||
component: () => import("@/views/stats/StatsPage.vue"),
|
||||
},
|
||||
{
|
||||
name: "Conversation",
|
||||
|
||||
@@ -4,7 +4,6 @@ import axios from "@/utils/request";
|
||||
|
||||
export const useAuthStore = defineStore("auth", {
|
||||
state: () => ({
|
||||
// @ts-ignore
|
||||
username: "",
|
||||
returnUrl: null,
|
||||
}),
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user