Agency Themes

Agencies have opportunity to reflect their own brand using Pelican.

Using Your Agency Colors

Agencies can apply their own brand by changing the SCSS variables and recompiling the CSS. Pelican comes with default theme colors for brand, based upon Louisiana colors, to give you a starting point.

Pelican provides 9 Brand color variables you can change. These are listed in the file named _variables-agency.scss inside the /_scss/ folder. Bootstrap will generate all theme variations of components when the SCSS is recompiled to CSS.

To use your own agency colors:

  • Download the repo for Pelican.
  • Update the hex values in _variables-agency.scss.

Bootstrap will generate all theme variations of components when the SCSS is recompiled to CSS.

Themeable Elements

Pelican provides a way to change the following theme aspects when appropriate. These items can be identified within markup by the use of theme classes such as btn-primary, bg-secondary, or text-accent, for example, you can change:

  • Background colors, using classes such as bg-primary, bg-accent, etc.
  • Text colors, using classes such as text-accent, text-primary, etc.
  • Images and photographs
  • Icons and their colors, using classes such as text-accent, text-danger, etc.
  • Button colors, btn-primary, etc.

Changing Themeable Elements

To change background or text color, change the class name representing the color you want to change. Consider Color Contrast when you change these classes. For example, changing bg-primary to bg-secondary will change the background color from the primary to the secondary color. Changing text-secondary to text-primary will change the text color. Compare the cards below.

Background color is bg-primary.

Text color is text-primary-10.

Background color is bg-black.

Text color is text-warning.

Brand Colors and Usability

Brand first is not necessarily accessibility or usability first. Designing with a brand first approach could cause usability problems unless your brand has been designed with accessibility in mind.

Let’s examine this concept with an imaginary color palette for a digital product. Suppose the primary brand color of this imaginary palette is green. The success status color is also a green. The problem is that these two greens look similar to each other. A user would not be able to distinguish between a success cue, such as a Success Toast, from a brand color. The meaning would be unclear.

Example Brand

Hex Code: #198754

SCSS Var: $primary

Status Success

Hex Code: #0d6211

SCSS Var: $success

In the same way, using brand green-styled buttons as the go-to buttons will also confuse the user. The user will see the brand green buttons everywhere. But what happens when you need a success button? The meaning of the success button, to indicate something affirmative, would be lost.

User confusion is likely, and could lead them to ask:

  • Is this a different green color? What does it mean?
  • Did someone make a mistake?
  • Were those other buttons I pressed good buttons?

Some strategies to counter this could include:

  • Adjust Status Colors to be distinct
  • Create and use supporting brand colors for important user interface elements.
  • Only use brand-colored buttons in specific, controlled regions, like the top or bottom of a page.

To prevent ambiguity in this situation, you could try one of a few strategies:

  • Design Status Colors should be adjusted to be visually distinct from Brand Colors.
  • Avoid using Brand Colors in meaningful places in the user interface
  • Design a supporting brand palette for Status colors

Color Warning

Consider Color Contrast while adjustmenting any set of colors. Be aware when certain Brand Color changes may work best on light or dark backgrounds. It may even be advisable to use specific versions of Brand Colors optimized for usability in digital products.

Resources