From 069fff72944fd2e5d94ec14f29d049b1c36b7771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Veikko=20Lintuj=C3=A4rvi?= Date: Tue, 3 Jun 2025 07:08:39 +0300 Subject: [PATCH] Remove css bloat --- app/components/Calendar.tsx | 2 -- app/globals.css | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/app/components/Calendar.tsx b/app/components/Calendar.tsx index 903c08b..d409afb 100644 --- a/app/components/Calendar.tsx +++ b/app/components/Calendar.tsx @@ -2,8 +2,6 @@ import { JSX, useEffect, useState } from "react"; import styles from "./Calendar.module.css"; import { getMonthName, daysInMonth } from "../utils/dateUtils"; - - const generateFirstWeekPadding = (month: number) => { const firstDay = new Date(new Date().getFullYear(), month, 1).getDay(); const padding = Array.from({ length: firstDay === 0 ? 6 : firstDay - 1 }, (_, index) => ( diff --git a/app/globals.css b/app/globals.css index bdff7d2..49632a8 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1,9 +1,4 @@ -:root { - --background: #ffffff; - --foreground: #171717; -} - body { - color: var(--foreground); - background: var(--background); + background: #ffffff; + color: #171717; } \ No newline at end of file