@instructure/quiz-interactions
Version:
A React UI component Library for quiz interaction types.
19 lines (18 loc) • 833 B
JavaScript
var generateComponentTheme = function(param) {
var spacing = param.spacing, colors = param.colors, typography = param.typography, borders = param.borders;
return {
editStemColor: colors.contrasts.grey100100,
editStemFontFamily: typography.fontFamily,
editStemFontSize: typography.fontSizeMedium,
editStemFontWeight: typography.fontWeighNormal,
editStemLineHeight: typography.lineHeightDouble,
tableColor: colors.contrasts.grey4570,
highlightBorder: borders.widthSmall,
highlightColor: colors.contrasts.grey4570,
highlightBorderRadius: borders.radiusMedium,
highlightPadding: spacing.xxSmall,
highlightMargin: spacing.xxxSmall,
closeIconBackgroundColor: colors.contrasts.white1010
};
};
export default generateComponentTheme;