summaryrefslogtreecommitdiff
path: root/sw-ui/src/main/kotlin/org
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-08-12 01:28:46 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-08-12 01:28:46 +0200
commit1bc7a339d70ac47f1b69f7f9fd3d25fd3239c7b9 (patch)
treea06cd58f9c90d0eb070717de23de0120a12a0ef4 /sw-ui/src/main/kotlin/org
parentAdd military tokens to the board (diff)
downloadseven-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.kt3
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()
}
bgstack15