UNPKG

@instructure/quiz-interactions

Version:

A React UI component Library for quiz interaction types.

25 lines (24 loc) 909 B
"use strict"; 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 { 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 }; }; var _default = exports["default"] = generateComponentTheme;