Problem/Motivation
Goal of this issue is to standardize font family for administration toolbar.
In toolbar module we have custom fonts declared like Source Sans Pro. However it's not a system font and there is no sources of this font, so on my Ubuntu machine fallback sans-serif font is used instead.
You can see how administration toolbar is looking with Source Sans Pro font by using demo_umami profile installation with enabled Umami theme. Just visit homepage. Here (in Umami) we have sources of "Source Sans Pro" font. And i find it unclear why font in administration toolbar is different in Umami for example when you visiting user page (like homepage) and administrative pages (like on /admin/content page for example).
It can be an issue also with custom themes. So i would recommend maybe to follow "Claro" style font family:
BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif
On the other hand it would be nice to have some custom font with its sources stored directly in Toolbar core module - it will improve user experience across the platforms they using to play with toolbar. If this font can be still "Source Sans Pro" - we can just copy/paste sources from Umami theme.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Screenshot from 2023-09-05 16-23-12.png | 22.17 KB | kostyashupenko |
| #2 | Screenshot from 2023-09-05 16-23-17.png | 35.75 KB | kostyashupenko |
Issue fork drupal-3385315
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
kostyashupenkoHere is comparison screenshots of toolbar on Umami homepage and administrative page
Comment #3
kostyashupenkoComment #4
kostyashupenkoComment #7
quietone commentedThe Toolbar Module was approved for removal in #3476882: [Policy] Move Toolbar module to contrib.
This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
The deprecation work is in #3484850: [meta] Tasks to deprecate Toolbar module and the removal work in #3488828: [meta] Tasks to remove Toolbar module.
Toolbar will be moved to a contributed project before Drupal 12.0.0 is released.
Comment #8
quietone commentedToolbar has moved to contrib