Originally submitted on Github
Problem/Motivation
Recent interviews and research exposed pain points around Drupal's admin experience of looking and feeling dated, especially compared to our competitors, and universally cited that choosing a more modern-looking admin theme instantly led to Drupal being better-perceived by said users.
There was an amazing community effort to Create a Style Guide For Seven that vastly improved its look + feel compared to the original, but Design best practices and Drupal functionality have moved on since then.
Proposed resolution
Implement new page title styles to create a favorable first impression of Drupal for evaluators and a better user experience for site authors. No functional differences.

Specs:
https://www.figma.com/file/OqWgzAluHtsOd5uwm1lubFeH/Design-system?node-i...
General specs:
Remaining tasks
- Update patch styling to include time inputs
- Accessibility review
- RTL review (Right to left)
User interface changes
All page title styles will be changed, no functional differences.
Test Pages
/node/add/page
/node/add/article
| Comment | File | Size | Author |
|---|---|---|---|
| #42 | titleScreenshots.zip | 7.55 MB | huzooka |
| #41 | interdiff.txt | 991 bytes | lauriii |
| #41 | claro-page-title-3024049-40.patch | 6.78 KB | lauriii |
| #37 | interdiff-35-37.txt | 1023 bytes | imalabya |
| #37 | 3024049-37.patch | 6.75 KB | imalabya |
Comments
Comment #2
saschaeggiComment #3
huzookaFigma shows the Typography node behind the link.
Please update the url at Specs.
Comment #4
huzookaI think I've found it:
https://www.figma.com/file/OqWgzAluHtsOd5uwm1lubFeH/Design-system?node-i...
Comment #5
lauriiiThis is a good novice issue.
However, this element hasn't been properly documented in Figma so I think it would be better to postpone this for now.
Comment #6
saschaeggiAdded related ticket of content header with specs
Comment #7
saschaeggiUpdated link to content header specs
Also please have a look at the typography specs as well (linked in the description too)
Comment #8
Kami Amiga commentedComment #10
Kami Amiga commentedComment #11
Kami Amiga commentedAdded headings line height in variables.js and applied it on page-title
Comment #13
Kami Amiga commentedComment #14
nod_I'd use
--size-headings-lineheightto keep naming consistent with the other variable above.Comment #15
Kami Amiga commentedComment #17
Kami Amiga commentedComment #18
nod_Looks good to me.
As for naming, just realized that
--size-lineheight-headingmight be more consistant with the other vars. Any opinions on that?Comment #19
Kami Amiga commentedSounds right I must say :)
Some more questions about the variables : how about adding all heading font sizes too and spacing values ? And should that be done in a separated task ?
Comment #20
nod_indeed, see #3027977: Add spacing and font size variables.
Postponing this issue on the other one.
Comment #21
nod_Comment #22
finnsky commentedTo have shortcut module icon available here
we need to do same on theme install or add it in shortcut install.
https://cgit.drupalcode.org/drupal/tree/core/modules/shortcut/shortcut.i...
Comment #23
andypost@finnsky good catch, needs core issue to fix
Comment #24
finnsky commenteduntil core not fixed that issue may be resolved with command
drush config-set claro.settings third_party_settings.shortcut.module_link TRUE -yComment #25
finnsky commented1) Added patch for shortcut icon with drush command from #24
2) no design for shortcut-action__icon, so i added simple implementation.
3) no design for shortcut-action__message. i did same
Comment #26
finnsky commentedi added new libraries as libraries-extend. since stable files contain some toolbar styles which impossible to override right now
Comment #27
Kami Amiga commentedFor more consistency, I guess we should use var(--color-white) here.
Comment #28
Kami Amiga commentedComment #29
huzookaComment #30
kostyashupenkoComment #31
lauriiiComment #32
lauriiiMoved the CSS into a single file that I moved under the components folder. I also removed the stable CSS since we override all of their settings anyway.
I tried to vertically align the shortcut-action with the page title. Also moved it closer to the title to match the designs.

Edit: I also added configuration to show the shortcut-action after installing the theme.
Comment #33
huzookaThe patch from #32 breaks Shortcut toolbar icon – NW.
P.s.: In #3020422: Toolbar style update, I created an icon font, I'd consider re-using the star icons from there.
Comment #34
huzookaCould you please follow patch naming convention? It would help reviewers a lot.
Comment #35
lauriiiFixed #33. I also moved the star by 1px. I've been going back and forth on that and I think this looks a little bit better.
Not implementing the icon font, for now. That is something that should be discussed separately.
Comment #36
huzookaRe #35
Where is this transition defined?
Btw, I'd be happy to see a variable here.
We want to have rem instead of px.
It's really close :)
Comment #37
imalabyaAdded a patch to fix the comments at #36
Comment #38
huzookaI think that this deserves an RTBC :)
Comment #39
lauriiiI don't think we should depend on the browser default font size on sprites since this will completely break if the default value is anything higher than 16px. Therefore this should be defined in px value instead of rem.
Comment #40
huzookaRe #39:
Mmmm, nice catch!
But instead of turning back to pixel units there, let's define a background-size, and the described issue will be fixed. I think that's the better approach.
Comment #41
lauriiiThis should fix #39. Also changed the border radius to px as per the instructions from the design team.
Comment #42
huzookaBullet-proof, RTBC!
The usual screenshot are attached.
Comment #44
lauriiiCommitted and pushed. Thank you everyone!