From c6c2b7b31500189d2f3ae3990576e31366c95734 Mon Sep 17 00:00:00 2001 From: Lingxi Li Date: Sun, 15 Jan 2023 23:51:13 -0500 Subject: [PATCH] fix: an incorrect reference link. --- generator/helper.ts | 2 +- output/RadixColors.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/helper.ts b/generator/helper.ts index 53fe294..0525652 100644 --- a/generator/helper.ts +++ b/generator/helper.ts @@ -1,6 +1,6 @@ // This part of code is referencing from: https://www.swiftbysundell.com/articles/defining-dynamic-colors-in-swift/ export const helperExtensions = ` -// Algorithm coming from: https://en.wikipedia.org/wiki/HSL_and_HSV#HSL_to_HSV +// Algorithm coming from: https://en.wikipedia.org/wiki/HSL_and_HSV#HSV_to_HSL extension Color { /** - Parameter h: Range from 0 to 360. diff --git a/output/RadixColors.swift b/output/RadixColors.swift index 1db6090..ae1d996 100644 --- a/output/RadixColors.swift +++ b/output/RadixColors.swift @@ -2366,7 +2366,7 @@ extension Color { } #endif -// Algorithm coming from: https://en.wikipedia.org/wiki/HSL_and_HSV#HSL_to_HSV +// Algorithm coming from: https://en.wikipedia.org/wiki/HSL_and_HSV#HSV_to_HSL extension Color { /** - Parameter h: Range from 0 to 360.