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