-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
75 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,49 @@ | ||
// Custom Theming for Angular Material | ||
// For more information: https://material.angular.io/guide/theming | ||
@use '@angular/material' as mat; | ||
// Plus imports for other components in your app. | ||
|
||
// Include the common styles for Angular Material. We include this here so that you only | ||
// have to load a single css file for Angular Material in your app. | ||
// Be sure that you only ever include this mixin once! | ||
@include mat.core(); | ||
|
||
// Define the palettes for your theme using the Material Design palettes available in palette.scss | ||
// (imported above). For each palette, you can optionally specify a default, lighter, and darker | ||
// hue. Available color palettes: https://material.io/design/color/ | ||
$blueprint-angular-primary: mat.define-palette(mat.$teal-palette); | ||
$blueprint-angular-accent: mat.define-palette(mat.$blue-grey-palette); | ||
|
||
// The warn palette is optional (defaults to red). | ||
$blueprint-angular-warn: mat.define-palette(mat.$red-palette); | ||
|
||
// Create the theme object. A theme consists of configurations for individual | ||
// theming systems such as "color" or "typography". | ||
$blueprint-angular-theme: mat.define-light-theme( | ||
( | ||
color: ( | ||
primary: $blueprint-angular-primary, | ||
accent: $blueprint-angular-accent, | ||
warn: $blueprint-angular-warn, | ||
), | ||
) | ||
); | ||
|
||
// Include theme styles for core and each component used in your app. | ||
// Alternatively, you can import and @include the theme mixins for each component | ||
// that you are using. | ||
@include mat.all-component-themes($blueprint-angular-theme); | ||
|
||
/* You can add global styles to this file, and also import other style files */ | ||
body { | ||
margin: 0; | ||
} | ||
|
||
html, | ||
body { | ||
height: 100%; | ||
} | ||
body { | ||
margin: 0; | ||
font-family: Roboto, 'Helvetica Neue', sans-serif; | ||
} |