forked from Sylius/Sylius
-
Notifications
You must be signed in to change notification settings - Fork 1
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
21 changed files
with
102 additions
and
33 deletions.
There are no files selected for viewing
Binary file removed
BIN
-786 KB
src/Sylius/Bundle/AdminBundle/Resources/assets/fonts/Inter-VariableFont_slnt,wght.ttf
Binary file not shown.
Binary file added
BIN
+379 KB
src/Sylius/Bundle/AdminBundle/Resources/assets/fonts/InterVariable-Italic.woff2
Binary file not shown.
Binary file added
BIN
+344 KB
src/Sylius/Bundle/AdminBundle/Resources/assets/fonts/InterVariable.woff2
Binary file not shown.
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
35 changes: 35 additions & 0 deletions
35
src/Sylius/Bundle/AdminBundle/Resources/assets/styles/_fonts.scss
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* This file is part of the Sylius package. | ||
* | ||
* (c) Sylius Sp. z o.o. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
:root { | ||
font-feature-settings: "cv03", "cv04", "cv11"; | ||
} | ||
|
||
@supports (font-variation-settings: normal) { | ||
:root { | ||
font-family: "InterVariable", "Arial", sans-serif; | ||
font-optical-sizing: auto; | ||
} | ||
} | ||
|
||
@font-face { | ||
font-family: InterVariable; | ||
font-style: normal; | ||
font-weight: 100 900; | ||
font-display: swap; | ||
src: url("../fonts/InterVariable.woff2") format("woff2"); | ||
} | ||
|
||
@font-face { | ||
font-family: InterVariable; | ||
font-style: italic; | ||
font-weight: 100 900; | ||
font-display: optional; | ||
src: url("../fonts/InterVariable-Italic.woff2") format("woff2"); | ||
} |
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
5 changes: 5 additions & 0 deletions
5
src/Sylius/Bundle/AdminBundle/Resources/config/app/twig_hooks/common/layout.yaml
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
5 changes: 5 additions & 0 deletions
5
src/Sylius/Bundle/AdminBundle/templates/shared/layout/base/metatags.html.twig
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<link rel="preload" href="{{ asset('build/admin/fonts/InterVariable.woff2', 'admin') }}" as="font" type="font/woff2" crossorigin="anonymous"> | ||
<link rel="preload" href="{{ asset('build/admin/fonts/InterVariable-Italic.woff2', 'admin') }}" as="font" type="font/woff2" crossorigin="anonymous"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
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
Binary file added
BIN
+379 KB
src/Sylius/Bundle/ShopBundle/Resources/assets/fonts/InterVariable-Italic.woff2
Binary file not shown.
Binary file added
BIN
+344 KB
src/Sylius/Bundle/ShopBundle/Resources/assets/fonts/InterVariable.woff2
Binary file not shown.
Binary file removed
BIN
-786 KB
src/Sylius/Bundle/ShopBundle/Resources/assets/fonts/inter-variable-font-slnt-wght.ttf
Binary file not shown.
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
35 changes: 35 additions & 0 deletions
35
src/Sylius/Bundle/ShopBundle/Resources/assets/styles/_fonts.scss
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* This file is part of the Sylius package. | ||
* | ||
* (c) Sylius Sp. z o.o. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
:root { | ||
font-feature-settings: "cv03", "cv04", "cv11"; | ||
} | ||
|
||
@supports (font-variation-settings: normal) { | ||
:root { | ||
font-family: "InterVariable", "Arial", sans-serif; | ||
font-optical-sizing: auto; | ||
} | ||
} | ||
|
||
@font-face { | ||
font-family: InterVariable; | ||
font-style: normal; | ||
font-weight: 100 900; | ||
font-display: swap; | ||
src: url("../fonts/InterVariable.woff2") format("woff2"); | ||
} | ||
|
||
@font-face { | ||
font-family: InterVariable; | ||
font-style: italic; | ||
font-weight: 100 900; | ||
font-display: optional; | ||
src: url("../fonts/InterVariable-Italic.woff2") format("woff2"); | ||
} |
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
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
5 changes: 5 additions & 0 deletions
5
src/Sylius/Bundle/ShopBundle/templates/shared/layout/base/metatags.html.twig
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<link rel="preload" href="{{ asset('build/shop/fonts/InterVariable.woff2', 'shop') }}" as="font" type="font/woff2" crossorigin="anonymous"> | ||
<link rel="preload" href="{{ asset('build/shop/fonts/InterVariable-Italic.woff2', 'shop') }}" as="font" type="font/woff2" crossorigin="anonymous"> | ||
<meta content="width=device-width, initial-scale=1, maximum-scale=5, user-scalable=yes" name="viewport"> |