Colors

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.

Theme colors

Primary theme colors are used for elements that must reflect Purpose’s brand. Each color has a darker and a lighter shade. These can be customized to represent your brand identity using Sass and our build tools.

.bg-primary-light #6e00ff
.bg-primary #6e00ff
.bg-primary-dark #6e00ff
.bg-secondary-light #e8f2ff
.bg-secondary #e8f2ff
.bg-secondary-dark #e8f2ff
.bg-success-light #00c759
.bg-success #00c759
.bg-success-dark #00c759
.bg-danger-light #ff0033
.bg-danger #ff0033
.bg-danger-dark #ff0033
.bg-warning-light #ff3b00
.bg-warning #ff3b00
.bg-warning-dark #ff3b00
.bg-info-light #73e9ef
.bg-info #73e9ef
.bg-info-dark #73e9ef
.bg-dark-light #343a40
.bg-dark #343a40
.bg-dark-dark #343a40

Gradient

We love gradients. That is why we created these variations that are built dynamically based on the theme’s colors described above. By changing a theme color the gradient will adapt.

.bg-gradient-primary
.bg-gradient-secondary
.bg-gradient-success
.bg-gradient-danger
.bg-gradient-warning
.bg-gradient-info
.bg-gradient-dark

Translucent

If you want add a little transparency to your backgrounds you can use the .bg-translucent-* modifier class. The opacity level can be modified from the variables file.

.bg-translucent-primary
.bg-translucent-secondary
.bg-translucent-success
.bg-translucent-danger
.bg-translucent-warning
.bg-translucent-info
.bg-translucent-dark

Text colors

.text-primary

.text-secondary

.text-success

.text-danger

.text-warning

.text-info

.text-light

.text-dark

.text-body

.text-muted

.text-white

.text-black-50

.text-white-50

<p class="text-primary">.text-primary</p>
<p class="text-secondary">.text-secondary</p>
<p class="text-success">.text-success</p>
<p class="text-danger">.text-danger</p>
<p class="text-warning">.text-warning</p>
<p class="text-info">.text-info</p>
<p class="text-light bg-dark">.text-light</p>
<p class="text-dark">.text-dark</p>
<p class="text-body">.text-body</p>
<p class="text-muted">.text-muted</p>
<p class="text-white bg-dark">.text-white</p>
<p class="text-black-50">.text-black-50</p>
<p class="text-white-50 bg-dark">.text-white-50</p>

Gray colors

Grey colors are used for text, backgrounds, lines and borders. The grays from 100 to 300 are used for backgrounds, while the ones from 400 to 600 are used for icons.

.bg-black #ea4c89
.bg-gray-900 #ea4c89
.bg-gray-800 #3aaf85
.bg-gray-700 #04A0F0
.bg-gray-100 #3b5999
.bg-gray-200 #1da1f2
.bg-gray-300 #dd4b39
.bg-gray-400 #e4405f
.bg-gray-500 #bd081c
.bg-gray-600 #cd201f

Brand colors

.bg-brand-facebook #3b5999
.bg-brand-twitter #1da1f2
.bg-brand-google-plus #dd4b39
.bg-brand-instagram #e4405f
.bg-brand-pinterest #bd081c
.bg-brand-youtube #cd201f
.bg-brand-vimeo #04A0F0
.bg-brand-slack #3aaf85
.bg-brand-dribbble #ea4c89

Reversible grays

The grey colors are reversible. Each light grey color has a complementary dark grey color. This helps keeping the colors well balanced and also makes it easier to implement light/dark themes. Good example of this is the Marvel editor, which is implemented in the dark theme.

Light theme

This subtle paragraph text color works equally well on a light or dark background.

Dark theme

This subtle paragraph text color works equally well on a light or dark background.