summaryrefslogtreecommitdiff
path: root/web/src/components/grid/index.css
diff options
context:
space:
mode:
authorJosh Kingsley <josh@joshkingsley.me>2025-10-26 18:31:23 +0200
committerJosh Kingsley <josh@joshkingsley.me>2025-10-26 18:31:23 +0200
commita984c69e3cca4bcf822989bb78a8befe2397e487 (patch)
treeb7599295851dcc87a89e696f32cdc211e77eab18 /web/src/components/grid/index.css
parent6ae3218e2dd130c085074a0d13d156bdba99716f (diff)
feat(web): draw selection
Diffstat (limited to 'web/src/components/grid/index.css')
-rw-r--r--web/src/components/grid/index.css11
1 files changed, 11 insertions, 0 deletions
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 {