From ef064c40d14c1eb95f5f1c51a7b417a02b84b3eb Mon Sep 17 00:00:00 2001 From: Sarthak Date: Thu, 7 Oct 2021 01:01:17 +0530 Subject: [PATCH] Font updated --- Mode Toggler/Script.js | 1 + Mode Toggler/Style.css | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/Mode Toggler/Script.js b/Mode Toggler/Script.js index deb29fe..2e68b45 100644 --- a/Mode Toggler/Script.js +++ b/Mode Toggler/Script.js @@ -4,3 +4,4 @@ toggler.addEventListener("click", () => { document.querySelector("body").classList.toggle("dark-mode"); document.querySelector(".btn").classList.toggle("btn-dark-mode"); }); + diff --git a/Mode Toggler/Style.css b/Mode Toggler/Style.css index f31b8ea..8604ff5 100644 --- a/Mode Toggler/Style.css +++ b/Mode Toggler/Style.css @@ -1,3 +1,4 @@ +@import url('https://fonts.googleapis.com/css2?family=Graduate&display=swap'); * { margin: 0; padding: 0; @@ -18,6 +19,15 @@ body { -ms-transition: 0.5s; -o-transition: 0.5s; } + +h1{ + font-size: 50px; + font-family: 'Graduate', cursive; +} + +h2{ + font-size: 35px; +} .toggler { position: relative; display: flex;