@instructure/quiz-interactions
Version:
A React UI component Library for quiz interaction types.
19 lines • 779 B
JavaScript
var generateComponentTheme = function generateComponentTheme(_ref) {
var spacing = _ref.spacing,
colors = _ref.colors,
borders = _ref.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;