From b4b0ea90a7fb23e3c586606e46e8ab96e3c58d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondr=CC=8Cej=20Ny=CC=81vlt?= Date: Sun, 20 Aug 2023 17:12:25 +0200 Subject: [PATCH] Fix border radius --- view/static/main.css | 10 +++++----- view/uno.config.ts | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/view/static/main.css b/view/static/main.css index 6e5c6ba..ea2417a 100644 --- a/view/static/main.css +++ b/view/static/main.css @@ -106,7 +106,7 @@ /* Forms */ .text-input { - border-radius: 0.125rem; + border-radius: 0.25rem; border: 1px solid var(--color-border); padding: 0.375rem 0.75rem; transition: border-color 120ms, box-shadow 120ms; @@ -136,7 +136,7 @@ align-items: center; flex-shrink: 0; gap: 0.5em; - border-radius: 0.125rem; + border-radius: 0.25rem; border: 1px solid var(--color-border); background: #f3f4f6; transition: background-color 120ms; @@ -192,11 +192,11 @@ } .page-item:first-of-type { - border-radius: 0.125rem 0 0 0.125rem; + border-radius: 0.25rem 0 0 0.25rem; } .page-item:last-of-type { - border-radius: 0 0.125rem 0.125rem 0; + border-radius: 0 0.25rem 0.25rem 0; } .page-item:not(:last-of-type) { @@ -217,7 +217,7 @@ .card { border: 1px solid var(--color-border); - border-radius: 0.375rem; + border-radius: 0.5rem; background-color: white; box-shadow: 0 2px 0 #e5e7eb; overflow: hidden; diff --git a/view/uno.config.ts b/view/uno.config.ts index 73e0290..50e69cc 100644 --- a/view/uno.config.ts +++ b/view/uno.config.ts @@ -255,6 +255,10 @@ export default defineConfig({ colors: { accent: theme.colors.blue, }, + borderRadius: { + sm: "0.25rem", + md: "0.5rem", + }, }, shortcuts: { container: "max-w-1200px px-4 mx-auto",