Skip to content

Commit

Permalink
Fix small fonts in theme code (#2222)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotherNgineer authored Aug 14, 2024
1 parent c77252c commit 750d592
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions firmware/application/theme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ThemeYellow::ThemeYellow() {
.foreground = Color::black(),
};
bg_lightest_small = new Style{
.font = font::fixed_8x16,
.font = font::fixed_5x8,
.background = {255, 255, 204},
.foreground = Color::black(),
};
Expand Down Expand Up @@ -105,8 +105,8 @@ ThemeYellow::ThemeYellow() {
};

bg_important_small = new Style{
.font = ui::font::fixed_5x8,
.background = ui::Color::yellow(),
.font = font::fixed_5x8,
.background = Color::yellow(),
.foreground = {31, 31, 0},
};

Expand Down Expand Up @@ -201,7 +201,7 @@ ThemeAqua::ThemeAqua() {
.foreground = Color::black(),
};
bg_lightest_small = new Style{
.font = font::fixed_8x16,
.font = font::fixed_5x8,
.background = {204, 255, 255},
.foreground = Color::black(),
};
Expand Down Expand Up @@ -238,8 +238,8 @@ ThemeAqua::ThemeAqua() {
};

bg_important_small = new Style{
.font = ui::font::fixed_5x8,
.background = ui::Color::yellow(),
.font = font::fixed_5x8,
.background = Color::yellow(),
.foreground = {0, 31, 31},
};

Expand Down Expand Up @@ -334,7 +334,7 @@ ThemeDefault::ThemeDefault() {
.foreground = Color::black(),
};
bg_lightest_small = new Style{
.font = font::fixed_8x16,
.font = font::fixed_5x8,
.background = Color::white(),
.foreground = Color::black(),
};
Expand Down Expand Up @@ -371,9 +371,9 @@ ThemeDefault::ThemeDefault() {
};

bg_important_small = new Style{
.font = ui::font::fixed_5x8,
.background = ui::Color::yellow(),
.foreground = ui::Color::black(),
.font = font::fixed_5x8,
.background = Color::yellow(),
.foreground = Color::black(),
};

error_dark = new Style{
Expand Down Expand Up @@ -466,7 +466,7 @@ ThemeGreen::ThemeGreen() {
.foreground = Color::black(),
};
bg_lightest_small = new Style{
.font = font::fixed_8x16,
.font = font::fixed_5x8,
.background = {0, 245, 29},
.foreground = Color::black(),
};
Expand Down Expand Up @@ -503,8 +503,8 @@ ThemeGreen::ThemeGreen() {
};

bg_important_small = new Style{
.font = ui::font::fixed_5x8,
.background = ui::Color::yellow(),
.font = font::fixed_5x8,
.background = Color::yellow(),
.foreground = {0, 33, 4},
};

Expand Down Expand Up @@ -599,7 +599,7 @@ ThemeRed::ThemeRed() {
.foreground = Color::black(),
};
bg_lightest_small = new Style{
.font = font::fixed_8x16,
.font = font::fixed_5x8,
.background = {245, 29, 0},
.foreground = Color::black(),
};
Expand Down Expand Up @@ -636,8 +636,8 @@ ThemeRed::ThemeRed() {
};

bg_important_small = new Style{
.font = ui::font::fixed_5x8,
.background = ui::Color::yellow(),
.font = font::fixed_5x8,
.background = Color::yellow(),
.foreground = {33, 4, 0},
};

Expand Down

0 comments on commit 750d592

Please sign in to comment.