feat: add menu font size variable and update related components
- Introduced a new CSS variable `--menu-font-size` calculated from the base font size. - Updated `PreferenceManager` to trigger CSS variable updates when `fontSize` is modified. - Adjusted `updateCSSVariables` to set the new `--menu-font-size` based on the theme's font size. - Ensured that the menu components utilize the updated font size with `!important` to maintain styling consistency.
Showing
4 changed files
with
19 additions
and
5 deletions
-
Please register or sign in to post a comment