Scrivito is proudly made by JustRelate Group in Berlin, Germany, and Wrocław, Poland.
Scrivito is proudly made by JustRelate Group

Choosing a Color Theme in the Scrivito Example App

As of recently, the Scrivito Example App comes with several color themes. If one of them is perfect for your website based on this app, you can simply use it as is. But you can also change the colors individually to give your site the look and feel you want it to have. Switching the color theme is as easy as commenting the active one out and uncommenting the one you want. For detailed instructions, see Changing Colors in the Example App.

The Example App uses Sass, and Sass offers variables. Variables are extremely handy because you can define values such as colors in just one place to have them applied wherever the variables are used. For the Example App, the color values are defined in the file src/assets/stylesheets/variables/_colors.scss.

Branding and background colors

Each color theme includes two branding colors, $primary and $secondary, which are applied to controls, icons and the like, as well as five $theme-grey* colors used for section backgrounds. Here’s what the eight included themes look like:

/* colors
================================================== */

/* colors theme 01 - original */
$primary: #4ecdc4 !default;
$secondary: #ff6b6b !default;
$theme-grey: #2e353c;
$theme-greydark: #3d4142;
$theme-greylight: #dadada;
$theme-greymiddle: #716f73;
$theme-greywhite: #fbfbfb;

Color variants overview

Theme 01 – original

Theme 02 – green 01

Theme 03 – green 02

Theme 04 – red 01

Theme 05 – red 02

Theme 06 – blue

Theme 07 – yellow

Theme 08 – pink

Little helpers

There’s an uncountable number of color pickers on the web. We found the ones below to be particularly well made. Happy color picking!

More great blog posts from Alexander Geßler