From a984c69e3cca4bcf822989bb78a8befe2397e487 Mon Sep 17 00:00:00 2001 From: Josh Kingsley Date: Sun, 26 Oct 2025 18:31:23 +0200 Subject: feat(web): draw selection --- web/src/components/grid/index.css | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'web/src/components/grid/index.css') diff --git a/web/src/components/grid/index.css b/web/src/components/grid/index.css index a733015..825a74a 100644 --- a/web/src/components/grid/index.css +++ b/web/src/components/grid/index.css @@ -1,5 +1,16 @@ ntv-grid { display: block; + + --grid-bg-fill: var(--color-neutral-900); + --grid-border-stroke: var(--color-neutral-700); + --grid-cell-stroke: var(--color-neutral-800); + --grid-active-cell-stroke: var(--color-green-400); + --grid-selection-range-fill: color-mix( + in oklab, + var(--color-green-400) 10%, + transparent + ); + --grid-selection-range-stroke: var(--color-green-400); } ntv-grid > canvas { -- cgit v1.2.3