Skip to content

1.1.0 - Custom Fonts & Colors

Compare
Choose a tag to compare
@jamacon36 jamacon36 released this 26 Feb 15:34
· 7 commits to master since this release

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.