2017-03-24 09:47:37 -04:00
|
|
|
//
|
|
|
|
// Typography
|
|
|
|
//
|
|
|
|
|
|
|
|
$body-font-family: -apple-system, BlinkMacSystemFont, "helvetica neue", helvetica, roboto, noto, "segoe ui", arial, sans-serif !default;
|
|
|
|
$mono-font-family: "SFMono-Regular", Menlo, Consolas, Monospace !default;
|
|
|
|
$root-font-size: 16px !default; // Base font-size for rems
|
2017-03-26 21:09:19 -04:00
|
|
|
$body-line-height: 1.4 !default;
|
2019-08-10 17:20:29 -04:00
|
|
|
$content-line-height: 1.5 !default;
|
2017-03-26 21:09:19 -04:00
|
|
|
$body-heading-line-height: 1.15 !default !default;
|
2017-03-24 09:47:37 -04:00
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
//
|
|
|
|
// Colors
|
|
|
|
//
|
|
|
|
|
2017-03-24 09:47:37 -04:00
|
|
|
$white: #fff !default;
|
|
|
|
|
|
|
|
$grey-dk-000: #959396 !default;
|
|
|
|
$grey-dk-100: #5c5962 !default;
|
|
|
|
$grey-dk-200: #44434d !default;
|
2018-11-15 15:12:12 -05:00
|
|
|
$grey-dk-250: #302d36 !default;
|
2017-03-24 09:47:37 -04:00
|
|
|
$grey-dk-300: #27262b !default;
|
|
|
|
|
|
|
|
$grey-lt-000: #f5f6fa !default;
|
|
|
|
$grey-lt-100: #eeebee !default;
|
|
|
|
$grey-lt-200: #ecebed !default;
|
|
|
|
$grey-lt-300: #e6e1e8 !default;
|
2017-03-09 13:16:08 -05:00
|
|
|
|
2017-03-24 09:47:37 -04:00
|
|
|
$purple-000: #7253ed !default;
|
|
|
|
$purple-100: #5e41d0 !default;
|
|
|
|
$purple-200: #4e26af !default;
|
|
|
|
$purple-300: #381885 !default;
|
2017-03-09 13:16:08 -05:00
|
|
|
|
2017-03-24 09:47:37 -04:00
|
|
|
$blue-000: #2c84fa !default;
|
|
|
|
$blue-100: #2869e6 !default;
|
|
|
|
$blue-200: #264caf !default;
|
|
|
|
$blue-300: #183385 !default;
|
2017-03-09 13:16:08 -05:00
|
|
|
|
2017-03-24 09:47:37 -04:00
|
|
|
$green-000: #41d693 !default;
|
|
|
|
$green-100: #11b584 !default;
|
|
|
|
$green-200: #009c7b !default;
|
|
|
|
$green-300: #026e57 !default;
|
2017-03-09 13:16:08 -05:00
|
|
|
|
2017-03-26 21:09:19 -04:00
|
|
|
$yellow-000: #ffeb82 !default;
|
|
|
|
$yellow-100: #fadf50 !default;
|
|
|
|
$yellow-200: #f7d12e !default;
|
|
|
|
$yellow-300: #e7af06 !default;
|
|
|
|
|
|
|
|
$red-000: #f77e7e !default;
|
|
|
|
$red-100: #f96e65 !default;
|
|
|
|
$red-200: #e94c4c !default;
|
|
|
|
$red-300: #dd2e2e !default;
|
|
|
|
|
2018-11-15 15:12:12 -05:00
|
|
|
$body-background-color: $white !default;
|
|
|
|
$sidebar-color: $grey-lt-000 !default;
|
2019-05-18 20:41:40 -04:00
|
|
|
$search-background-color: $white !default;
|
|
|
|
$table-background-color: $white !default;
|
2018-11-15 15:12:12 -05:00
|
|
|
$code-background-color: $grey-lt-000 !default;
|
2019-08-10 15:24:36 -04:00
|
|
|
$feedback-color: darken($sidebar-color, 3%) !default;
|
2018-11-15 15:12:12 -05:00
|
|
|
|
2017-03-24 09:47:37 -04:00
|
|
|
$body-text-color: $grey-dk-100 !default;
|
|
|
|
$body-heading-color: $grey-dk-300 !default;
|
2019-08-10 17:20:29 -04:00
|
|
|
$search-result-preview-color: $grey-dk-000 !default;
|
2018-11-15 15:12:12 -05:00
|
|
|
$nav-child-link-color: $grey-dk-100 !default;
|
2017-03-24 09:47:37 -04:00
|
|
|
$link-color: $purple-000 !default;
|
2018-11-15 15:12:12 -05:00
|
|
|
$btn-primary-color: $purple-100 !default;
|
2018-11-18 11:07:45 -05:00
|
|
|
$base-button-color: #f7f7f7 !default;
|
2017-03-09 13:16:08 -05:00
|
|
|
|
|
|
|
//
|
|
|
|
// Spacing
|
|
|
|
//
|
|
|
|
|
|
|
|
$spacing-unit: 1rem; // 1rem == 16px
|
|
|
|
|
|
|
|
$spacers: (
|
|
|
|
sp-0: 0,
|
|
|
|
sp-1: $spacing-unit * 0.25,
|
|
|
|
sp-2: $spacing-unit * 0.5,
|
|
|
|
sp-3: $spacing-unit * 0.75,
|
|
|
|
sp-4: $spacing-unit,
|
|
|
|
sp-5: $spacing-unit * 1.5,
|
|
|
|
sp-6: $spacing-unit * 2,
|
|
|
|
sp-7: $spacing-unit * 2.5,
|
2017-03-26 21:09:19 -04:00
|
|
|
sp-8: $spacing-unit * 3,
|
|
|
|
sp-9: $spacing-unit * 3.5,
|
|
|
|
sp-10: $spacing-unit * 4
|
2017-03-24 09:47:37 -04:00
|
|
|
) !default;
|
2017-03-09 13:16:08 -05:00
|
|
|
|
2017-03-26 21:09:19 -04:00
|
|
|
$sp-1: map-get($spacers, sp-1) !default; // 0.25 rem == 4px
|
|
|
|
$sp-2: map-get($spacers, sp-2) !default; // 0.5 rem == 8px
|
|
|
|
$sp-3: map-get($spacers, sp-3) !default; // 0.75 rem == 12px
|
|
|
|
$sp-4: map-get($spacers, sp-4) !default; // 1 rem == 16px
|
|
|
|
$sp-5: map-get($spacers, sp-5) !default; // 1.5 rem == 24px
|
|
|
|
$sp-6: map-get($spacers, sp-6) !default; // 2 rem == 32px
|
|
|
|
$sp-7: map-get($spacers, sp-7) !default; // 2.5 rem == 40px
|
|
|
|
$sp-8: map-get($spacers, sp-8) !default; // 3 rem == 48px
|
2019-12-03 03:12:54 -05:00
|
|
|
$sp-9: map-get($spacers, sp-9) !default; // 3.5 rem == 56px
|
|
|
|
$sp-10: map-get($spacers, sp-10) !default; // 4 rem == 64px
|
2017-03-09 13:16:08 -05:00
|
|
|
|
|
|
|
//
|
|
|
|
// Borders
|
|
|
|
//
|
|
|
|
|
2017-03-24 09:47:37 -04:00
|
|
|
$border: 1px solid !default;
|
|
|
|
$border-radius: 4px !default;
|
|
|
|
$border-color: $grey-lt-100 !default;
|
2017-03-09 13:16:08 -05:00
|
|
|
|
|
|
|
//
|
|
|
|
// Grid system
|
|
|
|
//
|
|
|
|
|
2017-03-24 09:47:37 -04:00
|
|
|
$gutter-spacing: $sp-6 !default;
|
|
|
|
$gutter-spacing-sm: $sp-4 !default;
|
2019-05-12 08:12:00 -04:00
|
|
|
$nav-width: 264px !default;
|
2019-05-12 15:49:19 -04:00
|
|
|
$nav-width-md: 248px !default;
|
2019-08-10 14:53:59 -04:00
|
|
|
$nav-list-item-height: $sp-6 !default;
|
2019-08-10 16:22:57 -04:00
|
|
|
$nav-list-item-height-sm: $sp-8 !default;
|
2019-08-11 17:54:51 -04:00
|
|
|
$nav-list-expander-right: true;
|
2017-03-24 09:47:37 -04:00
|
|
|
$content-width: 800px !default;
|
2019-05-12 08:12:00 -04:00
|
|
|
$header-height: 60px !default;
|
2019-12-03 03:12:54 -05:00
|
|
|
$search-results-width: $content-width - $nav-width !default;
|
2019-05-12 15:49:19 -04:00
|
|
|
|
|
|
|
//
|
|
|
|
// Media queries in pixels
|
|
|
|
//
|
|
|
|
|
|
|
|
$media-queries: (
|
|
|
|
xs: 320px,
|
|
|
|
sm: 500px,
|
|
|
|
md: $content-width,
|
|
|
|
lg: $content-width + $nav-width,
|
|
|
|
xl: 1400px
|
|
|
|
) !default;
|