118 lines
3.4 KiB
SCSS
118 lines
3.4 KiB
SCSS
// Colors
|
|
// scss-docs-start color-variables
|
|
$blue: #5296fd; // 'cornflower blue' [bs5 default] https://coolors.co/5296fd
|
|
$indigo: #7d82b8; // 'middle blue purple' https://coolors.co/7d82b8
|
|
$purple: #c2bbf0; // 'lavender web' https://coolors.co/c2bbf0
|
|
$maroon: #a53860; // 'persian rose' https://coolors.co/a53860
|
|
$pink: #f32b99; // 'persian rose' https://coolors.co/f32b99
|
|
$red: #cf4a50; // 'english vermillion' https://coolors.co/cf4a50
|
|
$orange: #e48663; // 'copper crayola' https://coolors.co/e48663
|
|
$yellow: #f4d35e; // 'orange yellow crayola' https://coolors.co/f4d35e
|
|
$green: #60992d; // 'olive drab' https://coolors.co/60992d
|
|
$teal: #00b0b0; // 'tiffany blue' for primary https://coolors.co/00b0b0
|
|
$cyan: #0bafd0; // 'pacific blue' https://coolors.co/0bafd0
|
|
// scss-docs-end color-variables
|
|
|
|
// define black, white, gray
|
|
$white:#fff;
|
|
$black:#000;
|
|
$gray: #828282; // 'gray web' https://coolors.co/828282
|
|
|
|
// define gray scale
|
|
$gray-100: tint-color($gray, 80%);
|
|
$gray-200: tint-color($gray, 60%);
|
|
$gray-300: tint-color($gray, 40%);
|
|
$gray-400: tint-color($gray, 20%);
|
|
$gray-500: $gray;
|
|
$gray-600: shade-color($gray, 20%);
|
|
$gray-700: shade-color($gray, 40%);
|
|
$gray-750: shade-color($gray, 50%);
|
|
$gray-800: shade-color($gray, 60%);
|
|
$gray-900: shade-color($gray, 80%);
|
|
|
|
// scss-docs-start theme-color-variables
|
|
$primary: $orange;
|
|
$secondary: $teal;
|
|
$success: $green;
|
|
$info: $purple;
|
|
$warning: $yellow;
|
|
$danger: $red;
|
|
$light: $gray-200;
|
|
$dark: $gray-800;
|
|
// scss-docs-end theme-color-variables
|
|
|
|
|
|
// Create your own map
|
|
$custom-colors: (
|
|
"primary": $primary,
|
|
"secondary": $secondary,
|
|
"success": $success,
|
|
"info": $info,
|
|
"warning": $warning,
|
|
"danger": $danger,
|
|
"light": $light,
|
|
"dark": $dark,
|
|
"gray": $gray-600,
|
|
"gray-dark": $gray-800
|
|
);
|
|
|
|
|
|
/* custom spacers */
|
|
$spacer: 1rem !default;
|
|
$spacers: (
|
|
0: 0,
|
|
1: $spacer * .25,
|
|
2: $spacer * .5,
|
|
3: $spacer,
|
|
4: $spacer * 1.5,
|
|
'4-2': $spacer * 2,
|
|
'4-25': $spacer * 2.5,
|
|
5: $spacer * 3,
|
|
6: $spacer * 3.5,
|
|
7: $spacer * 4,
|
|
);
|
|
|
|
|
|
/* body, text, components */
|
|
$body-bg: shade-color($gray-800, 10%);
|
|
$body-color: $gray-200;
|
|
$text-muted: $gray-400;
|
|
|
|
$component-active-color: $dark;
|
|
$component-active-bg: $primary;
|
|
|
|
$component-hover-color: tint-color($light, 5%);
|
|
$component-hover-bg: rgba($white, .125);
|
|
|
|
|
|
/* navbar dark modifications */
|
|
$navbar-dark-color: rgba($white, 0.75);
|
|
$navbar-dark-hover-color: rgba($white, 0.9);
|
|
$navbar-dark-active-color: $white;
|
|
$navbar-dark-disabled-color: rgba($white, 0.45);
|
|
$navbar-dark-toggler-border-color: rgba($white, 0.3);
|
|
|
|
/* tables */
|
|
$table-bg: $dark;
|
|
|
|
/* buttons */
|
|
$btn-box-shadow: null;
|
|
|
|
/* figure captions */
|
|
$figure-caption-color: $gray-400;
|
|
|
|
/* form inputs */
|
|
$input-bg: shade-color($body-bg, 20%);
|
|
$input-focus-bg: shade-color($body-bg, 20%);
|
|
$input-border-color: $gray-600;
|
|
$input-focus-color: $gray-100;
|
|
$input-placeholder-color: shade-color($gray-600, 15%);
|
|
|
|
/* pagination */
|
|
$pagination-bg: shade-color($body-bg, 20%);
|
|
$pagination-border-color: $gray-600;
|
|
$pagination-hover-color: tint-color($primary, 10%);
|
|
$pagination-hover-bg: $component-hover-bg;
|
|
$pagination-hover-border-color: $gray-600;
|
|
$pagination-focus-color: tint-color($primary, 10%);
|
|
$pagination-focus-bg: shade-color($body-bg, 20%);
|