diff --git a/src/models/map.ts b/src/models/map.ts index 1572483..79fdcce 100644 --- a/src/models/map.ts +++ b/src/models/map.ts @@ -45,7 +45,7 @@ export class Map implements MetroMap { let text = this.draw.text(stations[i].branch.number.toString()).fill('white').font({ size: 28}).cx(cx).cy(cy); text.font({ - family: 'NTSomic', + family: 'Roboto Mono', weight: '750', }) @@ -91,7 +91,7 @@ export class Map implements MetroMap { let text = this.draw.text(this.branch.number.toString()).font({ size: 35}).fill('#fff').cx(50).cy(50); text.font({ - family: 'NTSomic', + family: 'Roboto Mono', weight: '750', }) diff --git a/src/style.css b/src/style.css index c83fb15..85dc0d6 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,5 @@ +@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap'); + @font-face { font-family: NTSomic; src: url(./assets/NTSomic-Bold.ttf);