From b085a98e34ee1ba41054b2c0e1820c773fab8d89 Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 22 May 2020 12:27:17 +0200 Subject: [PATCH] fix: force font ligatures --- css/fira_code.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/css/fira_code.css b/css/fira_code.css index 8bb4114..2127734 100644 --- a/css/fira_code.css +++ b/css/fira_code.css @@ -1,41 +1,41 @@ @font-face { font-family: 'Fira Code'; - src: url('/fonts/woff2/FiraCode-Light.woff2') format('woff2'); + src: url('/fonts/woff2/FiraCode-Light.woff2') format('woff2') !important; font-weight: 300; font-style: normal; } @font-face { font-family: 'Fira Code'; - src: url('/fonts/woff2/FiraCode-Regular.woff2') format('woff2'); + src: url('/fonts/woff2/FiraCode-Regular.woff2') format('woff2') !important; font-weight: 400; font-style: normal; } @font-face { font-family: 'Fira Code'; - src: url('/fonts/woff2/FiraCode-Medium.woff2') format('woff2'); + src: url('/fonts/woff2/FiraCode-Medium.woff2') format('woff2') !important; font-weight: 500; font-style: normal; } @font-face { font-family: 'Fira Code'; - src: url('/fonts/woff2/FiraCode-SemiBold.woff2') format('woff2'); + src: url('/fonts/woff2/FiraCode-SemiBold.woff2') format('woff2') !important; font-weight: 600; font-style: normal; } @font-face { font-family: 'Fira Code'; - src: url('/fonts/woff2/FiraCode-Bold.woff2') format('woff2'); + src: url('/fonts/woff2/FiraCode-Bold.woff2') format('woff2') !important; font-weight: 700; font-style: normal; } @font-face { font-family: 'Fira Code VF'; - src: url('/fonts/woff2/FiraCode-VF.woff2') format('woff2-variations'); + src: url('/fonts/woff2/FiraCode-VF.woff2') format('woff2-variations') !important; /* [> font-weight requires a range: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Using_a_variable_font_font-face_changes <] */ font-weight: 300 700; font-style: normal;