fix(a11y): the model editor's JSON Preview row passes contrast in Accessibility Mode (#33133)

This commit is contained in:
G30 authored and GitHub committed 2026-10-25 12:03:20 +09:00
1 parent ad7ef9aa9a
commit 9ffc4cc360
1 file changed
+3 -1
@@ -1707,7 +1707,9 @@
<div class="my-2 text-xs text-gray-400 dark:text-gray-500">
<div
class="flex w-full items-center gap-2 opacity-30 transition-opacity hover:opacity-60 focus-within:opacity-60"
class="flex w-full items-center gap-2 {($settings?.highContrastMode ?? false)
? ''
: 'opacity-30 transition-opacity hover:opacity-60 focus-within:opacity-60'}"
>
<button
type="button"