From 8fb67c9da028369e9753110c1d962dd15e3aff71 Mon Sep 17 00:00:00 2001 From: Niklas Kiefer Date: Thu, 2 Nov 2023 10:43:51 +0100 Subject: [PATCH] style: improve placeholder color ratio Related to https://github.com/camunda/team-hto/issues/384 --- .../form-js-editor/assets/form-js-editor-base.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/form-js-editor/assets/form-js-editor-base.css b/packages/form-js-editor/assets/form-js-editor-base.css index 5ec48cf22..b3968bb2a 100644 --- a/packages/form-js-editor/assets/form-js-editor-base.css +++ b/packages/form-js-editor/assets/form-js-editor-base.css @@ -216,6 +216,17 @@ display: none; } +.fjs-no-json-lint .cm-activeLine, +.fjs-no-json-lint .cm-activeLineGutter { + background: none; +} + +.fjs-no-json-lint .cm-placeholder { + font-size: 12px; + line-height: 16px; + color: var(--cds-text-placeholder, var(--color-grey-225-10-35)); +} + .fjs-editor-container .fjs-form-editor { display: flex; flex: 1;