Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System UI font not used on WebKit #39905

Closed
3 tasks done
qvignaud opened this issue Apr 16, 2024 · 1 comment
Closed
3 tasks done

System UI font not used on WebKit #39905

qvignaud opened this issue Apr 16, 2024 · 1 comment
Labels

Comments

@qvignaud
Copy link

Prerequisites

Describe the issue

On WebKit the system font is not called by Bootstrap, making some apps using Bootstrap and WebKit looking “weird” and not well-integrated on Linux systems, such as projects built with Tauri.

While this is mostly due to WebKit not supporting system-ui value yet (https://bugs.webkit.org/show_bug.cgi?id=178624), Bootstrap should probably use -webkit-system-ui within the default $font-family-sans-serif list.

As such, here are examples on Linux Mint with WebKitGTK 2.38.6.

Not-integrated display:
without_system_ui
Well-integrated display:
with_system_ui

Please let me know if I should open a PR as the change seems simple, but may impact many things that I don't even have knowledge of.

Reduced test cases

N/A because not reproducible that way

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

No response

What version of Bootstrap are you using?

v5.1.3

@mdo
Copy link
Member

mdo commented May 2, 2024

This was discussed years ago with the very different Linux default font causing unexpected and inconsistent rendering issues. https://fonts.google.com/specimen/Ubuntu is the font I believe, and it's just so different looking. There are some old threads somewhere here that I can't find right now, but changes were made to deliberately not support that font.

@mdo mdo closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants