@instructure/quiz-interactions
Version:
A React UI component Library for quiz interaction types.
23 lines • 897 B
JavaScript
var generateComponentTheme = function generateComponentTheme(_ref) {
var spacing = _ref.spacing,
colors = _ref.colors,
borders = _ref.borders;
return {
bottomLabelPadding: spacing.xSmall,
paragraphContainerMargin: spacing.xSmall,
paragraphContainerPadding: spacing.xSmall,
paragraphContainerColor: colors.contrasts.grey1111,
choiceContainerMargin: spacing.xSmall,
choiceContainerContentPadding: spacing.xxSmall,
choiceContainerContentColor: colors.contrasts.grey1111,
choicePositionWidth: spacing.large,
choicePadding: spacing.xSmall,
choiceBorder: borders.widthSmall,
choiceBorderRadius: borders.radiusMedium,
choiceColor: colors.contrasts.white1010,
choiceBorderColor: colors.contrasts.grey1214,
choiceBodyPadding: spacing.xxxSmall,
printedPositionInputMargin: spacing.xxSmall
};
};
export default generateComponentTheme;