@instructure/quiz-interactions
Version:
A React UI component Library for quiz interaction types.
17 lines (16 loc) • 634 B
JavaScript
var generateComponentTheme = function(param) {
var spacing = param.spacing, colors = param.colors, borders = param.borders;
return {
itemMargin: spacing.xxSmall,
itemBeforeMargin: spacing.xSmall,
itemPadding: spacing.xSmall,
questionMargin: spacing.xSmall,
questionBorder: borders.widthSmall,
questionBorderColor: colors.contrasts.grey1214,
questionColor: colors.contrasts.grey1111,
dividerMargin: spacing.small,
dividerBorder: borders.widthMedium,
dividerBorderColor: colors.contrasts.grey125125
};
};
export default generateComponentTheme;