While we learned how to apply styles to panel regions and panes earlier in this chapter, this recipe will outline how we can utilize the Stylizer module to easily create and apply our own custom styles. We will create a style using Stylizer and apply it to the Slogan pane which is part of the Frontpage dashboard panel we have been working on thus far in this chapter.
Stylizer comes with the Chaos tools group of modules and is assumed to have been enabled along with its dependencies, chief among which is the Color module. The module exposes a permission named Use the Stylizer UI which is required to add and manage our custom styles.
While we will be using the Frontpage dashboard panel created earlier in this chapter as an example panel to implement our styles, it is not a prerequisite. This recipe can be easily adapted to work with any available pane.