Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit c971014

Browse files
Update functions.ts
1 parent 8447ab1 commit c971014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/styled-system/src/functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export const getContrast = (hexstring: string, colors?: ColorsType): string => {
174174
// Check if the hexstring is transparent.
175175
if (hexstring === 'transparent') {
176176
return 'initial';
177-
// Check the format of the color, HEX or RGB?
177+
// Check the format of the color, HEX or RGB?
178178
} else if (hexstring.match(/^rgb/)) {
179179
// If RGB --> store the red, green, blue values in separate variables
180180
const color = hexstring.match(

0 commit comments

Comments
 (0)