mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-09 16:25:10 +03:00
Typography: added light and semibold font/style
This commit is contained in:
@@ -45,6 +45,20 @@ mini.font = -3
|
||||
# default font
|
||||
#defaultFont = ...
|
||||
|
||||
# font weights
|
||||
# Windows
|
||||
[win]light.font = "Segoe UI Light"
|
||||
[win]semibold.font = "Segoe UI Semibold"
|
||||
# macOS
|
||||
[mac]light.font = "HelveticaNeue-Light"
|
||||
[mac]semibold.font = "HelveticaNeue-Medium"
|
||||
# Linux
|
||||
[linux]light.font = "Lato Light", "Ubuntu Light", "Cantarell Light"
|
||||
[linux]semibold.font = "Lato Semibold", "Ubuntu Medium"
|
||||
# fallback for unknown platform
|
||||
light.font = +0
|
||||
semibold.font = +0
|
||||
|
||||
# monospaced
|
||||
[win]monospaced.font = Consolas, "Courier New", Monospaced
|
||||
[mac]monospaced.font = Menlo, Monospaced
|
||||
@@ -62,6 +76,8 @@ monospaced.font = Monospaced
|
||||
[style].medium = font: $medium.font
|
||||
[style].small = font: $small.font
|
||||
[style].mini = font: $mini.font
|
||||
[style].light = font: $light.font
|
||||
[style].semibold = font: $semibold.font
|
||||
[style].monospaced = font: $monospaced.font
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user