@instructure/quiz-interactions
Version:
A React UI component Library for quiz interaction types.
19 lines • 788 B
JavaScript
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
};
};
export default generateComponentTheme;