@instructure/quiz-core 21.0.0 → 21.0.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/banks/components/Bank/theme.js +1 -1
- package/es/banks/components/BankEntry/theme.js +5 -5
- package/es/banks/components/BankEntryRow/styles.js +0 -1
- package/es/banks/components/BankEntryRow/theme.js +4 -4
- package/es/banks/components/Banks/theme.js +2 -2
- package/es/banks/components/BanksList/theme.js +4 -4
- package/es/banks/components/NavWrapper/theme.js +3 -3
- package/es/banks/components/SharingModal/theme.js +1 -1
- package/es/building/components/resources/ActionButtons/theme.js +1 -1
- package/es/building/components/resources/AddToBankOptions/theme.js +2 -2
- package/es/building/components/resources/quiz/instructions/Instructions/theme.js +1 -1
- package/es/building/components/resources/quiz/title/Edit/theme.js +1 -1
- package/es/building/components/resources/quiz/title/Title/theme.js +3 -3
- package/es/building/components/resources/quizEntry/QuizEntry/theme.js +1 -1
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +3 -3
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +2 -2
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -2
- package/es/building/components/resources/quizEntry/QuizEntryShow/theme.js +5 -5
- package/es/common/components/ImportModal/ImportFileSelector/theme.js +4 -4
- package/es/common/components/PrintFontSizeModal/theme.js +1 -1
- package/es/common/components/layout/header/HeaderMenuButton/theme.js +1 -1
- package/es/common/components/layout/header/Timer/theme.js +3 -3
- package/es/common/components/layout/navbar/theme.js +1 -1
- package/es/common/components/layout/sidebar/PositionSummary/theme.js +2 -2
- package/es/common/components/layout/sidebar/Sidebar/theme.js +10 -10
- package/es/common/components/layout/sidebar/SidebarItem/theme.js +5 -5
- package/es/common/components/layout/sidebar/Stimulus/Collection/theme.js +1 -1
- package/es/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -2
- package/es/common/components/layout/sidebar/Stimulus/theme.js +4 -4
- package/es/common/components/resources/WarningWrapper/theme.js +1 -1
- package/es/common/components/resources/positionBox/theme.js +2 -2
- package/es/common/components/resources/quiz/AddContent/Body/theme.js +1 -1
- package/es/common/components/resources/quiz/AddContent/Button/theme.js +4 -4
- package/es/common/components/resources/quiz/AddContent/Popover/theme.js +1 -1
- package/es/common/components/resources/sessionItemResult/ResultStimulus/theme.js +4 -4
- package/es/common/components/resources/sessionItemResult/SessionItemResult/theme.js +4 -4
- package/es/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +1 -1
- package/es/common/components/resources/stimulus/Stimulus/theme.js +1 -1
- package/es/common/components/resources/stimulus/StimulusEdit/theme.js +1 -1
- package/es/common/components/resources/stimulus/StimulusEditInfo/theme.js +1 -1
- package/es/common/components/shared/Card/CardContent/theme.js +2 -2
- package/es/common/components/shared/InteractionTypes/theme.js +1 -1
- package/es/common/components/shared/PaginatedCollection/theme.js +1 -1
- package/es/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +5 -5
- package/es/common/components/shared/errors/theme.js +1 -1
- package/es/common/components/shared/file_selector/theme.js +2 -2
- package/es/common/components/shared/overlay/theme.js +1 -1
- package/es/moderating/components/events/theme.js +1 -1
- package/es/moderating/components/resources/ModerateTable/theme.js +1 -1
- package/es/reporting/components/charts/Distribution/theme.js +2 -2
- package/es/reporting/components/charts/Legend/theme.js +2 -2
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +8 -8
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +4 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +5 -5
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +2 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -2
- package/es/reporting/components/resources/QuizAndItemAnalysis/theme.js +1 -1
- package/es/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +1 -1
- package/lib/banks/components/Bank/theme.js +1 -1
- package/lib/banks/components/BankEntry/theme.js +5 -5
- package/lib/banks/components/BankEntryRow/styles.js +0 -1
- package/lib/banks/components/BankEntryRow/theme.js +4 -4
- package/lib/banks/components/Banks/theme.js +2 -2
- package/lib/banks/components/BanksList/theme.js +4 -4
- package/lib/banks/components/NavWrapper/theme.js +3 -3
- package/lib/banks/components/SharingModal/theme.js +1 -1
- package/lib/building/components/resources/ActionButtons/theme.js +1 -1
- package/lib/building/components/resources/AddToBankOptions/theme.js +2 -2
- package/lib/building/components/resources/quiz/instructions/Instructions/theme.js +1 -1
- package/lib/building/components/resources/quiz/title/Edit/theme.js +1 -1
- package/lib/building/components/resources/quiz/title/Title/theme.js +3 -3
- package/lib/building/components/resources/quizEntry/QuizEntry/theme.js +1 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +3 -3
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryShow/theme.js +5 -5
- package/lib/common/components/ImportModal/ImportFileSelector/theme.js +4 -4
- package/lib/common/components/PrintFontSizeModal/theme.js +1 -1
- package/lib/common/components/layout/header/HeaderMenuButton/theme.js +1 -1
- package/lib/common/components/layout/header/Timer/theme.js +3 -3
- package/lib/common/components/layout/navbar/theme.js +1 -1
- package/lib/common/components/layout/sidebar/PositionSummary/theme.js +2 -2
- package/lib/common/components/layout/sidebar/Sidebar/theme.js +10 -10
- package/lib/common/components/layout/sidebar/SidebarItem/theme.js +5 -5
- package/lib/common/components/layout/sidebar/Stimulus/Collection/theme.js +1 -1
- package/lib/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -2
- package/lib/common/components/layout/sidebar/Stimulus/theme.js +4 -4
- package/lib/common/components/resources/WarningWrapper/theme.js +1 -1
- package/lib/common/components/resources/positionBox/theme.js +2 -2
- package/lib/common/components/resources/quiz/AddContent/Body/theme.js +1 -1
- package/lib/common/components/resources/quiz/AddContent/Button/theme.js +4 -4
- package/lib/common/components/resources/quiz/AddContent/Popover/theme.js +1 -1
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/theme.js +4 -4
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/theme.js +4 -4
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +1 -1
- package/lib/common/components/resources/stimulus/Stimulus/theme.js +1 -1
- package/lib/common/components/resources/stimulus/StimulusEdit/theme.js +1 -1
- package/lib/common/components/resources/stimulus/StimulusEditInfo/theme.js +1 -1
- package/lib/common/components/shared/Card/CardContent/theme.js +2 -2
- package/lib/common/components/shared/InteractionTypes/theme.js +1 -1
- package/lib/common/components/shared/PaginatedCollection/theme.js +1 -1
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +5 -5
- package/lib/common/components/shared/errors/theme.js +1 -1
- package/lib/common/components/shared/file_selector/theme.js +2 -2
- package/lib/common/components/shared/overlay/theme.js +1 -1
- package/lib/moderating/components/events/theme.js +1 -1
- package/lib/moderating/components/resources/ModerateTable/theme.js +1 -1
- package/lib/reporting/components/charts/Distribution/theme.js +2 -2
- package/lib/reporting/components/charts/Legend/theme.js +2 -2
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +8 -8
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +4 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +5 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +2 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -2
- package/lib/reporting/components/resources/QuizAndItemAnalysis/theme.js +1 -1
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +1 -1
- package/package.json +80 -79
|
@@ -6,13 +6,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
6
6
|
transitions = _ref.transitions;
|
|
7
7
|
return {
|
|
8
8
|
contentTransitionDuration: transitions.duration,
|
|
9
|
-
contentBackgroundColor: colors.
|
|
9
|
+
contentBackgroundColor: colors.contrasts.white1010,
|
|
10
10
|
contentMaxWidth: '79.5rem',
|
|
11
11
|
contentMargin: spacing.medium,
|
|
12
12
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium),
|
|
13
13
|
phoneContentMargin: spacing.xSmall,
|
|
14
14
|
contentBoxShadow: shadows.depth1,
|
|
15
|
-
contentBorderColor: colors.
|
|
15
|
+
contentBorderColor: colors.contrasts.grey1214,
|
|
16
16
|
contentBorderRadius: '4px'
|
|
17
17
|
};
|
|
18
18
|
};
|
|
@@ -4,7 +4,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
4
4
|
spacing = _ref.spacing;
|
|
5
5
|
return {
|
|
6
6
|
stimulusDividerBorderWidth: borders.widthSmall,
|
|
7
|
-
stimulusDividerBorderColor: colors.
|
|
7
|
+
stimulusDividerBorderColor: colors.contrasts.grey4570,
|
|
8
8
|
stimulusDividerMarginTop: spacing.xSmall,
|
|
9
9
|
stimulusDividerMarginBottom: spacing.small
|
|
10
10
|
};
|
|
@@ -5,7 +5,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
5
5
|
return {
|
|
6
6
|
emptyPadding: spacing.small,
|
|
7
7
|
emptyFontSize: typography.fontSizeLarge,
|
|
8
|
-
emptyColor: colors.
|
|
8
|
+
emptyColor: colors.contrasts.grey4570
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
export default generateComponentTheme;
|
|
@@ -4,16 +4,16 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
4
4
|
borders = _ref.borders;
|
|
5
5
|
return {
|
|
6
6
|
DnDZoneBorderWidth: borders.widthSmall,
|
|
7
|
-
DnDZoneBorderColor: colors.
|
|
8
|
-
DnDZoneBackgroundColor: colors.
|
|
7
|
+
DnDZoneBorderColor: colors.contrasts.grey1214,
|
|
8
|
+
DnDZoneBackgroundColor: colors.contrasts.grey1111,
|
|
9
9
|
DnDZonePadding: spacing.medium,
|
|
10
10
|
// sidebar:
|
|
11
11
|
sidebarDnDZoneBorderWidth: borders.widthSmall,
|
|
12
|
-
sidebarDnDZoneBorderColor: colors.
|
|
13
|
-
sidebarDnDZoneBackgroundColor: colors.
|
|
12
|
+
sidebarDnDZoneBorderColor: colors.contrasts.grey100100,
|
|
13
|
+
sidebarDnDZoneBackgroundColor: colors.contrasts.grey1111,
|
|
14
14
|
sidebarDnDZonePadding: spacing.small,
|
|
15
15
|
sidebarDnDZoneMargin: spacing.xSmall,
|
|
16
|
-
sidebarDnDZoneColor: colors.
|
|
16
|
+
sidebarDnDZoneColor: colors.contrasts.grey125125
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
export default generateComponentTheme;
|
|
@@ -4,7 +4,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
4
4
|
return {
|
|
5
5
|
errorFontFamily: typography.fontFamily,
|
|
6
6
|
errorFontSize: typography.fontSizeSmall,
|
|
7
|
-
errorColor: colors.
|
|
7
|
+
errorColor: colors.contrasts.red4570
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
export default generateComponentTheme;
|
|
@@ -3,9 +3,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
3
3
|
spacing = _ref.spacing,
|
|
4
4
|
borders = _ref.borders;
|
|
5
5
|
return {
|
|
6
|
-
dropzoneBackgroundColor: colors.
|
|
6
|
+
dropzoneBackgroundColor: colors.contrasts.grey1111,
|
|
7
7
|
dropzoneBorderWidth: borders.widthSmall,
|
|
8
|
-
dropzoneBorderColor: colors.
|
|
8
|
+
dropzoneBorderColor: colors.contrasts.grey4570,
|
|
9
9
|
dropzonePadding: spacing.medium
|
|
10
10
|
};
|
|
11
11
|
};
|
|
@@ -6,7 +6,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
6
6
|
embeddedImageMargin: spacing.xSmall,
|
|
7
7
|
embeddedImagePadding: spacing.small,
|
|
8
8
|
mediaToggleMargin: spacing.xSmall,
|
|
9
|
-
mediaToggleColor: colors.
|
|
9
|
+
mediaToggleColor: colors.contrasts.grey1214
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
export default generateComponentTheme;
|
|
@@ -3,7 +3,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
3
3
|
colors = _ref.colors;
|
|
4
4
|
return {
|
|
5
5
|
emptyTextMargin: spacing.small,
|
|
6
|
-
pageBackgroundColor: colors.
|
|
6
|
+
pageBackgroundColor: colors.contrasts.white1010
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
export default generateComponentTheme;
|
|
@@ -2,8 +2,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
2
2
|
var colors = _ref.colors,
|
|
3
3
|
typography = _ref.typography;
|
|
4
4
|
return {
|
|
5
|
-
barFillColor: colors.
|
|
6
|
-
barStarFillColor: colors.
|
|
5
|
+
barFillColor: colors.contrasts.blue4570,
|
|
6
|
+
barStarFillColor: colors.contrasts.orange4570,
|
|
7
7
|
barLabelColor: colors.textDarkest,
|
|
8
8
|
barLabelFontFamily: typography.fontFamily,
|
|
9
9
|
barLabelFontSize: typography.fontSizeSmall,
|
|
@@ -5,11 +5,11 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
5
5
|
typography = _ref.typography;
|
|
6
6
|
return {
|
|
7
7
|
containerBorderWidth: borders.widthSmall,
|
|
8
|
-
containerBorderColor: colors.
|
|
8
|
+
containerBorderColor: colors.contrasts.grey1214,
|
|
9
9
|
seriesContainerMargin: spacing.small,
|
|
10
10
|
seriesContainerRowMargin: spacing.medium,
|
|
11
11
|
seriesSwatchMargin: spacing.small,
|
|
12
|
-
seriesSwatchBackgroundColor: colors.
|
|
12
|
+
seriesSwatchBackgroundColor: colors.contrasts.blue4570,
|
|
13
13
|
seriesLabelFontFamily: typography.fontFamily,
|
|
14
14
|
seriesLabelFontSize: typography.fontSizeXSmall,
|
|
15
15
|
seriesLabelColor: colors.textDarkest
|
|
@@ -6,20 +6,20 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
6
6
|
borders = _ref.borders,
|
|
7
7
|
transitions = _ref.transitions;
|
|
8
8
|
return {
|
|
9
|
-
contentCellBorderColor: colors.
|
|
9
|
+
contentCellBorderColor: colors.contrasts.grey1214,
|
|
10
10
|
answerRowCellPadding: spacing.xSmall,
|
|
11
|
-
answerRowCorrectBackgroundColor: colors.
|
|
12
|
-
answerRowAnswerIconColor: colors.
|
|
11
|
+
answerRowCorrectBackgroundColor: colors.contrasts.white1010,
|
|
12
|
+
answerRowAnswerIconColor: colors.contrasts.green4570,
|
|
13
13
|
answerRowCorrectTextFieldFontWeight: typography.fontWeightBold,
|
|
14
|
-
answerRowCorrectBarBackgroundColor: colors.
|
|
14
|
+
answerRowCorrectBarBackgroundColor: colors.contrasts.green4570,
|
|
15
15
|
answerIconFontSize: typography.fontSizeXSmall,
|
|
16
|
-
answerIconColor: colors.
|
|
16
|
+
answerIconColor: colors.contrasts.grey4570,
|
|
17
17
|
answerTextfieldFontWeight: typography.fontWeightNormal,
|
|
18
|
-
respondentLinkColor: colors.
|
|
19
|
-
respondentLinkPresentColor: colors.
|
|
18
|
+
respondentLinkColor: colors.contrasts.grey4570,
|
|
19
|
+
respondentLinkPresentColor: colors.contrasts.blue4570,
|
|
20
20
|
answerRatioPaddingLeft: spacing.small,
|
|
21
21
|
barMinWidth: borders.widthSmall,
|
|
22
|
-
barBackgroundColor: colors.
|
|
22
|
+
barBackgroundColor: colors.contrasts.grey125125,
|
|
23
23
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium),
|
|
24
24
|
barTransition: "width ".concat(transitions.duration)
|
|
25
25
|
};
|
|
@@ -6,20 +6,20 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
6
6
|
return {
|
|
7
7
|
itemAnalysisRowPadding: spacing.small,
|
|
8
8
|
itemAnalysisRowMargin: spacing.small,
|
|
9
|
-
headerTextColor: colors.
|
|
9
|
+
headerTextColor: colors.contrasts.grey4570,
|
|
10
10
|
headerTextFontSize: typography.fontSizeXSmall,
|
|
11
11
|
metricNoteFontSize: typography.fontSizeMedium,
|
|
12
|
-
metricNoteColor: colors.
|
|
12
|
+
metricNoteColor: colors.contrasts.grey4570,
|
|
13
13
|
metricsRowLowerPadding: spacing.large,
|
|
14
14
|
stemFontSize: typography.fontSizeXSmall,
|
|
15
15
|
stemLineHeight: typography.lineHeight,
|
|
16
16
|
stemMargin: spacing.small,
|
|
17
17
|
emptyTextPadding: spacing.small,
|
|
18
|
-
emptyTextColor: colors.
|
|
18
|
+
emptyTextColor: colors.contrasts.grey4570,
|
|
19
19
|
answerDistributionPadding: spacing.small,
|
|
20
20
|
answerDistributionChartPadding: spacing.small,
|
|
21
21
|
answerDistributionLegendPadding: spacing.small,
|
|
22
|
-
answerDistributionSwatchColor: colors.
|
|
22
|
+
answerDistributionSwatchColor: colors.contrasts.blue4570,
|
|
23
23
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium)
|
|
24
24
|
};
|
|
25
25
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
2
2
|
var colors = _ref.colors;
|
|
3
3
|
return {
|
|
4
|
-
colorGreen: colors.
|
|
5
|
-
colorBlue: colors.
|
|
6
|
-
colorRed: colors.
|
|
7
|
-
colorGrey: colors.
|
|
8
|
-
colorHeaderBottomBorder: colors.
|
|
4
|
+
colorGreen: colors.contrasts.green4570,
|
|
5
|
+
colorBlue: colors.contrasts.blue4570,
|
|
6
|
+
colorRed: colors.contrasts.red4570,
|
|
7
|
+
colorGrey: colors.contrasts.grey4570,
|
|
8
|
+
colorHeaderBottomBorder: colors.contrasts.grey1214,
|
|
9
9
|
cellPadding: '13.5px 13.5px;'
|
|
10
10
|
};
|
|
11
11
|
};
|
|
@@ -3,8 +3,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
3
3
|
colors = _ref.colors;
|
|
4
4
|
return {
|
|
5
5
|
tableBottomPadding: spacing.medium,
|
|
6
|
-
colorGreen: colors.
|
|
7
|
-
colorGray: colors.
|
|
6
|
+
colorGreen: colors.contrasts.green4570,
|
|
7
|
+
colorGray: colors.contrasts.grey1214,
|
|
8
8
|
cellPadding: '0.75rem 0.75rem'
|
|
9
9
|
};
|
|
10
10
|
};
|
|
@@ -9,7 +9,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
viewPaddingRight: spacing.xxSmall,
|
|
10
10
|
metricNumberContextFontSize: typography.fontSizeMedium,
|
|
11
11
|
metricNumberContextFontWeight: typography.fontWeightNormal,
|
|
12
|
-
blankBorderColor: colors.
|
|
12
|
+
blankBorderColor: colors.contrasts.grey1214,
|
|
13
13
|
blankBorderRadius: '14px',
|
|
14
14
|
blankMinWidth: '20px',
|
|
15
15
|
blankHeight: '20px'
|
|
@@ -7,7 +7,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
7
7
|
cardWidth: '19.5rem',
|
|
8
8
|
cardPadding: spacing.medium,
|
|
9
9
|
cardMargin: spacing.xSmall,
|
|
10
|
-
quizSummaryBorderBottomColor: colors.
|
|
10
|
+
quizSummaryBorderBottomColor: colors.contrasts.grey1214
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export default generateComponentTheme;
|
package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js
CHANGED
|
@@ -3,9 +3,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
3
3
|
spacing = _ref.spacing,
|
|
4
4
|
typography = _ref.typography;
|
|
5
5
|
return {
|
|
6
|
-
legendRectFillColor: colors.
|
|
6
|
+
legendRectFillColor: colors.contrasts.blue4570,
|
|
7
7
|
legendPadding: spacing.small,
|
|
8
|
-
legendBorderColor: colors.
|
|
8
|
+
legendBorderColor: colors.contrasts.grey4570,
|
|
9
9
|
legendFontSize: typography.fontSizeXSmall,
|
|
10
10
|
legendMargin: spacing.medium
|
|
11
11
|
};
|
|
@@ -8,7 +8,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
8
8
|
titleMarginBottom: spacing.xSmall,
|
|
9
9
|
emptyTextPadding: spacing.small,
|
|
10
10
|
emptyTextFontSize: typography.fontSizeLarge,
|
|
11
|
-
emptyTextColor: colors.
|
|
11
|
+
emptyTextColor: colors.contrasts.grey4570
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
export default generateComponentTheme;
|
|
@@ -9,6 +9,6 @@ export var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
cardWidth: '19.5rem',
|
|
10
10
|
cardPadding: spacing.medium,
|
|
11
11
|
cardMargin: spacing.xSmall,
|
|
12
|
-
quizSummaryBorderBottomColor: colors.
|
|
12
|
+
quizSummaryBorderBottomColor: colors.contrasts.grey1214
|
|
13
13
|
};
|
|
14
14
|
};
|
|
@@ -9,7 +9,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
colors = _ref.colors,
|
|
10
10
|
breakpoints = _ref.breakpoints;
|
|
11
11
|
return {
|
|
12
|
-
contentBackgroundColor: colors.
|
|
12
|
+
contentBackgroundColor: colors.contrasts.white1010,
|
|
13
13
|
contentPaddingTopBottom: spacing.medium,
|
|
14
14
|
contentPaddingLeftRight: spacing.medium,
|
|
15
15
|
breadCrumbMarginBottom: spacing.large,
|
|
@@ -10,17 +10,17 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
typography = _ref.typography,
|
|
11
11
|
borders = _ref.borders;
|
|
12
12
|
return {
|
|
13
|
-
contentBackgroundColor: colors.
|
|
13
|
+
contentBackgroundColor: colors.contrasts.white1010,
|
|
14
14
|
contentPaddingTopBottom: 0,
|
|
15
15
|
contentPaddingLeftRight: 0,
|
|
16
16
|
breadCrumbMarginBottom: spacing.large,
|
|
17
17
|
entryRowMargin: spacing.small,
|
|
18
|
-
headerRowColor: colors.
|
|
18
|
+
headerRowColor: colors.contrasts.grey4570,
|
|
19
19
|
headerRowPadding: spacing.small,
|
|
20
20
|
headerTextFontSize: typography.fontSizeSmall,
|
|
21
21
|
leftHeaderMargin: spacing.small,
|
|
22
|
-
headerBackgroundColor: colors.
|
|
23
|
-
headerColor: colors.
|
|
22
|
+
headerBackgroundColor: colors.contrasts.grey1111,
|
|
23
|
+
headerColor: colors.contrasts.grey125125,
|
|
24
24
|
headerPaddingTopBottom: spacing.xSmall,
|
|
25
25
|
headerPaddingLeftRight: spacing.small,
|
|
26
26
|
footerPaddingBottom: spacing.xSmall,
|
|
@@ -28,7 +28,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
28
28
|
rightHeaderPaddingLeft: spacing.xSmall,
|
|
29
29
|
rightFooterPaddingLeftRight: spacing.small,
|
|
30
30
|
entryEditBorderWidth: borders.widthSmall,
|
|
31
|
-
entryEditBorderColor: colors.
|
|
31
|
+
entryEditBorderColor: colors.contrasts.grey1214
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
var _default = generateComponentTheme;
|
|
@@ -11,18 +11,18 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
11
11
|
typography = _ref.typography;
|
|
12
12
|
return {
|
|
13
13
|
entryDetailPadding: spacing.small,
|
|
14
|
-
headerRowColor: colors.
|
|
14
|
+
headerRowColor: colors.contrasts.grey4570,
|
|
15
15
|
buttonsZIndex: '3333',
|
|
16
16
|
expandButtonContainerBorderWidth: borders.widthMedium,
|
|
17
|
-
expandButtonContainerBorderColor: colors.
|
|
17
|
+
expandButtonContainerBorderColor: colors.contrasts.grey1214,
|
|
18
18
|
addButtonMargin: spacing.small,
|
|
19
|
-
headerTextColor: colors.
|
|
19
|
+
headerTextColor: colors.contrasts.grey4570,
|
|
20
20
|
headerTextFontSize: typography.fontSizeXSmall,
|
|
21
21
|
stemFontSize: typography.fontSizeMedium,
|
|
22
22
|
stemLineHeight: typography.lineHeight,
|
|
23
23
|
footerPadding: spacing.medium,
|
|
24
24
|
footerBorderWidth: borders.widthSmall,
|
|
25
|
-
footerBorderColor: colors.
|
|
25
|
+
footerBorderColor: colors.contrasts.grey1214,
|
|
26
26
|
footerFontSize: typography.fontSizeXSmall,
|
|
27
27
|
deletePrefaceMargin: spacing.xxSmall
|
|
28
28
|
};
|
|
@@ -9,13 +9,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
spacing = _ref.spacing,
|
|
10
10
|
borders = _ref.borders;
|
|
11
11
|
return {
|
|
12
|
-
contentBackgroundColor: colors.
|
|
12
|
+
contentBackgroundColor: colors.contrasts.white1010,
|
|
13
13
|
contentPaddingTopBottom: spacing.medium,
|
|
14
14
|
contentPaddingLeftRight: spacing.xLarge,
|
|
15
15
|
breadCrumbMarginBottom: spacing.large,
|
|
16
16
|
headerPaddingBottom: spacing.large,
|
|
17
17
|
headerBorderWidth: borders.widthSmall,
|
|
18
|
-
headerBorderColor: colors.
|
|
18
|
+
headerBorderColor: colors.contrasts.grey1214
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
var _default = generateComponentTheme;
|
|
@@ -11,13 +11,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
11
11
|
spacing = _ref.spacing;
|
|
12
12
|
return {
|
|
13
13
|
bankRowBorderWidth: borders.widthSmall,
|
|
14
|
-
bankRowBorderColor: colors.
|
|
14
|
+
bankRowBorderColor: colors.contrasts.grey1214,
|
|
15
15
|
bankInfoMargin: spacing.small,
|
|
16
16
|
bankTitleFontSize: typography.fontSizeSmall,
|
|
17
17
|
bankTitlePadding: spacing.xSmall,
|
|
18
|
-
bankTitleLinkColor: colors.
|
|
19
|
-
bankTitleLinkHoverColor: colors.
|
|
20
|
-
bankDetailsColor: colors.
|
|
18
|
+
bankTitleLinkColor: colors.contrasts.grey125125,
|
|
19
|
+
bankTitleLinkHoverColor: colors.contrasts.grey125125,
|
|
20
|
+
bankDetailsColor: colors.contrasts.grey4570,
|
|
21
21
|
bankDetailsFontSize: typography.fontSizeXSmall,
|
|
22
22
|
bankOptionsMargin: spacing.small,
|
|
23
23
|
BankOptionIconMargin: spacing.xSmall,
|
|
@@ -14,9 +14,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
14
14
|
navPaddingTopBottom: spacing.small,
|
|
15
15
|
navPaddingLeftRight: spacing.xLarge,
|
|
16
16
|
navBorderWidth: borders.widthSmall,
|
|
17
|
-
navBorderColor: colors.
|
|
18
|
-
navBackgroundColor: colors.
|
|
19
|
-
bankIconColor: colors.
|
|
17
|
+
navBorderColor: colors.contrasts.grey1214,
|
|
18
|
+
navBackgroundColor: colors.contrasts.white1010,
|
|
19
|
+
bankIconColor: colors.contrasts.blue4570,
|
|
20
20
|
bankIconFontSize: typography.fontSizeLarge,
|
|
21
21
|
bankIconPadding: spacing.xSmall
|
|
22
22
|
};
|
|
@@ -9,7 +9,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
borders = _ref.borders,
|
|
10
10
|
spacing = _ref.spacing;
|
|
11
11
|
return {
|
|
12
|
-
separatorColor: colors.
|
|
12
|
+
separatorColor: colors.contrasts.grey1214,
|
|
13
13
|
separatorBorderWidth: borders.widthSmall,
|
|
14
14
|
separatorMargin: spacing.medium
|
|
15
15
|
};
|
|
@@ -8,8 +8,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
8
8
|
var spacing = _ref.spacing,
|
|
9
9
|
colors = _ref.colors;
|
|
10
10
|
return {
|
|
11
|
-
addToBankBackgroundColor: colors.
|
|
12
|
-
addToBankBorderColor: colors.
|
|
11
|
+
addToBankBackgroundColor: colors.contrasts.grey1111,
|
|
12
|
+
addToBankBorderColor: colors.contrasts.grey100100
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
var _default = generateComponentTheme;
|
|
@@ -13,7 +13,7 @@ function generator(_ref) {
|
|
|
13
13
|
labelLeftPadding: spacing.large,
|
|
14
14
|
labelBottomPadding: spacing.xxSmall,
|
|
15
15
|
labelFontSize: typography.fontSizeSmall,
|
|
16
|
-
labelColor: colors.
|
|
16
|
+
labelColor: colors.contrasts.grey4570,
|
|
17
17
|
editButtonWrapperRightMargin: spacing.large
|
|
18
18
|
};
|
|
19
19
|
}
|
|
@@ -16,7 +16,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
16
16
|
titleEditInputFontSize: typography.fontSizeXLarge,
|
|
17
17
|
errorBorderMargin: spacing.xxSmall,
|
|
18
18
|
errorBorderPadding: spacing.xxSmall,
|
|
19
|
-
errorBorderColor: colors.
|
|
19
|
+
errorBorderColor: colors.contrasts.red4570,
|
|
20
20
|
errorBorderBorderRadius: borders.radiusSmall
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -14,10 +14,10 @@ function generator(_ref) {
|
|
|
14
14
|
labelLeftPadding: spacing.large,
|
|
15
15
|
labelBottomPadding: spacing.xxSmall,
|
|
16
16
|
labelFontSize: typography.fontSizeSmall,
|
|
17
|
-
labelColor: colors.
|
|
17
|
+
labelColor: colors.contrasts.grey4570,
|
|
18
18
|
editButtonWrapperRightMargin: spacing.large,
|
|
19
|
-
titleShowWrapperBottomBorder: "".concat(borders.widthMedium, " ").concat(borders.style, " ").concat(colors.
|
|
19
|
+
titleShowWrapperBottomBorder: "".concat(borders.widthMedium, " ").concat(borders.style, " ").concat(colors.contrasts.grey1111),
|
|
20
20
|
titleEditWrapperBorderWidth: borders.widthSmall,
|
|
21
|
-
titleEditWrapperBorderColor: colors.
|
|
21
|
+
titleEditWrapperBorderColor: colors.contrasts.grey4570
|
|
22
22
|
};
|
|
23
23
|
}
|
|
@@ -12,7 +12,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
12
12
|
return {
|
|
13
13
|
footerPadding: spacing.small,
|
|
14
14
|
footerBorderWidth: borders.widthSmall,
|
|
15
|
-
footerBorderColor: colors.
|
|
15
|
+
footerBorderColor: colors.contrasts.grey1214,
|
|
16
16
|
footerFontSize: typography.fontSizeXSmall
|
|
17
17
|
};
|
|
18
18
|
};
|
package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js
CHANGED
|
@@ -11,9 +11,9 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
11
11
|
borders = _ref.borders;
|
|
12
12
|
return {
|
|
13
13
|
marginAddMargin: spacing.xSmall,
|
|
14
|
-
quizEntryBankEditBackgroundColor: colors.
|
|
14
|
+
quizEntryBankEditBackgroundColor: colors.contrasts.white1010,
|
|
15
15
|
quizEntryBankEditBorderSize: borders.widthSmall,
|
|
16
|
-
quizEntryBankEditBorderColor: colors.
|
|
16
|
+
quizEntryBankEditBorderColor: colors.contrasts.grey100100,
|
|
17
17
|
quizEntryBankEditPadding: borders.small,
|
|
18
18
|
quizEntryBankEditMargin: spacing.medium,
|
|
19
19
|
numberInputFontSize: typography.fontSizeMedium,
|
|
@@ -22,7 +22,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
22
22
|
borderLineTopMargin: spacing.small,
|
|
23
23
|
borderLineBottomMargin: spacing.small,
|
|
24
24
|
borderLineBottomBorderSize: borders.widthSmall,
|
|
25
|
-
borderLineBottomBorderColor: colors.
|
|
25
|
+
borderLineBottomBorderColor: colors.contrasts.grey4570
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
var _default = generateComponentTheme;
|
package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js
CHANGED
|
@@ -10,8 +10,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
typography = _ref.typography,
|
|
11
11
|
borders = _ref.borders;
|
|
12
12
|
return {
|
|
13
|
-
quizEntryBankBackgroundColor: colors.
|
|
14
|
-
quizEntryBankBorder: "".concat(borders.widthSmall, " dashed ").concat(colors.
|
|
13
|
+
quizEntryBankBackgroundColor: colors.contrasts.white1010,
|
|
14
|
+
quizEntryBankBorder: "".concat(borders.widthSmall, " dashed ").concat(colors.contrasts.grey100100),
|
|
15
15
|
quizEntryBankPadding: "".concat(spacing.xxSmall, " ").concat(spacing.medium),
|
|
16
16
|
quizEntryBankTopMargin: spacing.small,
|
|
17
17
|
alertWrapperMargin: spacing.small
|
|
@@ -9,8 +9,8 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
colors = _ref.colors,
|
|
10
10
|
typography = _ref.typography;
|
|
11
11
|
return {
|
|
12
|
-
headerBackgroundColor: colors.
|
|
13
|
-
headerColor: colors.
|
|
12
|
+
headerBackgroundColor: colors.contrasts.grey1111,
|
|
13
|
+
headerColor: colors.contrasts.grey100100,
|
|
14
14
|
headerPadding: "".concat(spacing.xSmall, " ").concat(spacing.small)
|
|
15
15
|
};
|
|
16
16
|
};
|
|
@@ -12,13 +12,13 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
12
12
|
breakpoints = _ref.breakpoints;
|
|
13
13
|
return {
|
|
14
14
|
quizEntryShowPadding: "".concat(spacing.large, " ").concat(spacing.small),
|
|
15
|
-
quizEntryShowBackgroundColor: colors.
|
|
15
|
+
quizEntryShowBackgroundColor: colors.contrasts.white1010,
|
|
16
16
|
headerHeight: '2rem',
|
|
17
17
|
headerRightPadding: spacing.xSmall,
|
|
18
|
-
dndBorder: "".concat(borders.style, " ").concat(borders.widthSmall, " ").concat(colors.
|
|
18
|
+
dndBorder: "".concat(borders.style, " ").concat(borders.widthSmall, " ").concat(colors.contrasts.blue4570),
|
|
19
19
|
rightHeaderZIndex: '3333',
|
|
20
|
-
rightHeaderColor: colors.
|
|
21
|
-
titleInteractionTypeNamePointsColor: colors.
|
|
20
|
+
rightHeaderColor: colors.contrasts.grey100100,
|
|
21
|
+
titleInteractionTypeNamePointsColor: colors.contrasts.grey4570,
|
|
22
22
|
titleInteractionTypeNamePointsFontSize: typography.fontSizeSmall,
|
|
23
23
|
titleInteractionTypeNamePointsLeftMargin: spacing.xSmall,
|
|
24
24
|
titleInteractionTypeNamePointsRightMargin: spacing.xSmall,
|
|
@@ -26,7 +26,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
26
26
|
optionsButtonDragDropHandleFontSize: typography.fontSizeMedium,
|
|
27
27
|
optionsButtonDragDropHandleMargin: spacing.xSmall,
|
|
28
28
|
phoneConnectingLinesBorderWidth: borders.widthSmall,
|
|
29
|
-
phoneConnectingLinesBorderColor: colors.
|
|
29
|
+
phoneConnectingLinesBorderColor: colors.contrasts.grey4570,
|
|
30
30
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium)
|
|
31
31
|
};
|
|
32
32
|
};
|
|
@@ -9,15 +9,15 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
colors = _ref.colors,
|
|
10
10
|
typography = _ref.typography;
|
|
11
11
|
return {
|
|
12
|
-
uploadIconContainerColor: colors.
|
|
12
|
+
uploadIconContainerColor: colors.contrasts.grey4570,
|
|
13
13
|
uploadIconContainerColorFontSize: typography.fontSizeXLarge,
|
|
14
14
|
checkIconContainerFontSize: typography.fontSizeXLarge,
|
|
15
|
-
checkIconContainerColor: colors.
|
|
15
|
+
checkIconContainerColor: colors.contrasts.green4570,
|
|
16
16
|
smallTextFontSize: typography.fontSizeXSmall,
|
|
17
|
-
smallTextColor: colors.
|
|
17
|
+
smallTextColor: colors.contrasts.grey4570,
|
|
18
18
|
smallTextPadding: spacing.xSmall,
|
|
19
19
|
selectorMargin: spacing.xSmall,
|
|
20
|
-
fileListSuccessColor: colors.
|
|
20
|
+
fileListSuccessColor: colors.contrasts.green4570
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
var _default = generateComponentTheme;
|
|
@@ -9,7 +9,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
9
9
|
borders = _ref.borders,
|
|
10
10
|
spacing = _ref.spacing;
|
|
11
11
|
return {
|
|
12
|
-
separatorColor: colors.
|
|
12
|
+
separatorColor: colors.contrasts.grey1214,
|
|
13
13
|
separatorBorderWidth: borders.widthSmall,
|
|
14
14
|
separatorMargin: spacing.medium
|
|
15
15
|
};
|
|
@@ -11,7 +11,7 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
11
11
|
return {
|
|
12
12
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium),
|
|
13
13
|
menuButtonFontSize: typography.fontSizeLarge,
|
|
14
|
-
menuButtonColor: colors.
|
|
14
|
+
menuButtonColor: colors.contrasts.grey125125,
|
|
15
15
|
menuButtonHoverOpacity: '0.6'
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -10,10 +10,10 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
10
10
|
colors = _ref.colors,
|
|
11
11
|
typography = _ref.typography;
|
|
12
12
|
return {
|
|
13
|
-
timerBackgroundColor: colors.
|
|
14
|
-
timerColor: colors.
|
|
13
|
+
timerBackgroundColor: colors.contrasts.grey1111,
|
|
14
|
+
timerColor: colors.contrasts.grey4570,
|
|
15
15
|
timerBorderWidth: borders.widthSmall,
|
|
16
|
-
timerBorderColor: colors.
|
|
16
|
+
timerBorderColor: colors.contrasts.grey1214,
|
|
17
17
|
timerBorderRadius: borders.radiusMedium,
|
|
18
18
|
timerFontSize: typography.fontSizeMedium,
|
|
19
19
|
timerPadding: spacing.xxSmall,
|