From d8b272a407bd222b77fcbeb62ef4b9ed47b2d552 Mon Sep 17 00:00:00 2001 From: eikek Date: Thu, 23 Sep 2021 17:36:52 +0200 Subject: [PATCH] Fix styles for secondary button and dimmer --- modules/webapp/src/main/elm/Comp/Basic.elm | 1 + modules/webapp/src/main/elm/Styles.elm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/webapp/src/main/elm/Comp/Basic.elm b/modules/webapp/src/main/elm/Comp/Basic.elm index 17f785b2..e3d3ac67 100644 --- a/modules/webapp/src/main/elm/Comp/Basic.elm +++ b/modules/webapp/src/main/elm/Comp/Basic.elm @@ -224,6 +224,7 @@ contentDimmer active content = [ ( "hidden", not active ) ] , class S.dimmer + , class "text-gray-200" ] [ content ] diff --git a/modules/webapp/src/main/elm/Styles.elm b/modules/webapp/src/main/elm/Styles.elm index 3357677b..c7686ffa 100644 --- a/modules/webapp/src/main/elm/Styles.elm +++ b/modules/webapp/src/main/elm/Styles.elm @@ -154,7 +154,7 @@ secondaryButton = secondaryButtonMain : String secondaryButtonMain = - " rounded my-auto whitespace-nowrap bg-gray-300 dark:bg-bluegray-400 text-center px-4 py-2 shadow-md focus:outline-none focus:ring focus:ring-opacity-75 dark:text-gray-800 " + " rounded my-auto whitespace-nowrap bg-gray-300 dark:bg-bluegray-400 text-center px-4 py-2 shadow-md focus:outline-none focus:ring focus:ring-opacity-75 dark:text-gray-800 text-gray-800" secondaryButtonHover : String