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.

Issue fork drupal-3385315

Command icon 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

kostyashupenko created an issue. See original summary.

kostyashupenko’s picture

Here is comparison screenshots of toolbar on Umami homepage and administrative page

test
test

kostyashupenko’s picture

Issue summary: View changes
kostyashupenko’s picture

Issue summary: View changes

shiv_yadav made their first commit to this issue’s fork.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

quietone’s picture

Status: Active » Postponed

The 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.

quietone’s picture

Project: Drupal core » Toolbar
Version: main » 1.x-dev
Component: toolbar.module » Code
Status: Postponed » Active

Toolbar has moved to contrib