Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Mar 4, 2025
1 parent 6c7aa17 commit 5a6d1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/support/ChartColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

const isLightDarkSupported
= typeof document === 'undefined' ? true : CSS.supports('color', 'light-dark(#000, #fff)')
= typeof document === 'undefined' || CSS.supports('color', 'light-dark(#000, #fff)')

// radixLight.9, radixDark.10
export const chartColors = {
Expand Down

0 comments on commit 5a6d1c8

Please sign in to comment.