Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
xSmallHeight: spacing.xSmall,
xSmallValueFontSize: typography.fontSizeXSmall,
smallHeight: spacing.small,
smallValueFontSize: typography.fontSizeXSmall,
mediumHeight: spacing.medium,
mediumValueFontSize: typography.fontSizeSmall,
largeHeight: spacing.large,
largeValueFontSize: typography.fontSizeMedium,
valuePadding: `${spacing.xxSmall}`,
meterColorStart: colors.backgroundBrand,
meterColorEnd: lighten(colors.backgroundBrand, 12),
doneMeterColorStart: colors.backgroundSuccess,
doneMeterColorEnd: lighten(colors.backgroundSuccess, 12),
trackColor: colors.textLight,
inverseColor: colors.textLightest,
inverseTrackColor: 'rgba(0, 0, 0, 0.25)'
}
}
smallHeight: spacing.small,
smallValueFontSize: typography.fontSizeXSmall,
mediumHeight: spacing.medium,
mediumValueFontSize: typography.fontSizeSmall,
largeHeight: spacing.large,
largeValueFontSize: typography.fontSizeMedium,
valuePadding: `${spacing.xxSmall}`,
meterColorStart: colors.backgroundBrand,
meterColorEnd: lighten(colors.backgroundBrand, 12),
doneMeterColorStart: colors.backgroundSuccess,
doneMeterColorEnd: lighten(colors.backgroundSuccess, 12),
trackColor: colors.textLight,
inverseColor: colors.textLightest,
inverseTrackColor: 'rgba(0, 0, 0, 0.25)'
}
}
generator.canvas = function (variables) {
return {
color: variables['ic-brand-font-color-dark'],
meterColorStart: variables['ic-brand-primary'],
meterColorEnd: lighten(variables['ic-brand-primary'], 12)
}
}