From 4a10417ed47cdfe08b2ff4939212116dba3e965f Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 19 Feb 2024 19:59:38 +0200 Subject: initial work on dynamic slots + move remaining css stuff into separate file --- src/components/input.style.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/components/input.style.js') diff --git a/src/components/input.style.js b/src/components/input.style.js index 7db50b66..985d5412 100644 --- a/src/components/input.style.js +++ b/src/components/input.style.js @@ -1,14 +1,4 @@ -const border = (top, shadow) => ({ - x: 0, - y: top ? 1 : -1, - blur: 0, - spread: 0, - color: shadow ? '#000000' : '#FFFFFF', - alpha: 0.2, - inset: true -}) - -const inputInsetFakeBorders = [border(true, true), border(false, false)] +const inputInsetFakeBorders = ['$borderSide(#FFFFFF, bottom, 0.2)', '$borderSide(#000000, top, 0.2)'] const hoverGlow = { x: 0, -- cgit v1.2.3-70-g09d2