UNPKG

@instructure/quiz-interactions

Version:

A React UI component Library for quiz interaction types.

23 lines (22 loc) 762 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var generateComponentTheme = function generateComponentTheme(_ref) { var borders = _ref.borders, colors = _ref.colors, spacing = _ref.spacing, typography = _ref.typography; return { questionBorderWidth: borders.widthSmall, questionBorderColor: colors.contrasts.grey1214, questionBorderRadius: borders.radiusMedium, titleColor: colors.contrasts.grey4570, titleFontSize: typography.fontSizeLarge, questionPositionColor: colors.contrasts.grey4570, itemBodyFontSize: typography.fontSizeMedium, itemBodyFontWeight: typography.fontWeightNormal }; }; var _default = exports["default"] = generateComponentTheme;