From 439efe2651a9e06606add4e7bf7046602efd8976 Mon Sep 17 00:00:00 2001 From: formfcw Date: Mon, 18 May 2026 19:39:17 +0200 Subject: [PATCH] revert overlay defaults: border-width 2px, hover/highlight opacity 0.333 Reflects directus@cda18ff: borderWidth removed from VisualEditingTheme (rect border-width now falls back to focusRingWidth = 2px), and rect-hover/rect-highlight opacities reverted from 0.4 to 0.333. --- .../guides/02.content/8.visual-editor/3.customization.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/guides/02.content/8.visual-editor/3.customization.md b/content/guides/02.content/8.visual-editor/3.customization.md index 2d8f73bf..183c6512 100644 --- a/content/guides/02.content/8.visual-editor/3.customization.md +++ b/content/guides/02.content/8.visual-editor/3.customization.md @@ -52,11 +52,11 @@ The library also ships with a number of predefined CSS variables. These can be o :root { --directus-visual-editing--overlay--z-index: 999999999; --directus-visual-editing--rect--border-spacing: 8px; - --directus-visual-editing--rect--border-width: 1px; + --directus-visual-editing--rect--border-width: 2px; --directus-visual-editing--rect--border-color: #6644ff; --directus-visual-editing--rect--border-radius: 6px; - --directus-visual-editing--rect-hover--opacity: 0.4; - --directus-visual-editing--rect-highlight--opacity: 0.4; + --directus-visual-editing--rect-hover--opacity: 0.333; + --directus-visual-editing--rect-highlight--opacity: 0.333; --directus-visual-editing--actions--offset: 4px; --directus-visual-editing--actions--focus-ring-color: #6644ff; --directus-visual-editing--actions--focus-ring-width: 2px;