From 95cb7363bb338334cca0e839eb480e2ae368d0c6 Mon Sep 17 00:00:00 2001 From: tuhana Date: Sat, 13 Jul 2024 16:42:51 +0300 Subject: [PATCH] Update code comments --- src/extend.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extend.ts b/src/extend.ts index dfcba2e..fc900da 100644 --- a/src/extend.ts +++ b/src/extend.ts @@ -21,7 +21,7 @@ export const extendTheme = ( // If `defaultFlavour` is set, and if it exists: if (defaultFlavour && flavours[defaultFlavour]) { - // Iterate through the colours of the flavours and add them to the target + // Iterate through the colours of that flavour and add them to the target for (let [colourName, colour] of flavours[defaultFlavour].colorEntries) { if (!prefix && target[colourName]) { target['ctp'] ??= {}; @@ -31,7 +31,7 @@ export const extendTheme = ( } } } - // If `defaultFlavour` is not set, or if it doesn't exist: + // If `defaultFlavour` is not set, or specificed flavour doesn't exist: else { // Iterate through all the flavours, for (let [flavourName, flavour] of flavourEntries) {