From 1bc7a339d70ac47f1b69f7f9fd3d25fd3239c7b9 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Wed, 12 Aug 2020 01:28:46 +0200 Subject: Change font to Acme for token counts This yields better alignment with the multiply (x) sign --- .../main/kotlin/org/luxons/sevenwonders/ui/components/game/Tokens.kt | 3 +-- sw-ui/src/main/resources/index.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Tokens.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Tokens.kt index 7d19b17a..efdc3ba8 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Tokens.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Tokens.kt @@ -110,10 +110,9 @@ private fun CSSBuilder.tokenCountStyle( brightText: Boolean, customStyle: CSSBuilder.() -> Unit = {} ) { - fontFamily = "Josefin Sans" + fontFamily = "Acme" fontSize = size verticalAlign = VerticalAlign.middle color = if (brightText) Color.white else Color.black - fontWeight = FontWeight.bold customStyle() } diff --git a/sw-ui/src/main/resources/index.html b/sw-ui/src/main/resources/index.html index 98623dd8..d4fba7e6 100644 --- a/sw-ui/src/main/resources/index.html +++ b/sw-ui/src/main/resources/index.html @@ -5,7 +5,7 @@ Seven Wonders - + -- cgit