@instructure/quiz-interactions
Version:
A React UI component Library for quiz interaction types.
29 lines (28 loc) • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
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
};
};
var _default = exports["default"] = generateComponentTheme;