aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-02-19 19:59:38 +0200
committerHenry Jameson <me@hjkos.com>2024-02-19 19:59:38 +0200
commit4a10417ed47cdfe08b2ff4939212116dba3e965f (patch)
tree4f78e3f94e062e05f776594f079459954f61a808 /src/components
parent34aa9136dba6b0e1d54f657e24ea4ae77f6c406e (diff)
initial work on dynamic slots + move remaining css stuff into separate file
Diffstat (limited to 'src/components')
-rw-r--r--src/components/input.style.js12
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,