Skip to content

Commit

Permalink
feat(circle-packing): update default childColor
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc authored and wyze committed Apr 26, 2021
1 parent 08ee515 commit ca07b9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/circle-packing/src/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ export const defaultProps = {
colors: { scheme: 'nivo' } as OrdinalColorScaleConfig,
colorBy: 'depth' as const,
inheritColorFromParent: false,
childColor: 'noinherit',
childColor: {
from: 'color',
modifiers: [['darker', 0.3]],
},
borderWidth: 0,
borderColor: {
from: 'color',
Expand Down

0 comments on commit ca07b9e

Please sign in to comment.