From d9315ecf7df78485c2db7e1b532a085901826b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Mon, 23 Feb 2026 07:56:16 +0100 Subject: [PATCH] style: streamline inputs and selects with more visible borders - Increase --border opacity in both light and dark modes - Harmonize Input and Select components with consistent rounded-lg corners - Replace native selects in MainConverter with styled Select component --- app/globals.css | 4 ++-- components/ui/Input.tsx | 2 +- components/units/converter/MainConverter.tsx | 10 ++++------ 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/app/globals.css b/app/globals.css index cdd252b..a549d0d 100644 --- a/app/globals.css +++ b/app/globals.css @@ -128,7 +128,7 @@ --accent-foreground: #ffffff; --destructive: #ef4444; --destructive-foreground: #ffffff; - --border: rgba(255, 255, 255, 0.08); + --border: rgba(255, 255, 255, 0.15); --input: rgba(255, 255, 255, 0.05); --ring: rgba(139, 92, 246, 0.5); --radius: 1rem; @@ -153,7 +153,7 @@ --accent-foreground: oklch(15% 0.05 255); --destructive: oklch(60% 0.2 25); --destructive-foreground: oklch(100% 0 0); - --border: rgba(0, 0, 0, 0.06); + --border: rgba(0, 0, 0, 0.12); --input: rgba(0, 0, 0, 0.01); --ring: rgba(139, 92, 246, 0.2); } diff --git a/components/ui/Input.tsx b/components/ui/Input.tsx index f660b18..4bd295a 100644 --- a/components/ui/Input.tsx +++ b/components/ui/Input.tsx @@ -9,7 +9,7 @@ const Input = React.forwardRef(
- +