mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 07:17:13 -06:00
Typography: removed thin font/style because
- there is no thin font available on Windows - previously used "Segoe UI Light" for `thin.font` and "Segoe UI Semilight" for `light.font`, but "Segoe UI Semilight" is too close to regular font so that it is better to use "Segoe UI Light" for `light.font` and drop `thin.font` - the usefulness of having thin font in addition to light font is low on macOS use "HelveticaNeue-Thin" for `light.font` (instead of "HelveticaNeue-Light")
This commit is contained in:
@@ -47,20 +47,15 @@ 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 Semilight"
|
||||
[win]light.font = "Segoe UI Light"
|
||||
[win]semibold.font = "Segoe UI Semibold"
|
||||
# macOS
|
||||
[mac]thin.font = "HelveticaNeue-Thin"
|
||||
[mac]light.font = "HelveticaNeue-Light"
|
||||
[mac]light.font = "HelveticaNeue-Thin"
|
||||
[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
|
||||
|
||||
@@ -81,7 +76,6 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user