Scss Frameworks
If you’re using a (Sass built) CSS framework like Bootstrap, Foundation, Sierra CSS, etc. there is a constant theme of overriding the themes default color values:
Bootstrap
Bootstrap provides a information on theming (and variables) for customization when using their Sass configuration. https://getbootstrap.com/docs/4.0/getting-started/theming provides some high level information on theming:
// Base16 Github
// Your variable overrides
$body-bg: #000;
$body-color: #111;
// Bootstrap and its default variables
@import "node_modules/bootstrap/scss/bootstrap";
After creating and building the $base16-scheme
map you would:
// Base16 Light
// Your variable overrides
$body-bg: map-get($base16-scheme, base00);
$body-color: map-get($base16-scheme, base04;
// Bootstrap and its default variables
@import "node_modules/bootstrap/scss/bootstrap";
Foundation
Foundation provides the colour palette for modifying themes:
// Base16 Dark
$foundation-palette: (
primary: map-get($base16-scheme, base09);,
secondary: map-get($base16-scheme, base0A);,
success: #3adb76,
warning: #ffae00,
alert: #cc4b37,
);
Sierra
Sierra is a framework that I recently started using for a Jekyll theme and wanted to include it in the list (even if a little selfish). A listing of all customizable settings for the framework can be found at https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L8.
// Base16 Eighties
$c-text: map-get($base16-scheme, base01);
$c-link: map-get($base16-scheme, base0A) !default;
$c-link-hover: rgba($c-primary, .8) !default;