Skip to content

Commit

Permalink
Update code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
catuhana committed Jul 13, 2024
1 parent a9e3607 commit 95cb736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'] ??= {};
Expand All @@ -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) {
Expand Down

0 comments on commit 95cb736

Please sign in to comment.