Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(voice): external voice notice uses the notice type and colour

purple929977705c1b
diff --git a/src/components/chat/SpeakerButton.tsx b/src/components/chat/SpeakerButton.tsx
index 8eb78474..9a27c1d3 100644
--- a/src/components/chat/SpeakerButton.tsx
+++ b/src/components/chat/SpeakerButton.tsx
@@ -2,6 +2,7 @@ import { useState } from "react"
import { Volume2, VolumeX } from "lucide-react"
import { useVoice } from "../../hooks/useVoice"
import { useVoiceStore } from "../../stores/voiceStore"
+import { HINWEIS_TEXT } from "../../lib/hinweis"
interface Props {
text: string
@@ -47,7 +48,7 @@ export function SpeakerButton({ text }: Props) {
{isSpeaking ? <VolumeX size={12} /> : <Volume2 size={12} />}
</button>
{pressed && fallbackReason && (
- <span role="status" className="text-[0.6rem] leading-snug text-amber-600 dark:text-amber-400 max-w-[18rem]">
+ <span role="status" className={`t-micro leading-snug max-w-[18rem] ${HINWEIS_TEXT.fehler}`}>
{fallbackReason}
</span>
)}
diff --git a/src/components/settings/SpeechSettings.tsx b/src/components/settings/SpeechSettings.tsx
index 8668b34a..acc490b2 100644
--- a/src/components/settings/SpeechSettings.tsx
+++ b/src/components/settings/SpeechSettings.tsx
@@ -426,7 +426,7 @@ export function SpeechSettings() {
</p>
{/* B11: the external voice fell back to the system voice in silence. */}
{voiceSettings.ttsFallbackReason && (
- <p className={`text-[0.55rem] leading-snug ${HINWEIS_TEXT.fehler}`}>{voiceSettings.ttsFallbackReason}</p>
+ <p className={`t-micro leading-snug ${HINWEIS_TEXT.fehler}`}>{voiceSettings.ttsFallbackReason}</p>
)}
</div>
)}