From 5213332a30c375246f4a4847a085c1261a7be01d Mon Sep 17 00:00:00 2001 From: bozokopic Date: Fri, 13 Apr 2018 15:44:53 +0200 Subject: web frontend --- src_web/style/fonts/_font.scss | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src_web/style/fonts/_font.scss (limited to 'src_web/style/fonts/_font.scss') 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; + } +} -- cgit v1.2.3-70-g09d2