Skip to content

feat(web): set HTML#lang attribute and use right fonts#2076

Merged
dgdavid merged 3 commits intomasterfrom
add-noto-font
Feb 25, 2025
Merged

feat(web): set HTML#lang attribute and use right fonts#2076
dgdavid merged 3 commits intomasterfrom
add-noto-font

Conversation

@dgdavid
Copy link
Contributor

@dgdavid dgdavid commented Feb 25, 2025

This PR adds font fallbacks based on https://brand.suse.com/design-language#typography

  • Verdana when SUSE not available
  • Roboto Mono for monospaced text
  • Noto Sans for CJK (Chinese, Japanese, Korean) characters

It also includes a workaround for the HTML lang attribute to help us


Related to #1040, https://trello.com/c/jxACN8Hw (internal link), and https://bugzilla.suse.com/show_bug.cgi?id=1237457 (internal link)

@dgdavid dgdavid requested a review from imobachgs February 25, 2025 20:38
@dgdavid dgdavid merged commit 033d3cd into master Feb 25, 2025
5 checks passed
@dgdavid dgdavid deleted the add-noto-font branch February 25, 2025 20:44
@imobachgs imobachgs mentioned this pull request Feb 26, 2025
imobachgs added a commit that referenced this pull request Feb 26, 2025
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Feb 26, 2025
https://build.opensuse.org/request/show/1248590
by user IGonzalezSosa + dimstar_suse
- Version 12

- Add fonts for CJK characters and monospaced text
  (gh#agama-project/agama#2076, bsc#1237457).

- Display the file system labels in most selectors for disks and
  partitions (gh#agama-project/agama#2070).

- Use the backend's language as fallback, ignoring the browser's one
  It reduces the chances to produce unwanted side-effects when connecting
  to the web user interface (gh#agama-project/agama#2071).
- Do not block when connecting during system installation.
- Make some small fixes/improvements to the overview, localization
  and software pages markup.

- Synchronous system probing when choosing or registering the
  product (gh#agama-project/agama#2072).

- Display network edition errors instead of navigating back
  (gh#agama-project/agama#2064).

- Ignore non-critical i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants