From 865d9706a6085632894837304db785be8b2cb2bd Mon Sep 17 00:00:00 2001 From: aswathy-deriv Date: Fri, 12 Jan 2024 09:56:52 +0400 Subject: [PATCH] fix: converting the font from static to google static font --- static/css/ubuntu.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/static/css/ubuntu.css b/static/css/ubuntu.css index 72d698f9267..39acaa6731f 100644 --- a/static/css/ubuntu.css +++ b/static/css/ubuntu.css @@ -1,27 +1,28 @@ @font-face { font-family: 'Ubuntu'; - src:url('../fonts/Ubuntu-Regular.woff2') format('woff2'); + src: url('https://fonts.gstatic.com/s/ubuntu/v20/4iCv6KVjbNBYlgoCxCvjsGyNPYZvgw.woff2') + format('woff2'); font-display: swap; font-weight: 100 400; } @font-face { font-family: 'Ubuntu'; - src:url('../fonts/Ubuntu-Bold.woff2') format('woff2'); + src: url('../fonts/Ubuntu-Bold.woff2') format('woff2'); font-display: swap; font-weight: 800; } @font-face { font-family: 'Ubuntu'; - src:url('../fonts/Ubuntu-Light.woff2') format('woff2'); + src: url('../fonts/Ubuntu-Light.woff2') format('woff2'); font-display: swap; font-weight: 200; } @font-face { font-family: 'Ubuntu'; - src:url('../fonts/Ubuntu-Medium.woff2') format('woff2'); + src: url('../fonts/Ubuntu-Medium.woff2') format('woff2'); font-display: swap; font-weight: 500; }