UNPKG

@instructure/quiz-interactions

Version:

A React UI component Library for quiz interaction types.

24 lines (23 loc) 744 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 { 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 }; }; var _default = exports["default"] = generateComponentTheme;