Releases: jamacon36/vue-raffle-wheel
Adding color opitons for fonts
Overview
Adding handlers for new optional properties in slicesFont
, hubFont
, and options
props.
New Features
-
Modified Prop:
slicesFont
-- details: addedcolor
property that will globally change the slices font color unless overridden by individualoption.fontColor
values -
Modifed Prop:
hubFont
-- details: addedcolor
property that will globally change the slices font color unless overridden by individualoption.fontColor
orslicesFont.color
values -
Modified Prop:
options
-- Now acceptsfontColor
property as part of options object that changes the color of the slice text.
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.
Initial Release and Publish on NPM
The initial release of the component.