ldc-legaulois/resources/sass/fo/utilities/_variables.scss
2024-04-19 11:59:53 +02:00

137 lines
3.8 KiB
SCSS

@use "sass:color";
// * COLORS
$color-white: #fff;
$color-light: #fbf8f5;
$color-dark: #212425;
$color-success: #063;
$color-danger: #e30513;
$color-info: #5fbfed;
$color-warning: #ffc500;
$color-primary: #0f437e;
$color-secondary: #4e3238;
$color-tertiary: #f3ebe4;
$color-quad: #1175b7;
$color-quint: #c7d400;
$color-sixt: #fab7d8;
// * BS OPTIONS
$prefix: bs- !default;
$enable-dark-mode: false;
$enable-shadows: true;
// * CONTRAST COLORS
$color-contrast-dark: $color-secondary;
$color-contrast-light: $color-white;
// * BACKGROUNDS COLORS
$bg-lightened: $color-light;
$bg-darkened: $color-dark;
$bg-action: $color-primary;
// * FONTS COLORS
$color-default-titles: $color-secondary;
$color-default-texts: $color-secondary;
// * FONTS
$font-default-family-base: "Catamaran", "Trebuchet MS", "Verdana", sans-serif; // - The default site font family.
$font-default-size-base: 0.875rem; // Assumes the browser default, typically `16px`
$line-default-height-base: 1.286;
// * MENU
$top-menu-offset: 8.5rem;
// * BODY
$body-color: $color-default-texts;
$body-bg: $color-light;
$body-secondary-color: color.adjust($color-default-texts, $lightness: 30%);
$body-secondary-bg: $color-tertiary;
$body-tertiary-color: $color-white;
$body-tertiary-bg: color.adjust($color-tertiary, $lightness: -20%);
// * HEADINGS
$h1-font-size: $font-default-size-base * 3.1429;
$h2-font-size: $font-default-size-base * 2.4285;
$h3-font-size: $font-default-size-base * 2;
$h4-font-size: $font-default-size-base * 1.5714;
$h5-font-size: $font-default-size-base * 1.1428;
$h6-font-size: $font-default-size-base;
$headings-font-family: bourtonbase, sans-serif;
$headings-font-style: normal;
$headings-font-weight: 400;
$headings-line-height: 1.059;
$headings-color: $color-default-titles !default;
// * BREAKPOINTS
$grid-breakpoints: (
xs: 0,
xsmin: 350px,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px,
xxl: 1400px
);
// * RADIUSES
$border-radius: 0;
$border-radius-sm: 0;
$border-radius-lg: 0;
$border-radius-xl: 0;
$border-radius-xxl: 0;
// * COMPONENTS
$component-active-color: $color-white;
$component-active-bg: $color-secondary;
// * LINKS
$link-color: $color-default-texts;
$link-shade-percentage: 20%;
$link-hover-color: if($link-shade-percentage > 0, color.mix(#000, $link-color, $link-shade-percentage), color.mix(#FFF, $link-color, -$link-shade-percentage));
// * BUTTONS + FORMS
$input-btn-padding-y: .75rem;
$input-btn-padding-x: 1.12rem;
$input-btn-padding-y-sm: $input-btn-padding-y * .875;
$input-btn-padding-x-sm: $input-btn-padding-x * .875;
$input-btn-padding-y-lg: $input-btn-padding-y * 1.25;
$input-btn-padding-x-lg: $input-btn-padding-x * 1.25;
$input-btn-font-family: "BourtonBase", sans-serif;
// * LABELS
$form-label-font-size: 1rem;
$form-label-font-style: normal;
$form-label-font-weight: 400;
$form-label-color: color-default-texts;
// * INPUTS
$input-padding-y: 1.06rem;
$input-padding-x: 1.25rem;
$input-padding-y-sm: $input-padding-y * .875;
$input-padding-x-sm: $input-padding-y * .875;
$input-padding-y-lg: $input-padding-y * 1.25;
$input-padding-x-lg: $input-padding-y * 1.25;
$input-font-family: $font-default-family-base;
$input-bg: $color-white;
$input-placeholder-color: #a7989b;
$input-border-width: 0;
// * FILES INPUTS
$form-file-button-color: $color-default-texts;
$form-file-button-bg: $color-warning;
$form-file-button-hover-bg: color.adjust($color-warning, $lightness: -4%);
// * CHECKBOX
$form-check-input-border: var(--#{$prefix}border-width) solid #{$color-default-texts} !default;
// * INPUT GROUPS
// $input-group-addon-color: $body-tertiary-color;
// $input-group-addon-bg: $body-tertiary-bg;
$input-group-addon-border-color: transparent;
// * PAGINATION
$pagination-bg: $body-bg;
$pagination-hover-color: $link-hover-color;
$pagination-hover-bg: color.adjust($body-bg, $lightness: -6%);