@instructure/quiz-interactions
Version:
A React UI component Library for quiz interaction types.
25 lines (24 loc) • 918 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var generateComponentTheme = function generateComponentTheme(_ref) {
var spacing = _ref.spacing,
borders = _ref.borders,
colors = _ref.colors,
typography = _ref.typography;
return {
fileDropWrapperMargin: spacing.xSmall,
fileDropContentPadding: spacing.medium,
fileDropContentBackgroundColor: colors.contrasts.grey1111,
fileDropContentBorderWidth: borders.widthSmall,
fileDropContentBorderColor: colors.contrasts.grey1214,
fileDropContentFontFamily: typography.fontFamily,
fileDropContentIconFontSize: typography.fontSizeXXLarge,
fileDropContentLabelPadding: spacing.xSmall,
fileDropContentLabelBrowsePadding: spacing.xxSmall,
fileDropContentLabelBrowseColor: colors.contrasts.blue4570
};
};
var _default = exports["default"] = generateComponentTheme;