Originally submitted on Github
Problem/Motivation
The admin UI theme is being redesigned and Contextual links need to be integrated with the new design system.
Proposed resolution
- Implement new contextual links styles.
- Provide the necessary overrides so Contextual links - when viewed in a non-Claro default theme - are styled by Claro when Claro is the configured admin theme. This will be done in the same manner as the Toolbar implementation that was added here: #3070493: Introduce a mechanism to provide an alternate Claro design for the toolbar in the future
Specs to follow for the contextual link icon: https://www.figma.com/file/OqWgzAluHtsOd5uwm1lubFeH/Drupal-Design-system...
The contextual links should not be styled as they are currently shown in the figma link. Instead, for consistency, the styling should match the existing dropbutton tray styling.
Remaining tasks
Testing instructions
- Enable Claro and set as the admin theme
- If the profile used is Umami, access any existing content like
/recipes/watercress-soup
. - If the profile is Standard, go to the homepage and hover the "No front page content has been created yet." message.
- Contextual links should be styled by Claro in the default theme, even if that default theme isn't Claro