@instructure/quiz-interactions
Version:
A React UI component Library for quiz interaction types.
18 lines (17 loc) • 803 B
JavaScript
var generateComponentTheme = function(param) {
var spacing = param.spacing, colors = param.colors, borders = param.borders;
return {
itemsListPadding: spacing.small,
itemPadding: spacing.xSmall,
questionColor: colors.contrasts.grey1111,
dividerBorder: borders.widthMedium,
dividerBorderColor: colors.contrasts.grey125125,
questionBorder: borders.widthSmall,
questionBorderColor: colors.contrasts.grey1214,
responseBodyMarginRight: spacing.xxSmall,
showComponentAnswerPadding: "".concat(spacing.xSmall, " ").concat(spacing.small),
showComponentAnswerBorder: "".concat(colors.contrasts.grey1214, " 1px solid"),
showComponentAnswerBorderRadius: spacing.xxSmall
};
};
export default generateComponentTheme;