Browse Source

Merge pull request #15019 from itk-dev/feature/high-contrast-mode-tools-section

Feature/high contrast mode tools section
Tim Jaeryang Baek 1 week ago
parent
commit
2885ed9648
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/lib/components/chat/Settings/Tools.svelte

+ 5 - 1
src/lib/components/chat/Settings/Tools.svelte

@@ -61,6 +61,7 @@
 
 							<Tooltip content={$i18n.t(`Add Connection`)}>
 								<button
+									aria-label={$i18n.t(`Add Connection`)}
 									class="px-1"
 									on:click={() => {
 										showConnectionModal = true;
@@ -90,7 +91,10 @@
 					</div>
 
 					<div class="my-1.5">
-						<div class="text-xs text-gray-500">
+						<div
+							class={`text-xs 
+								${($settings?.highContrastMode ?? false) ? 'text-gray-800 dark:text-gray-100' : 'text-gray-500'}`}
+						>
 							{$i18n.t('Connect to your own OpenAPI compatible external tool servers.')}
 							<br />
 							{$i18n.t(