This commit is contained in:
ValueOn AG 2026-04-19 01:23:16 +02:00
parent dcd1182521
commit d0c1484136
2 changed files with 6 additions and 1 deletions

View file

@ -277,7 +277,7 @@
overflow: hidden; overflow: hidden;
border-radius: 8px; border-radius: 8px;
/* Infinite grid: on viewport, moves with pan/zoom via inline style */ /* Infinite grid: on viewport, moves with pan/zoom via inline style */
background-image: radial-gradient(circle, var(--border-color, #e0e0e0) 1px, transparent 1px); background-image: radial-gradient(circle, var(--canvas-grid, var(--border-color, #e0e0e0)) 1px, transparent 1px);
background-repeat: repeat; background-repeat: repeat;
} }

View file

@ -54,6 +54,8 @@
--bg-dark: #EDF2F7; --bg-dark: #EDF2F7;
/* Canvas surface for the GraphicalEditor flow editor (slightly off-white). */ /* Canvas surface for the GraphicalEditor flow editor (slightly off-white). */
--canvas-bg: #FAFAFA; --canvas-bg: #FAFAFA;
/* Dot color of the infinite background grid on the editor canvas. */
--canvas-grid: #D9DEE5;
/* Surface colors */ /* Surface colors */
--surface-color: #F7FAFC; --surface-color: #F7FAFC;
@ -131,6 +133,9 @@
/* Canvas surface for the GraphicalEditor flow editor slightly darker than /* Canvas surface for the GraphicalEditor flow editor slightly darker than
--bg-primary so nodes and connection lines stay legible against it. */ --bg-primary so nodes and connection lines stay legible against it. */
--canvas-bg: #131820; --canvas-bg: #131820;
/* Dot color of the infinite background grid bright enough to read on
--canvas-bg, but still discreet (no visual noise). */
--canvas-grid: rgba(226, 232, 240, 0.18);
/* Surface colors */ /* Surface colors */
--surface-color: #2D3748; --surface-color: #2D3748;