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 | |
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')
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Tokens.kt | 3 | ||||
-rw-r--r-- | 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 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="${publicPath}favicon.ico"> <title>Seven Wonders</title> - <link href='https://fonts.googleapis.com/css?family=Josefin+Sans' rel='stylesheet' type='text/css'> + <link href='https://fonts.googleapis.com/css2?family=Acme&display=swap' rel='stylesheet'> <!-- Style dependencies --> <link href="https://unpkg.com/normalize.css@^7.0.0" rel="stylesheet" /> <!-- Blueprint stylesheets --> |