1.1.0 - Custom Fonts & Colors
Overview
Adding props for custom font objects for slices and hub (center) as well as allowing for objects in options array for custom colors in slices.
New Features
-
New Prop:
slicesFont
-- type: object
-- objectProperties:style
,size
,family
-- defaults:{ style: "bold", size: "12px", family: "Helvetica, Arial" }
-
New Prop:
hubFont
-- type: object
-- objectProperties:style
,size
,family
-- defaults:{ style: "bold", size: "30px", family: "Helvetica, Arial" }
-
Modified Prop:
options
-- Now accepts objects in the array with the structure:{ text: 'foo', color: '#validHEXvalue' }
and displays slices with text and background colors set accordingly.