Closed

Description
Divide Color page only shows gray for all the divide borders.
By looking at the source code I figured lines 26 & 27 of src/pages/docs/divide-color.mdx could be the problem.
By replacing --divide-opacity with --tw-divide-opacity fixes the bug, like below
borderColor: Array.isArray(css['border-color'])
- ? css['border-color'][0].replace('var(--divide-opacity)', '1')
- : css['border-color'].replace('var(--divide-opacity)', '1'),
+ ? css['border-color'][0].replace('var(--tw-divide-opacity)', '1')
+ : css['border-color'].replace('var(--tw-divide-opacity)', '1'),
Can send a Pull Request if you guys accept.
Metadata
Metadata
Assignees
Labels
No labels