From 4cf0bdd720ff0570095959dadf0e312555e32e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Znamen=C3=A1=C4=8Dek?= Date: Thu, 11 Jul 2024 12:36:08 +0200 Subject: [PATCH] Improve shared button styles --- app/globals.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/globals.css b/app/globals.css index 19a6e0ef9..c084bb5e5 100644 --- a/app/globals.css +++ b/app/globals.css @@ -34,17 +34,20 @@ } /* Buttons */ + .btn-base { + @apply rounded-md px-5 py-2 text-center no-underline; + } .btn-primary { - @apply cursor-pointer rounded-md bg-it px-5 py-2 text-white no-underline; + @apply btn-base cursor-pointer bg-it text-white; } .btn-inverted { - @apply cursor-pointer rounded-md border border-it bg-white px-5 py-2 text-it no-underline; + @apply btn-base cursor-pointer border border-it bg-white text-it; } .btn-disabled { - @apply cursor-not-allowed rounded-md bg-gravel px-5 py-2 text-white no-underline; + @apply btn-base cursor-not-allowed bg-gravel text-white; } .btn-destructive { - @apply cursor-pointer rounded-md bg-red-500 px-5 py-2 text-white no-underline; + @apply btn-base cursor-pointer bg-red-500 text-white; } /* Utils */