From e339b21f667c6995d6bfcb4e2aaa69b670cc39d4 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Sun, 3 Mar 2024 15:58:24 +0100 Subject: [PATCH] Uniform icon size class --- src/components/LayoutComponents/Navbar.astro | 10 +++------- .../LayoutComponents/ThemeSwitch.astro | 6 +++--- src/components/SkillCard.astro | 5 ++--- src/layouts/Layout.astro | 20 +++++++++++++++++-- src/layouts/MarkdownLayout.astro | 2 +- src/pages/me.astro | 5 ++--- 6 files changed, 29 insertions(+), 19 deletions(-) diff --git a/src/components/LayoutComponents/Navbar.astro b/src/components/LayoutComponents/Navbar.astro index 08cb00d..720d3bd 100644 --- a/src/components/LayoutComponents/Navbar.astro +++ b/src/components/LayoutComponents/Navbar.astro @@ -3,10 +3,6 @@ import { Image } from "astro:assets"; import { Icon } from "astro-icon/components"; import ThemeSwitch from "./ThemeSwitch.astro"; import logo from "./logo.png"; - -const defaultFontSize = 16; -// 120%, 2em -const svgSize = defaultFontSize * 1.2 * 2; ---