From 8e0a0712c06190dea01ac9812b2e573707cae8b6 Mon Sep 17 00:00:00 2001 From: JackDotJS Date: Tue, 16 Apr 2024 17:51:37 -0700 Subject: [PATCH] splitable: active dragging color --- src/css/Splitable.module.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/css/Splitable.module.css b/src/css/Splitable.module.css index d3d9439..e28ca15 100644 --- a/src/css/Splitable.module.css +++ b/src/css/Splitable.module.css @@ -13,11 +13,16 @@ transition: color 200ms; } -.splitLine:hover, .splitLine:active { +.splitLine:hover { color: currentColor; transition: color 80ms; } +.splitLine:active { + color: var(--light0); + transition: color 0ms; +} + .vertical { height: var(--seamWidth); cursor: ns-resize;