silverstripe-webpack/app/client/src/scss/_variables.scss

94 lines
2.0 KiB
SCSS
Raw Normal View History

2018-02-05 12:11:01 +01:00
/*
* Your custom variables
*/
2020-04-20 12:01:08 +02:00
// screen size - 32px (ex. 1400 - 32 = 1368)
$grid-breakpoints: (
xs: 0,
sm: 576px,
md: 768px,
lg: 992px,
2020-04-20 12:01:08 +02:00
xl: 1168px,
);
2020-04-20 12:01:08 +02:00
// screen size - (32px * 2) (ex. 1400 - 64 = 1336)
$container-max-widths: (
sm: 540px,
md: 720px,
lg: 960px,
2020-04-20 12:01:08 +02:00
xl: 1136px,
);
2019-07-18 08:09:58 +02:00
2020-06-15 20:48:26 +02:00
$full-body-min-width: map-get($grid-breakpoints, 'lg');
2020-04-29 09:47:42 +02:00
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
2020-06-15 20:48:26 +02:00
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
2020-04-29 09:47:42 +02:00
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
2020-06-15 20:48:26 +02:00
'Liberation Mono', 'Courier New', monospace;
2020-04-29 09:47:42 +02:00
2020-06-15 20:48:26 +02:00
$font-family-base: 'Lato', $font-family-sans-serif;
2019-10-20 05:12:14 +02:00
$grid-gutter-width: 2rem;
$grid-gutter-height: 2rem;
2020-05-24 09:04:07 +02:00
$grid-gutter-element-height: $grid-gutter-height;
2020-05-27 04:15:52 +02:00
$border-radius: 0.25rem;
$border-radius-lg: 0.3rem;
$border-radius-sm: 0.2rem;
$font-size-base: 1rem;
$h1-font-size: $font-size-base * 2.25;
$h3-font-size: $font-size-base * 1.75;
$h4-font-size: $font-size-base * 1.5;
$h5-font-size: $font-size-base * 1.25;
$h6-font-size: $font-size-base;
@import '~@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/scss/_variables';
2019-11-07 19:26:33 +01:00
// Add your site-wide + content editor typography styling
2021-01-13 20:03:21 +01:00
$nav-link-hover-bg: darken($body-bg, 10%);
$nav-link-hover-color: lighten($body-color, 10%);
2021-01-02 15:08:21 +01:00
$full-body-min-width: map-get($grid-breakpoints, 'md');
$header-bg: $dark;
$header-color: darken($white, 5%);
$header-link: $white;
2021-01-13 20:03:21 +01:00
$main-nav-link-color: $white;
$main-nav-link-bg: none;
$main-nav-toggler-size: 2rem;
$main-nav-link-hover-bg: none;
$main-nav-link-hover-color: $primary;
$main-nav-dropdown-bg: $header-bg;
$main-nav-dropdown-color: $header-link;
$main-nav-dropdown-hover-bg: darken($header-bg, 10%);
$main-nav-dropdown-hover-color: $primary;
2021-01-02 15:08:21 +01:00
$footer-size: 7rem;
$footer-bar-size: 2rem;
$footer-bg: $dark;
$footer-color: darken($white, 5%);
$footer-link: $white;
$footer-footer-bg: darken($dark, 5%);
2019-11-07 19:26:33 +01:00
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
color: $headings-color;
2019-11-07 19:26:33 +01:00
}