Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
description: `
An array of colors to be used in conjunction with
\`domain\` to compute days' color.
It applies to days having a value defined, otherwise,
\`emptyColor\` will be used.
`,
type: 'string[]',
required: false,
defaultValue: defaults.colors,
},
{
key: 'emptyColor',
help: 'color to use to fill days without available value.',
type: 'string',
required: false,
defaultValue: defaults.emptyColor,
controlType: 'colorPicker',
group: 'Base',
},
{
key: 'pixelRatio',
flavors: ['canvas'],
help: `Adjust pixel ratio, useful for HiDPI screens.`,
required: false,
defaultValue: 'Depends on device',
type: `number`,
controlType: 'range',
group: 'Base',
controlOptions: {
min: 1,
max: 2,
},