Add SUSE font and wire in for SUSE brand #15720
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.




Summary
Fixes #15744
Occurred changes and/or fixed issues
This PR adds the SUSE font and applies a few updates to wire it in to specific places in the UI.
Note that fonts are lazy-loaded, so the SUSE font will only load when text references the font. Thus, there is no impact on Community of adding this font.
Technical notes summary
SUSE font files added into
shell/assets/fonts/suse.Defines two font variables in the SUSE theme:
--title-font-family--nav-font-familyThese are then used in the UI - they are used in an optional mechanism, falling back when not defined by a theme.
Header.vueUses
--title-font-familyfor the product name shown in the top headerTopLevelMenu.vueUses
--title-font-familyfor the side menu menu itemstypography.scssUses
--title-font-familyfor all heading styles H1, H2, H3, H4, H5, H6Areas or cases that should be tested
Check Community and Prime and check the fonts look correct.
Screenshot/Video
Images use red box to show font changes:
Header text:
Side Nav text:
Typography:
Checklist
Admin,Standard UserandUser Base