Typography: added fonts/styles for headings and various text sizes

This commit is contained in:
Karl Tauber
2021-10-13 10:53:37 +02:00
parent d10bcfc72f
commit 465af9bc41
5 changed files with 256 additions and 0 deletions

View File

@@ -26,6 +26,38 @@
# Instead copy and modify only those properties that you need to alter.
#
#---- typography / fonts ----
# headings
h00.font = +24
h0.font = +18
h1.font = +12
h2.font = +6
h3.font = +3
h4.font = bold
# text
large.font = +2
medium.font = -1
small.font = -2
mini.font = -3
# default font
#defaultFont = ...
# styles
[style].h00 = font: $h00.font
[style].h0 = font: $h0.font
[style].h1 = font: $h1.font
[style].h2 = font: $h2.font
[style].h3 = font: $h3.font
[style].h4 = font: $h4.font
[style].large = font: $large.font
[style].medium = font: $medium.font
[style].small = font: $small.font
[style].mini = font: $mini.font
#---- UI delegates ----
ButtonUI = com.formdev.flatlaf.ui.FlatButtonUI