From 67b7cd20370361e3fa0c6c225469afca58e3e18b Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Mon, 22 Mar 2021 16:55:27 -0600 Subject: [PATCH] Fix text colour of the question in the hand box once the spirit has chosen the question --- web/src/components/Hand.vue | 3 ++- web/src/css/theme.css | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/components/Hand.vue b/web/src/components/Hand.vue index f5abf56..a682d50 100644 --- a/web/src/components/Hand.vue +++ b/web/src/components/Hand.vue @@ -184,7 +184,8 @@ export default { @import "../css/style.css"; #PlayerHand { - background-color: var(--hand-background); + background: var(--hand-background); + color: var(--hand-text); margin: 0 auto; padding: 0px; width: 95%; diff --git a/web/src/css/theme.css b/web/src/css/theme.css index 35dd22b..f0f416a 100644 --- a/web/src/css/theme.css +++ b/web/src/css/theme.css @@ -39,6 +39,7 @@ /* Hand colours */ --hand-background: rgba(255, 255, 255, 0.2); + --hand-text: var(--dark-font-colour); /* The colours for the cards in the hands of the players