From 1e633510a85e98204f2815b0e9e78b6231e43eb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Mon, 14 Feb 2022 20:47:01 +0100 Subject: [PATCH] Re-add font styles include for rte --- .../Private/Assets/scss/base/_fonts.scss | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_fonts.scss diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_fonts.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_fonts.scss new file mode 100644 index 00000000..b055ca2a --- /dev/null +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_fonts.scss @@ -0,0 +1,43 @@ +/* lato-300 - latin */ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: local(''), + url('../../fonts/lato-v17-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../../fonts/lato-v17-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* lato-regular - latin */ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: local(''), + url('../../fonts/lato-v17-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../../fonts/lato-v17-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* lato-700 - latin */ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: local(''), + url('../../fonts/lato-v17-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../../fonts/lato-v17-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} + +/* lato-900 - latin */ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 900; + font-display: swap; + src: local(''), + url('../../fonts/lato-v17-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../../fonts/lato-v17-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +}