diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-08-12 01:28:46 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-08-12 01:28:46 +0200 |
commit | 1bc7a339d70ac47f1b69f7f9fd3d25fd3239c7b9 (patch) | |
tree | a06cd58f9c90d0eb070717de23de0120a12a0ef4 /sw-ui/src/main/kotlin/org | |
parent | Add military tokens to the board (diff) | |
download | seven-wonders-1bc7a339d70ac47f1b69f7f9fd3d25fd3239c7b9.tar.gz seven-wonders-1bc7a339d70ac47f1b69f7f9fd3d25fd3239c7b9.tar.bz2 seven-wonders-1bc7a339d70ac47f1b69f7f9fd3d25fd3239c7b9.zip |
Change font to Acme for token counts
This yields better alignment with the multiply (x) sign
Diffstat (limited to 'sw-ui/src/main/kotlin/org')
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Tokens.kt | 3 |
1 files changed, 1 insertions, 2 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() } |