Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Toolbar Themes is a contributed module for Drupal 8. It includes a number of stylised themes that apply only to the Drupal 8 Toolbar.
The main purpose of this module was to replicate the old D7 Admin Menu style, since D8 cores toolbar takes up a lot of screen realestate and for power users the icons and most of the tabs are not required.
This module allows you to add "conditional-stylesheets" in a much simpler
manner, by adding lines to your theme's.info.yml file. The syntax for that is:
Currently Themekey CSS does not have an option to override the CSS for the entire site but this can be easily achieved using the user: uid option.
First navigate to admin/config/user-interface/themekey and open the "Adding CSS Rule Chain" tab. Towards the bottom of the page is the New Rule section. If you have multiple rules then the first rule matched will apply its CSS file and the rest of the rules will be ignored, bear this in mind if your adding multiple rules.