diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-19 19:59:38 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-19 19:59:38 +0200 |
| commit | 4a10417ed47cdfe08b2ff4939212116dba3e965f (patch) | |
| tree | 4f78e3f94e062e05f776594f079459954f61a808 /src/components/input.style.js | |
| parent | 34aa9136dba6b0e1d54f657e24ea4ae77f6c406e (diff) | |
initial work on dynamic slots + move remaining css stuff into separate file
Diffstat (limited to 'src/components/input.style.js')
| -rw-r--r-- | src/components/input.style.js | 12 |
1 files changed, 1 insertions, 11 deletions
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, |
