mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 15:07:11 -06:00
Typography: added fonts/styles for headings and various text sizes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user