From 6637322c8ab1c5ff80a2b6ca59c9ba1d40aeba2c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 19:56:50 +0200 Subject: Adding upstream version 2.0.0+dfsg. Signed-off-by: Daniel Baumann --- src/sass/_theme_font_local.sass | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/sass/_theme_font_local.sass (limited to 'src/sass/_theme_font_local.sass') diff --git a/src/sass/_theme_font_local.sass b/src/sass/_theme_font_local.sass new file mode 100644 index 0000000..48f22e7 --- /dev/null +++ b/src/sass/_theme_font_local.sass @@ -0,0 +1,44 @@ +$lato-font-path: "~lato-font/fonts" +$roboto-font-path: "~roboto-fontface/fonts/roboto-slab" + +@font-face + font-family: 'Lato' + src: url('#{$lato-font-path}/lato-normal/lato-normal.woff2') format('woff2'), url('#{$lato-font-path}/lato-normal/lato-normal.woff') format('woff') + font-weight: 400 + font-style: normal + font-display: $font-display + +@font-face + font-family: 'Lato' + src: url('#{$lato-font-path}/lato-bold/lato-bold.woff2') format('woff2'), url('#{$lato-font-path}/lato-bold/lato-bold.woff') format('woff') + font-weight: 700 + font-style: normal + font-display: $font-display + +@font-face + font-family: 'Lato' + src: url('#{$lato-font-path}/lato-bold-italic/lato-bold-italic.woff2') format('woff2'), url('#{$lato-font-path}/lato-bold-italic/lato-bold-italic.woff') format('woff') + font-weight: 700 + font-style: italic + font-display: $font-display + +@font-face + font-family: 'Lato' + src: url('#{$lato-font-path}/lato-normal-italic/lato-normal-italic.woff2') format('woff2'), url('#{$lato-font-path}/lato-normal-italic/lato-normal-italic.woff') format('woff') + font-weight: 400 + font-style: italic + font-display: $font-display + +@font-face + font-family: 'Roboto Slab' + font-style: normal + font-weight: 400 + src: url('#{$roboto-font-path}/Roboto-Slab-Regular.woff2') format('woff2'), url('#{$roboto-font-path}/Roboto-Slab-Regular.woff') format('woff') + font-display: $font-display + +@font-face + font-family: 'Roboto Slab' + font-style: normal + font-weight: 700 + src: url('#{$roboto-font-path}/Roboto-Slab-Bold.woff2') format('woff2'), url('#{$roboto-font-path}/Roboto-Slab-Bold.woff') format('woff') + font-display: $font-display -- cgit v1.2.3