From 02187b19bb47b0cc8f475b48f75b811bfd2401b5 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Mon, 8 Jan 2024 08:50:42 +0530 Subject: [PATCH] Customize font styling for documentation --- documentation/src/css/custom.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/documentation/src/css/custom.css b/documentation/src/css/custom.css index 5ee44bf2..8daba1ed 100644 --- a/documentation/src/css/custom.css +++ b/documentation/src/css/custom.css @@ -4,6 +4,8 @@ * work well for content-centric websites. */ + @import url('https://fonts.googleapis.com/css2?family=Source+Sans+3&display=swap'); + /* You can override the default Infima variables here. */ :root { --ifm-color-primary: #fcc50b; @@ -14,6 +16,7 @@ --ifm-color-primary-lighter: #fcc50b; --ifm-color-primary-lightest: #fcc50b; --ifm-code-font-size: 95%; + --ifm-heading-font-family: 'Source Sans 3', sans-serif; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); } @@ -28,3 +31,7 @@ --ifm-color-primary-lightest: #fcc50b; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); } + +body { + font-family: 'Source Sans 3', sans-serif; +}