diff options
| author | bozokopic <bozo.kopic@gmail.com> | 2018-04-13 15:44:53 +0200 |
|---|---|---|
| committer | bozokopic <bozo.kopic@gmail.com> | 2018-04-13 15:44:53 +0200 |
| commit | 5213332a30c375246f4a4847a085c1261a7be01d (patch) | |
| tree | ec958c6a835fefafaefa3820ece4c37b2308ad28 /src_web/style/fonts/_font.scss | |
| parent | 318d40be1796b91f0df2946598585717467912ee (diff) | |
web frontend
Diffstat (limited to 'src_web/style/fonts/_font.scss')
| -rw-r--r-- | src_web/style/fonts/_font.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src_web/style/fonts/_font.scss b/src_web/style/fonts/_font.scss new file mode 100644 index 0000000..89b466c --- /dev/null +++ b/src_web/style/fonts/_font.scss @@ -0,0 +1,9 @@ +
+@mixin font($variant, $type, $weight, $style) {
+ @font-face {
+ font-family: '#{$variant}';
+ src: url('../fonts/#{$variant}/#{$variant}-#{$type}.ttf') format('truetype');
+ font-weight: $weight;
+ font-style: $style;
+ }
+}
|
