From 5208a96a3768e92d203e3d2c6fd3a79e21be64be Mon Sep 17 00:00:00 2001
From: Jon Erling Hustadnes <jonerling.hustadnes@proton.me>
Date: Mon, 05 Jan 2026 11:34:45 +0000
Subject: [PATCH] fix(build.ts/startWatching): add option `awaitWriteFinish` with 250ms threshold (#2235)

---
 quartz/util/og.tsx |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/quartz/util/og.tsx b/quartz/util/og.tsx
index 41f885b..2afd606 100644
--- a/quartz/util/og.tsx
+++ b/quartz/util/og.tsx
@@ -9,7 +9,7 @@
 import { formatDate, getDate } from "../components/Date"
 import readingTime from "reading-time"
 import { i18n } from "../i18n"
-import chalk from "chalk"
+import { styleText } from "util"
 
 const defaultHeaderWeight = [700]
 const defaultBodyWeight = [400]
@@ -100,7 +100,8 @@
 
   if (!match) {
     console.log(
-      chalk.yellow(
+      styleText(
+        "yellow",
         `\nWarning: Failed to fetch font ${rawFontName} with weight ${weight}, got ${cssResponse.statusText}`,
       ),
     )

--
Gitblit v1.10.0