From ee4beb57dbf205192bfece9001c80fb1b7908e63 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Fri, 26 Mar 2021 12:27:33 +0100 Subject: [PATCH] Do not import darkswarm file into admin, but only needed selector --- .../stylesheets/shared/variables/variables.scss | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/shared/variables/variables.scss b/app/assets/stylesheets/shared/variables/variables.scss index 04e2d9eae5..c0bdd5fab1 100644 --- a/app/assets/stylesheets/shared/variables/variables.scss +++ b/app/assets/stylesheets/shared/variables/variables.scss @@ -3,7 +3,18 @@ $radius-small: 0.25em; $white: #fff; $dynamic-blue: #3d8dd1; $teal-500: #0096ad; -@import "../../darkswarm/style"; // Import "OFN" font + +@font-face { + font-family: 'OFN'; + src: font-url('OFN-v2.eot'); + src: font-url('OFN-v2.eot') format('embedded-opentype'), + font-url('OFN-v2.woff') format('woff'), + font-url('OFN-v2.ttf') format('truetype'), + font-url('OFN-v2.svg') format('svg'); + font-weight: normal; + font-style: normal; +} + @mixin icon-font { font-family: "OFN"; display: inline-block;