Skip to content

Releases: jamacon36/vue-raffle-wheel

Adding color opitons for fonts

01 Mar 14:41
Compare
Choose a tag to compare

Overview

Adding handlers for new optional properties in slicesFont, hubFont, and options props.

New Features

  • Modified Prop: slicesFont
    -- details: added color property that will globally change the slices font color unless overridden by individual option.fontColor values

  • Modifed Prop: hubFont
    -- details: added color property that will globally change the slices font color unless overridden by individual option.fontColor or slicesFont.color values

  • Modified Prop: options
    -- Now accepts fontColor property as part of options object that changes the color of the slice text.

1.1.0 - Custom Fonts & Colors

26 Feb 15:34
Compare
Choose a tag to compare

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.

Initial Release and Publish on NPM

25 Feb 19:29
Compare
Choose a tag to compare

The initial release of the component.