View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (17 forks)github user discovery
good first issue

Repository metrics

Stars
 (391 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Currently the chart theme colours are broken due to a typo.

Currently it is: https://github.com/unocss-community/unocss-preset-shadcn/blob/bb329133e82e593af66846c2cfff51496958127e/src/index.ts#L94-L98

when it should be:

        'chart-1': 'hsl(var(--chart-1))',
        'chart-2': 'hsl(var(--chart-2))',
        'chart-3': 'hsl(var(--chart-3))',
        'chart-4': 'hsl(var(--chart-4))',
        'chart-5': 'hsl(var(--chart-5))',
  • --chart${n}--chart-${n}
  • chart${n}chart-${n} (not 100% sure on this one, but pretty sure)

Contributor guide