Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Commit 16f21ff

Browse files
authored
Merge pull request #934 from sitogi/fix/use-checkbox-color
fix(use-checkbox): fixed text color in dark mode
2 parents e259ab0 + 7fa0602 commit 16f21ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/docs/hooks/use-checkbox-group.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function Example() {
6161
>
6262
{state.isChecked && <Box w={2} h={2} bg='green.500' />}
6363
</Flex>
64-
<Text {...getLabelProps()}>Click me for {props.value}</Text>
64+
<Text color="gray.700" {...getLabelProps()}>Click me for {props.value}</Text>
6565
</chakra.label>
6666
)
6767
}

content/docs/hooks/use-checkbox.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function Example() {
6161
>
6262
{state.isChecked && <Box w={2} h={2} bg='green.500' />}
6363
</Flex>
64-
<Text {...getLabelProps()}>Click me</Text>
64+
<Text color="gray.700" {...getLabelProps()}>Click me</Text>
6565
</chakra.label>
6666
)
6767
}

0 commit comments

Comments
 (0)