Skip to content

Commit

Permalink
Adjust general text sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
joulei committed Aug 21, 2024
1 parent ea1ea7b commit 481b46b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/shared/styles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use makepad_widgets::*;

live_design! {
TITLE_TEXT = {
font_size: (12),
font_size: (13),
font: {path: dep("crate://makepad-widgets/resources/GoNotoKurrent-Regular.ttf")}
}

Expand All @@ -12,12 +12,12 @@ live_design! {
}

TEXT_SUB = {
font_size: (9),
font_size: (8),
height_factor: 1.5,
font: {path: dep("crate://makepad-widgets/resources/GoNotoKurrent-Regular.ttf")}
}

USERNAME_FONT_SIZE = 13.0
USERNAME_FONT_SIZE = 12.0
USERNAME_TEXT_COLOR = #x060 // dark green
USERNAME_TEXT_STYLE = {
font: {path: dep("crate://makepad-widgets/resources/GoNotoKurrent-Regular.ttf")}
Expand All @@ -26,7 +26,7 @@ live_design! {
}


MESSAGE_FONT_SIZE = 12.0
MESSAGE_FONT_SIZE = 11.0
MESSAGE_TEXT_COLOR = #x555
MESSAGE_TEXT_LINE_SPACING = 1.35
MESSAGE_TEXT_HEIGHT_FACTOR = 1.55
Expand Down

0 comments on commit 481b46b

Please sign in to comment.