|
|
|
@ -1,125 +0,0 @@ |
|
|
|
|
// ----------------------------------------------------------------------------------------------------- |
|
|
|
|
// @ Custom color maps |
|
|
|
|
// ----------------------------------------------------------------------------------------------------- |
|
|
|
|
$navy-app-theme: ( |
|
|
|
|
50: #ECECEE, |
|
|
|
|
100: #C5C6CB, |
|
|
|
|
200: #9EA1A9, |
|
|
|
|
300: #7D818C, |
|
|
|
|
400: #5C616F, |
|
|
|
|
500: #E89759, |
|
|
|
|
600: #353A48, |
|
|
|
|
700: #2D323E, |
|
|
|
|
800: #262933, |
|
|
|
|
900: #1E2129, |
|
|
|
|
A100: #C5C6CB, |
|
|
|
|
A200: #9EA1A9, |
|
|
|
|
A400: #5C616F, |
|
|
|
|
A700: #2D323E, |
|
|
|
|
contrast: ( |
|
|
|
|
50: $dark-primary-text, |
|
|
|
|
100: $dark-primary-text, |
|
|
|
|
200: $dark-primary-text, |
|
|
|
|
300: $light-primary-text, |
|
|
|
|
400: $light-primary-text, |
|
|
|
|
500: $light-primary-text, |
|
|
|
|
600: $light-primary-text, |
|
|
|
|
700: $light-primary-text, |
|
|
|
|
800: $light-primary-text, |
|
|
|
|
900: $light-primary-text, |
|
|
|
|
A100: $dark-primary-text, |
|
|
|
|
A200: $light-primary-text, |
|
|
|
|
A400: $light-primary-text, |
|
|
|
|
A700: $light-primary-text, |
|
|
|
|
) |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
$apside-primary-app-theme: ( |
|
|
|
|
50: #ECECEE, |
|
|
|
|
100: #C5C6CB, |
|
|
|
|
200: #9EA1A9, |
|
|
|
|
300: #7D818C, |
|
|
|
|
400: #5C616F, |
|
|
|
|
500: #E89759, |
|
|
|
|
600: #353A48, |
|
|
|
|
700: #2D323E, |
|
|
|
|
800: #262933, |
|
|
|
|
900: #1E2129, |
|
|
|
|
A100: #C5C6CB, |
|
|
|
|
A200: #9EA1A9, |
|
|
|
|
A400: #5C616F, |
|
|
|
|
A700: #2D323E, |
|
|
|
|
contrast: ( |
|
|
|
|
50: $dark-primary-text, |
|
|
|
|
100: $dark-primary-text, |
|
|
|
|
200: $dark-primary-text, |
|
|
|
|
300: $light-primary-text, |
|
|
|
|
400: $light-primary-text, |
|
|
|
|
500: $light-primary-text, |
|
|
|
|
600: $light-primary-text, |
|
|
|
|
700: $light-primary-text, |
|
|
|
|
800: $light-primary-text, |
|
|
|
|
900: $light-primary-text, |
|
|
|
|
A100: $dark-primary-text, |
|
|
|
|
A200: $light-primary-text, |
|
|
|
|
A400: $light-primary-text, |
|
|
|
|
A700: $light-primary-text, |
|
|
|
|
) |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------------------------------- |
|
|
|
|
// @ Define the default theme |
|
|
|
|
// ----------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
// Define the primary, accent and warn palettes |
|
|
|
|
$default-primary-palette: mat-palette($navy-app-theme); |
|
|
|
|
$default-accent-palette: mat-palette($mat-light-blue, 600, 400, 700); |
|
|
|
|
$default-warn-palette: mat-palette($mat-red); |
|
|
|
|
|
|
|
|
|
// Create the Material theme object |
|
|
|
|
$theme: mat-light-theme($default-primary-palette, $default-accent-palette, $default-warn-palette); |
|
|
|
|
|
|
|
|
|
// Add ".theme-default" class to the body to activate this theme. |
|
|
|
|
// Class name must start with "theme-" !!! |
|
|
|
|
.theme-default { |
|
|
|
|
|
|
|
|
|
// Create an Angular Material theme from the $theme map |
|
|
|
|
@include angular-material-theme($theme); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------------------------------- |
|
|
|
|
// @ Define a blue-gray dark theme |
|
|
|
|
// ----------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
// Define the primary, accent and warn palettes |
|
|
|
|
$blue-gray-dark-theme-primary-palette: mat-palette($navy-app-theme); |
|
|
|
|
$blue-gray-dark-theme-accent-palette: mat-palette($mat-blue-gray); |
|
|
|
|
$blue-gray-dark-theme-warn-palette: mat-palette($mat-red); |
|
|
|
|
|
|
|
|
|
// Create the Material theme object |
|
|
|
|
$blue-gray-dark-theme: mat-dark-theme($blue-gray-dark-theme-primary-palette, $blue-gray-dark-theme-accent-palette, $blue-gray-dark-theme-warn-palette); |
|
|
|
|
|
|
|
|
|
// Add ".theme-blue-gray-dark" class to the body to activate this theme. |
|
|
|
|
// Class name must start with "theme-" !!! |
|
|
|
|
.theme-blue-gray-dark { |
|
|
|
|
|
|
|
|
|
// Generate the Angular Material theme |
|
|
|
|
@include angular-material-theme($blue-gray-dark-theme); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------------------------------- |
|
|
|
|
// @ Typography |
|
|
|
|
// ----------------------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
// Angular Material typography |
|
|
|
|
$typography: mat-typography-config( |
|
|
|
|
$font-family: 'Muli, Helvetica Neue, Arial, sans-serif', |
|
|
|
|
$title: mat-typography-level(20px, 32px, 600), |
|
|
|
|
$body-2: mat-typography-level(14px, 24px, 600), |
|
|
|
|
$button: mat-typography-level(14px, 14px, 600), |
|
|
|
|
$input: mat-typography-level(16px, 1.125, 400) // line-height must be unitless !!! |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
// Setup the typography |
|
|
|
|
@include angular-material-typography($typography); |