2019-10-08 17:03:40 +02:00
|
|
|
// Used in layout
|
|
|
|
$padding-1: 1px !default;
|
|
|
|
$padding-4: 0.25rem !default;
|
|
|
|
$padding-8: 0.5rem !default;
|
|
|
|
$padding-16: 1rem !default;
|
|
|
|
|
|
|
|
$font-size-base: 16px !default;
|
|
|
|
$font-size-12: 0.75rem !default;
|
|
|
|
$font-size-14: 0.875rem !default;
|
|
|
|
$font-size-16: 1rem !default;
|
|
|
|
|
2020-02-10 17:49:18 +01:00
|
|
|
$border-radius: $padding-4 !default;
|
2019-10-08 17:03:40 +02:00
|
|
|
|
|
|
|
$body-font-weight: normal !default;
|
|
|
|
|
2020-02-04 22:39:12 +01:00
|
|
|
$body-min-width: 20rem !default;
|
2019-10-08 17:03:40 +02:00
|
|
|
$container-max-width: 80rem !default;
|
|
|
|
|
|
|
|
$header-height: 3.5rem !default;
|
|
|
|
$menu-width: 16rem !default;
|
|
|
|
$toc-width: 16rem !default;
|
|
|
|
|
2020-02-04 22:39:12 +01:00
|
|
|
$mobile-breakpoint: $menu-width + $body-min-width * 1.2 + $toc-width !default;
|
2019-10-08 17:03:40 +02:00
|
|
|
|
|
|
|
$hint-colors: (
|
|
|
|
info: #6bf,
|
|
|
|
warning: #fd6,
|
2020-09-14 00:02:55 +02:00
|
|
|
danger: #f66,
|
2019-10-08 17:03:40 +02:00
|
|
|
) !default;
|
2019-12-09 11:05:49 +01:00
|
|
|
|
2020-09-14 00:02:55 +02:00
|
|
|
// Themes
|
|
|
|
@mixin theme-light {
|
|
|
|
--gray-100: #f8f9fa;
|
|
|
|
--gray-200: #e9ecef;
|
|
|
|
--gray-500: #adb5bd;
|
|
|
|
|
|
|
|
--color-link: #0055bb;
|
|
|
|
--color-visited-link: #8440f1;
|
|
|
|
|
|
|
|
--body-background: white;
|
|
|
|
--body-font-color: black;
|
|
|
|
|
|
|
|
--icon-filter: none;
|
|
|
|
|
|
|
|
--hint-color-info: #6bf;
|
|
|
|
--hint-color-warning: #fd6;
|
|
|
|
--hint-color-danger: #f66;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin theme-dark {
|
|
|
|
--gray-100: rgba(255, 255, 255, 0.1);
|
|
|
|
--gray-200: rgba(255, 255, 255, 0.2);
|
|
|
|
--gray-500: rgba(255, 255, 255, 0.5);
|
|
|
|
|
|
|
|
--color-link: #84b2ff;
|
|
|
|
--color-visited-link: #b88dff;
|
|
|
|
|
|
|
|
--body-background: #343a40;
|
|
|
|
--body-font-color: #e9ecef;
|
|
|
|
|
|
|
|
--icon-filter: brightness(0) invert(1);
|
|
|
|
|
|
|
|
--hint-color-info: #6bf;
|
|
|
|
--hint-color-warning: #fd6;
|
|
|
|
--hint-color-danger: #f66;
|
|
|
|
}
|