Skip to content

Commit

Permalink
UI: Adjust font size on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Warchamp7 authored and RytoEX committed May 14, 2024
1 parent ce4c99b commit 7843a82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UI/data/themes/Yami.obt
Expand Up @@ -100,6 +100,9 @@
--border_highlight: "transparent"; /* TODO: Better Accessibility focus state */
/* TODO: Move Accessibilty Colors to Theme config system */

/* OS Fixes */
--os_mac_font_base_value: 12;

--font_base: calc(1pt * var(--font_base_value));
--font_small: calc(0.9pt * var(--font_base_value));
--font_large: calc(1.1pt * var(--font_base_value));
Expand Down
3 changes: 3 additions & 0 deletions UI/data/themes/Yami_Classic.ovt
Expand Up @@ -28,6 +28,9 @@
--spacing_base_value: 2;
--padding_base_value: 0.25;

/* OS Fixes */
--os_mac_font_base_value: 11;

--icon_base: calc(6px + var(--font_base_value));

--padding_wide: calc(18px + calc(0.25 * var(--padding_base_value)));
Expand Down

0 comments on commit 7843a82

Please sign in to comment.