Typography: added thin font/style

This commit is contained in:
Karl Tauber
2021-10-26 13:16:52 +02:00
parent e6e4e53a73
commit f742f83834
9 changed files with 87 additions and 11 deletions

View File

@@ -47,15 +47,20 @@ mini.font = -3
# font weights
# Windows
# (use Segoe UI Light because there is no thin font available on Windows)
[win]thin.font = "Segoe UI Light"
[win]light.font = "Segoe UI Light"
[win]semibold.font = "Segoe UI Semibold"
# macOS
[mac]thin.font = "HelveticaNeue-Thin"
[mac]light.font = "HelveticaNeue-Light"
[mac]semibold.font = "HelveticaNeue-Medium"
# Linux
[linux]thin.font = "Lato Thin", "Ubuntu Thin", "Cantarell Thin"
[linux]light.font = "Lato Light", "Ubuntu Light", "Cantarell Light"
[linux]semibold.font = "Lato Semibold", "Ubuntu Medium"
# fallback for unknown platform
thin.font = +0
light.font = +0
semibold.font = +0
@@ -76,6 +81,7 @@ monospaced.font = Monospaced
[style].medium = font: $medium.font
[style].small = font: $small.font
[style].mini = font: $mini.font
[style].thin = font: $thin.font
[style].light = font: $light.font
[style].semibold = font: $semibold.font
[style].monospaced = font: $monospaced.font