Skip to content

Commit bb4d6cc

Browse files
committed
updates font to atkinson hyperlegible
1 parent 2d59661 commit bb4d6cc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repositories {
2727
}
2828

2929
dependencies {
30-
implementation("com.sergeysav:website-generator:1.0.1")
30+
implementation("com.sergeysav:website-generator:1.0.2")
3131
api("org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.3")
3232
api("org.jetbrains.kotlin-wrappers:kotlin-css:1.0.0-pre.312-kotlin-1.6.10")
3333
implementation(kotlin("reflect"))

src/main/kotlin/com/sergeysav/Application.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ fun main(args: Array<String>) {
1010
getResourcePath(AboutMe)
1111

1212
// Add the CNAME file (necessary for GitHub Pages)
13-
getResourcePath(StaticResource("CNAME"))
13+
getResourcePath(StaticResource("CNAME", lowercase = false))
1414
}
1515
}

src/main/kotlin/com/sergeysav/pages/Stylesheet.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ object Stylesheet : BaseResource("/style.css") {
4040
"body" {
4141
padding = "0"
4242
margin = "0"
43-
fontFamily = "Lato,'Helvetica Neue',Arial,Helvetica,sans-serif; !important"
43+
fontFamily = "'Atkinson Hyperlegible', 'Helvetica Neue', Helvetica, Arial, sans-serif !important"
4444
fontSize = 16.px
4545
lineHeight = LineHeight("1.5")
4646
backgroundColor = ColorConstants.DARK

src/main/kotlin/com/sergeysav/templates/PageHead.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class PageHead(
5151
}
5252
link {
5353
rel = "stylesheet"
54-
href = "https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap"
54+
href = "https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible&display=swap"
5555
}
5656

5757
// Add JQuery

0 commit comments

Comments
 (0)