From 5e0ba78178862097e7bd8f9a02a9ddbe5967ba82 Mon Sep 17 00:00:00 2001 From: Philipp Daun Date: Wed, 22 Jul 2026 14:49:12 +0200 Subject: [PATCH 1/2] Use standard input background on readonly bard --- resources/css/components/fieldtypes/bard.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/css/components/fieldtypes/bard.css b/resources/css/components/fieldtypes/bard.css index 1477f7ddead..cef773ef73a 100644 --- a/resources/css/components/fieldtypes/bard.css +++ b/resources/css/components/fieldtypes/bard.css @@ -52,7 +52,7 @@ =================================================== */ @layer ui { .bard-editor.mode\:read-only .ProseMirror { - @apply bg-gray-300 text-gray-700 dark:bg-gray-600 dark:text-gray-100; + @apply bg-white text-gray-925 dark:bg-gray-900 dark:text-gray-300; } .bard-editor.mode\:minimal .ProseMirror { From 21c1f35e42a5ab17cbd61df3ccef21318887f22a Mon Sep 17 00:00:00 2001 From: Philipp Daun Date: Wed, 22 Jul 2026 14:49:29 +0200 Subject: [PATCH 2/2] Use dashed border on readonly bard --- resources/css/components/fieldtypes/bard.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/css/components/fieldtypes/bard.css b/resources/css/components/fieldtypes/bard.css index cef773ef73a..c25c8f91ccd 100644 --- a/resources/css/components/fieldtypes/bard.css +++ b/resources/css/components/fieldtypes/bard.css @@ -5,6 +5,9 @@ .bard-fieldtype:not(.form-group, .grid-cell, [data-ui-input-group]) { @apply relative rounded-lg border outline-hidden dark:border-gray-700 with-contrast:border-gray-500; } + .bard-fieldtype:not(.form-group, .grid-cell, [data-ui-input-group]):has(.mode\:read-only) { + @apply border-dashed; + } } /* BARD / EDITOR =================================================== */