Merge branch 'ng10' into 'master'
Ajout de la police d'écriture dans le projet See merge request color-recipes-explorer/frontend!20
This commit is contained in:
commit
26415c7f8c
BIN
src/assets/fonts/Bold/OpenSans-Bold.woff
Normal file
BIN
src/assets/fonts/Bold/OpenSans-Bold.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/Bold/OpenSans-Bold.woff2
Normal file
BIN
src/assets/fonts/Bold/OpenSans-Bold.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/BoldItalic/OpenSans-BoldItalic.woff
Normal file
BIN
src/assets/fonts/BoldItalic/OpenSans-BoldItalic.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/BoldItalic/OpenSans-BoldItalic.woff2
Normal file
BIN
src/assets/fonts/BoldItalic/OpenSans-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/Italic/OpenSans-Italic.woff
Normal file
BIN
src/assets/fonts/Italic/OpenSans-Italic.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/Italic/OpenSans-Italic.woff2
Normal file
BIN
src/assets/fonts/Italic/OpenSans-Italic.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/Regular/OpenSans-Regular.woff
Normal file
BIN
src/assets/fonts/Regular/OpenSans-Regular.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/Regular/OpenSans-Regular.woff2
Normal file
BIN
src/assets/fonts/Regular/OpenSans-Regular.woff2
Normal file
Binary file not shown.
27
src/assets/sass/modules/_fonts.sass
Normal file
27
src/assets/sass/modules/_fonts.sass
Normal file
@ -0,0 +1,27 @@
|
||||
@font-face
|
||||
font-family: 'Open Sans'
|
||||
src: local('Open Sans Bold'), local('OpenSans-Bold'), url('../../fonts/Bold/OpenSans-Bold.woff2') format('woff2'), url('../../fonts/Bold/OpenSans-Bold.woff') format('woff')
|
||||
font-weight: bold
|
||||
font-style: normal
|
||||
font-display: swap
|
||||
|
||||
@font-face
|
||||
font-family: 'Open Sans'
|
||||
src: local('Open Sans Regular'), local('OpenSans-Regular'), url('../../fonts/Regular/OpenSans-Regular.woff2') format('woff2'), url('../../fonts/Regular/OpenSans-Regular.woff') format('woff')
|
||||
font-weight: normal
|
||||
font-style: normal
|
||||
font-display: swap
|
||||
|
||||
@font-face
|
||||
font-family: 'Open Sans'
|
||||
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('../../fonts/Italic/OpenSans-Italic.woff2') format('woff2'), url('../../fonts/Italic/OpenSans-Italic.woff') format('woff')
|
||||
font-weight: normal
|
||||
font-style: italic
|
||||
font-display: swap
|
||||
|
||||
@font-face
|
||||
font-family: 'Open Sans'
|
||||
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url('../../fonts/BoldItalic/OpenSans-BoldItalic.woff2') format('woff2'), url('../../fonts/BoldItalic/OpenSans-BoldItalic.woff') format('woff')
|
||||
font-weight: bold
|
||||
font-style: italic
|
||||
font-display: swap
|
@ -12,7 +12,7 @@ $custom-typography: mat-typography-config(
|
||||
// Be sure that you only ever include this mixin once!
|
||||
@include mat-core($custom-typography);
|
||||
|
||||
// Define the palettes for your theme using the Material Design palettes available in palette.scss
|
||||
// Define the palettes for your theme using the Material Design palettes available in palette.sass
|
||||
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
|
||||
// hue. Available color palettes: https://material.io/design/color/
|
||||
$theme-primary: mat-palette((
|
||||
|
@ -1,3 +1,4 @@
|
||||
@import 'assets/sass/modules/_fonts.sass'
|
||||
@import "custom-theme"
|
||||
@import "~material-design-icons/iconfont/material-icons.css"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user