Custom Styles
The appearance of the Algebrakit's components can be customized using the styles property in the AlgebraKIT javascript object
This property needs to be added to the config in the AlgebraKIT object on page initialization. The styles are only loaded once. For example
var AlgebraKIT = {
config: {
/* Other configuration properties */
styles: {
general: {
'color-primary': '#2C5F2D',
'color-secondary': '#97BC62FF',
},
'formula-editor': {
'color-sub-palette': '#576957'
}
}
}
}
Will result in the following appearance for the formula editor:

The options in general will be applied to all components, while the options in formula-editor will only be applied to the akit-formula-editor components. color-sub-palette in the akit-formula-editor object is an option that only exists for the formula editor but all options that can be used in general can also be used here. The section below lists all available options for general and for all specific components.
Styling the question components
All properties that can be used for styling are shown below. The default value applies to the akit default theme
general
Contains styles that will be applied to all components.
| Property | Description | Default |
|---|---|---|
border-radius |
General border radius for UI elements | "0.3em" |
font-general |
Font for regular text | "'Helvetica Neue', Helvetica, Arial, sans-serif" |
font-size-math |
Font sizeefor math expression. The font family cannot be changed. | "1.03em" |
| Colors | ||
color-correct |
The color for icons indicating a "correct" or "finished" response | "green" |
color-correct-bg |
Background color for elements that are marked correct | "#f0fff0" |
color-correct-step-bg |
The background color for elements that are marked correct but not finished | "lightgoldenrodyellow" |
color-error |
The foreground (text) color of error messages | "darkred" |
color-error-bg |
The background color for errors | "#fff0f0" |
color-error-detail |
The foreground (text) color of the subcaption of error feedback | "initial" |
color-focus-outline |
Color used for keyboard focus outline; by default the complementary yellow | "#edc951" |
color-hint |
The foreground (text) color for a hint | color-primary |
color-hint-bg |
The background color for a hint | "#f4fbff" |
color-hint-detail |
The foreground (text) color of the subcaption of a hint | "initial" |
color-input |
Color for input fields | "#F2F2F2" |
color-input-disabled |
Color for disabled input fields | "#E6E6E6" |
color-main-fg |
The foreground (text) color of regular text | "#333333" |
color-main-fg-inverted |
Inverted foreground (text) color of regular text | "white" |
color-neutral-bg |
Neutral (gray) background color to contrast with the regular white bg | "#fafafa" |
color-neutral-fg |
Neutral (gray) foreground color that complements the lighter bg color | "gray" |
color-primary |
The primary UI color | "#336699" |
color-primary-lighter |
Lighter variant of the primary color, used for e.g. the formula editor palette on touch devices | "#3973ac" |
color-secondary |
The secondary UI color | "#009fe3" |
color-server-error |
The foreground (text) color for a server error | "darkred" |
color-server-error-bg |
The background color for a server error | "#fff7e7" |
color-strategy-error |
The foreground (text) color for a "strategy error" | "orange" |
color-strategy-error-bg |
The background color for a "strategy error" | "#eff7fc" |
color-tertiary |
The teriary UI color | "#edc951" |
color-true-expression |
The color for icons indicating a "true expression" response | "gray" |
| Buttons | ||
border-buttons-default |
Border of a non-primary button | "1px solid #cccccc" |
border-buttons-default-hover |
Border of a non-primary hovered button | "1px solid #adadad" |
border-buttons-primary |
Border of a primary button | "1px solid #2e6da4" |
border-buttons-primary-hover |
Border of a primary hovered button | "1px solid #204d74" |
border-buttons-secondary |
Border of a secondary button | "1px solid #2e6da4" |
border-buttons-secondary-hover |
Border of a secondary hovered button | "1px solid #204d74" |
border-radius-buttons |
Border radius for button elements | border-radius |
color-bg-buttons-default |
Background color of non-primary buttons | "white" |
color-bg-buttons-default-hover |
Background color of non-primary hovered buttons | "#e6e6e6" |
color-bg-buttons-primary |
Background color of a primary button | color-primary |
color-bg-buttons-primary-hover |
Background color of a primary hovered button | color-primary |
color-bg-buttons-secondary |
Background color of a secondary button | color-secondary |
color-bg-buttons-secondary-hover |
Background color of a secondary hovered button | color-secondary |
color-button |
Default color for buttons | "#eaeaea" |
color-button-hover |
Default hover color for buttons | "#a0a0a0" |
color-fg-buttons-default |
Foreground color of non-primary buttons | color-main-fg |
color-fg-buttons-default-hover |
Foreground color of non-primary hovered buttons | color-main-fg |
color-fg-buttons-primary |
Foreground color of a primary button | "white" |
color-fg-buttons-primary-hover |
Foreground color of a primary hovered button | "white" |
color-fg-buttons-secondary |
Foreground color of a secondary button | "white" |
color-fg-buttons-secondary-hover |
Foreground color of a secondary hovered button | "white" |
font-buttons |
Font used in buttons | "'Helvetica Neue', Helvetica, Arial, sans-serif" |
font-size-buttons |
Font size of buttons | "inherit" |
font-weight-buttons |
Font weight of buttons | "inherit" |
min-width-buttons |
"inherit" |
|
padding-buttons |
"6px 12px;" |
|
shadow-buttons |
"none" |
|
text-transform-buttons |
Text transform applied to buttons | "inherit" |
| Forms | ||
border-radius-form-controls |
Border radius of form elements, such as input fields | border-radius |
height-form-controls |
Default height of form elements, such as input fields | "34px" |
arithmetic-notebook
Applies to the "Arithmetic Notebook" interaction type.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
color-palette-buttons-bg |
Background color for the palette buttons | "white" |
color-palette-buttons-fg |
Foreground color for the palette buttons | "#333333" |
arithmetic-paper
Applies to the "Arithmetic Paper" interaction type.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
| Canvas | ||
color-canvas-bg |
Background color of the canvas | "white" |
color-canvas-border |
Border color of the canvas | "#888888" |
color-grid |
Color of the grid lines | "#D5D5D5" |
color-margin |
Color of the margin line (when enabled) | "#F44" |
| Cursor and active cell | ||
color-active-cell |
Border color of the cursor / active cell (left-to-right input) | "#0092FA" |
color-cursor-bar |
Color of the blinking text cursor | "black" |
color-reversed-cell |
Border color of the cursor for right-to-left input | "#df7400" |
| Input and text | ||
color-fixed-symbol |
Color of fixed (given) symbols | color-line |
color-htu-text |
Color of the place value (HTU) text | "rgb(0,0,100)" |
color-input-token |
Color of the input text | "#333333" |
color-partial-text |
Color of partial, carry and borrow symbols | "#1871BD" |
| Lines | ||
color-line |
Color of operator and division lines, auto-shown digits and the division bar | "rgb(0,0,100)" |
color-line-error |
Color of error lines | "#D14737" |
color-scratch |
Color of the scratch-through line | color-partial-text |
color-sum-line |
Color of the vertical sum separator line | "#3082AB" |
| Errors and warnings | ||
color-error-bg |
Background color of the active error cell | "#D14737" |
color-error-cell |
Border color of the active error cell | "#8B0000" |
color-error-cell-inactive |
Border and text color of inactive error cells | color-error-cell |
color-error-cell-inactive-bg |
Background color of inactive error cells | "#FFF0F1" |
color-error-text |
Text color of the active error cell | "white" |
color-warning |
Color of the warning border and icon | "#FD5D31" |
color-warning-text |
Color of warning text | "#a66300" |
| Feedback | ||
color-feedback-arrow-inset |
Inset border color of the feedback popup arrow | "#aaa" |
color-feedback-popup-bg |
Background color of the feedback/hint popup | "#D2EEFC" |
color-feedback-popup-fg |
Text and border color of the feedback/hint popup | "#336699" |
color-feedback-source-bg |
Background color of the highlighted feedback source | "#FD5D31" |
color-feedback-source-popup-bg |
Background color of the feedback source in the popup | "#FFFDEB" |
color-feedback-source-popup-border |
Border color of the feedback source in the popup | "#FD5D31" |
| Unmatched, overflow and replacement symbols | ||
color-finished-unmatched |
Color of unmatched symbols when the exercise is finished | "rgba(0,0,0,0.3)" |
color-highlight-text |
Color of highlighted text and borders | "#c80000" |
color-replacement |
Color of replacement digits | color-highlight-text |
color-unmatched |
Color of unmatched symbols, overflow digits and feedback hint text | "#767676" |
| Cell backgrounds | ||
color-editable-bg |
Background color of editable partial sums, differences and products | "white" |
color-missing-fields-bg |
Background color of the missing fields wrapper | "#ffffff" |
| Progress indicator | ||
color-finished-label-bg |
Background color of the finished badge and label | "#008000" |
color-icon-text |
Color of icons in label badges | "#fff" |
color-progress-fill |
Fill color of the progress circle | color-primary |
color-progress-finished-bg |
Background color of the finished badge | color-finished-label-bg |
color-progress-finished-text |
Text color of the finished badge | "white" |
color-progress-stroke |
Stroke color of the progress circle | "#D2EEFC" |
color-progress-text |
Color of the progress icon | "white" |
color-progress-trail |
Stroke color of the progress outline | color-primary |
| Button bar | ||
color-button-bg |
Background color of buttons | "#eee" |
color-button-border |
Border color of buttons | "#4a4a4a" |
color-button-dark-bg |
Background color of dark buttons | "#bbb" |
color-button-dark-hover |
Background color of hovered dark buttons | "#aaa" |
color-button-hover |
Background color of hovered buttons | "#ccc" |
color-button-text |
Text color of buttons | "#333" |
choice
Applies to the "Multiple Choice" interaction type.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
border-box |
Border of checkboxes | 1px solid var(--akit-color-main-fg) |
border-box-hover |
Border of checkboxes in hovered options | var(--akit-choice-border-box) |
border-box-selected |
Border of checkboxes in selected options | var(--akit-choice-border-box) |
border-option |
Border for options | 1px solid #ccc |
border-option-hover |
Border of hovered options | var(--akit-choice-border-option) |
border-option-selected |
Border of selected options | var(--akit-choice-border-option) |
border-radius-box |
Border radius for checkboxes. Applies to multiple-select only) | 8px |
border-radius-option |
Border radius for options | var(--akit-border-radius) |
color-background-label-error |
Background color of the error label (matches the error crossmark) | #D14737 |
color-box-bg |
Background color of checkboxes | white |
color-box-bg-hover |
Background color of checkboxes in hovered options | white |
color-box-bg-selected |
Background color of checkboxes in selected options | white |
color-box-border-error |
Border color of checkboxes in incorrect options | var(--akit-color-error) |
color-box-correct |
Font color for correct checkboxes | var(--akit-color-correct) |
color-box-correct-bg |
Background color for correct | var(--akit-color-correct-bg) |
color-box-error |
Font color for incorrect checkboxes | var(--akit-color-error) |
color-box-error-bg |
Background color for incorrect options | var(--akit-color-error-bg) |
color-box-fg |
Font color in checkboxes | var(--akit-color-main-fg) |
color-option-bg |
Background color of options | #f7fafa |
color-option-bg-hover |
Background color of hovered options | #ccc |
color-option-bg-selected |
Background color of selectedoptions | #c6eeff |
color-option-correct |
Font color for correct options | var(--akit-color-correct) |
color-option-correct-bg |
Background color for correct options | var(--akit-color-correct-bg) |
color-option-correct-border |
Border color for correct options | #005C00 |
color-option-correct-content-text |
Text color of the content of correct options | #005C00 |
color-option-error |
Font color for incorrect options | var(--akit-color-error) |
color-option-error-bg |
Background color for incorrect options | var(--akit-color-error-bg) |
color-option-fg |
Color of content in options | var(--akit-color-main-fg) |
disabled-hint-arrows |
Color of the disabled navigation arrows in the hint container | #919191 |
font-weight-box |
Font weight in checkboxes | normal |
min-height-option |
Minimum height of options | 32px |
padding-option-horizontal |
Horizontal padding in options | 8px |
padding-option-vertical |
Vertical padding around content in options | 8px |
size-box |
Height and width of checkboxes | 24px |
spacing-box-content |
Horizontal distance between option box and content | 2em |
spacing-options |
Vertical distance between options | 8px |
derivation
Applies to the worked solutions that Algebrakit can show.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
color-arrow |
The color of the arrow that is shown on the left side of an expanded step | "#646464" |
color-derivation-bg |
The background color of the derivation | "transparent" |
color-step-bg |
Background color for an expanded step | "#f0f7ff" |
shadow-step |
The shadow around an expanded step | "0 3px 5px 0 rgb(0 0 0 / 15%)" |
feedback
Applies to the elements that are shown when Algebrakit supplies error feedback.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
border |
The border of the element | "1px solid gray" |
padding-horizontal |
Left and right padding for the element | "8px" |
padding-vertical |
Top and bottom padding for the element | "8px" |
formula-editor
Applies to the component that can be used to input math formulas.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
border-palette-buttons |
Border for the subpalette buttons | "initial" |
border-radius |
The border radius for the bottom left and right corner | border-radius |
border-radius-palette-buttons |
Border radius for the subpalette buttons | "0.2em" |
color-buttons-hover |
hover color for the buttons elsewhere | "#ececec" |
color-full-palette-heading |
Color for the headings between categories in the full palette | "#eaeaea" |
color-light-bg |
Background color for the instruction/help area | "#efefef" |
color-palette-buttons-bg |
Background color for the subpalette buttons | "white" |
color-palette-buttons-fg |
Foreground color for the subpalette buttons | "#333333" |
color-sub-palette |
Color for the sub-palette: the lower part of the editor where the buttons for symbols are located | "#767676" |
color-tab-fg |
Foreground color for the tabs | "white" |
color-tab-hover |
Color when hovering over a palette tab | "#999999" |
placeholder-color-main |
Color of the squares in tab buttons | "#eeeeee" |
placeholder-color-sub |
Color of the squares in subpalette buttons | "#bbb" |
width-max |
Maximum width for the formula editor | "700px" |
width-min |
Minimum width for the formula editor | "320px" |
| Palette on touch devices | ||
color-mobile-palette-button-bg |
Background color for the default buttons on touch devices | "#e6e6e6" |
color-mobile-palette-button-bg-hover |
Background color for hovered default buttons on touch devices | "#dcdcdc" |
color-mobile-palette-button-digit-bg |
Background color for the digit buttons on touch devices | "white" |
color-mobile-palette-button-digit-bg-hover |
Background color for hovered digit buttons on touch devices | "#f0f0f0" |
color-mobile-palette-button-digit-fg |
Foreground color for the digit buttons on touch devices | color-mobile-palette-button-fg |
color-mobile-palette-button-fg |
Foreground color for the default buttons on touch devices | "#333333" |
color-mobile-palette-main-button-bg |
Background color for the "main section" buttons on touch devices | color-primary |
color-mobile-palette-main-button-bg-hover |
Background color for hovered "main section" buttons on touch devices | color-primary-lighter |
color-mobile-palette-main-button-fg |
Foreground color for the "main section" buttons on touch devices | "white" |
geometry
Applies to the "Geometry and Graphs" interaction type.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
color-support-1 |
Additional color used in the geometry component | "#034655" |
color-support-2 |
Additional color used in the geometry component | "#777777" |
width-max |
Maximum width for the component | "550px" |
handwriting-canvas
Applies to the canvas for handwritten input.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
border-radius |
Border radius used throughout the component | "6px" |
color-primary |
Accent color, used for e.g. progress bars | color-primary |
| Canvas and container | ||
color-autoscroll-zone |
Color of the auto-scroll zone indicator | "rgba(90, 159, 212, 0.3)" |
color-background |
Background color of the canvas | "white" |
color-border |
Border color of the canvas | "#c0c0c0" |
color-scrollbar-thumb |
Color of the scrollbar thumb | "#9aa3af" |
color-scrollbar-track |
Color of the scrollbar track | "#f0f3f7" |
| Toolbar | ||
color-icon |
Color of toolbar icons | color-main-fg |
color-icon-active |
Color of the active toolbar icon | "#3b82f6" |
color-icon-active-bg |
Background color of the active toolbar icon | "rgba(59, 130, 246,0.15)" |
color-icon-active-hover-bg |
Background color of the hovered active toolbar icon | "rgba(59, 130, 246,0.35)" |
color-icon-bg |
Background color of toolbar icons | "white" |
color-icon-disabled |
Color of disabled toolbar icons | "#c5cdd6" |
icon-button-size |
Size of the toolbar icon buttons | "2em" |
| Error message | ||
color-error-bg |
Background color of error messages | color-error-bg |
color-error-border |
Border color of error messages | color-error |
color-error-text |
Text color of error messages | color-error |
inline
Applies to Fill in the Blanks question type.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
line-height |
Line height of text that contains inline input fields | "3em" |
inline-choice
Applies to the dropdown input in Fill in the Blanks question type.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
color-border |
Border color of the selection field | color-primary |
color-input |
Background color of the selection field | "white" |
color-input-hover |
Background color of the hovered selection field | "#EEEEEE" |
color-pill-background |
Background color of the selected options (pills) in multi-select | "white" |
color-pill-border |
Border color of the selected options (pills) in multi-select | "darkgray" |
inline-math
Applies to the math input in Fill in the Blanks question type.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
color-border |
Border color of the input field | color-primary |
color-cell-description |
Foreground (text) color for cell description text | "darkgray" |
color-input |
Background color of the input field | "white" |
color-input-hover |
Background color of the hovered input field | "#EEEEEE" |
interaction
An interaction object wraps a question type (like Multistep, Math Table, etc) and optionally an instruction element.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
border-instruction |
The border specification of the instruction element | "none" |
border-radius-instruction-bottom |
The top border radius of the instruction element | border-radius |
border-radius-instruction-top |
The top border radius of the instruction element | border-radius |
color-instruction-bg |
The background color of the instruction element | "transparent" |
margin-bottom-instruction |
The vertical margin between the instruction element and the interaction | "0px" |
padding-instruction |
The padding of the instruction element | "0px" |
math-table
Applies to the "Table" interaction.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
color-arrows |
Color of the (optional) arrows above and below the table | "firebrick" |
color-border |
Border color of input cells and header separators | color-primary |
color-fb-detail |
Color of subcaption of error feedback | color-error-detail |
color-fb-main |
Color of main line of error feedback | color-error |
color-grayed-out |
Background color of grayed-out cells | "#cccccc" |
color-input |
Background color of input cells | "white" |
color-input-hover |
Background color of hovered input cells | "#EEEEEE" |
color-table-border |
Color of the table grid lines | "#767676" |
model-method
Applies to the "Model Method" interaction type.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
block-color-0 |
Block color 0 that authors can assign to blocks | "#00a5ff" |
block-color-1 |
Block color 1 | "#854800" |
block-color-2 |
Block color 2 | "#b25cef" |
block-color-3 |
Block color 3 | "#00d477" |
block-color-4 |
Block color 4 | "#009dfd" |
block-color-5 |
Block color 5 | "#3f0b08" |
block-color-6 |
Block color 6 | "#00ffff" |
block-color-7 |
Block color 7 | "#002e30" |
border |
"1px solid #333" |
|
border-radius |
"0.2em" |
|
color-bg-shade-0 |
"#E3F5FC" |
|
color-bg-shade-1 |
"#C8EAF9" |
|
color-bg-shade-2 |
"#ADE0F7" |
|
color-input |
"white" |
|
highlight-color |
Color used to highlight elements in the diagram | "#369" |
highlight-color-rgb |
The highlight color as comma-separated RGB values, used for transparent highlights | "51, 102, 153" |
input-padding |
"0.4em 0.6em" |
|
placeholder-border |
Border of placeholders | "1px dotted #333" |
placeholder-border-highlight |
Border of highlighted placeholders | "1px dotted var(--akit-model-method-highlight-color)" |
toolbar-2nd-button-hover-bg |
Background color of hovered buttons in the secondary toolbar | "#F5F5F5" |
multistep
Applies to the "Multistep" interaction type.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
width-max |
Maximum width for the component | "700px" |
| Worksheet | ||
border-radius |
The border radius for the worksheet | border-radius |
border-worksheet |
"2px solid var(--akit-color-primary)" |
|
color-cell-description |
Foreground (text) color for cell description text | "#767676" |
color-hover |
Color for buttons ("submit", "hint", etc.) when hovered over | "#acc7e7" |
color-input-border |
Color for the line to the left of the input area | "#25c8c7" |
color-worksheet-bg |
Background color for the math input and derivation area (the "worksheet") of the multistep | "#fff" |
| Buttons | ||
border-buttons |
"1px solid var(--akit-color-primary)" |
|
border-buttons-disabled |
"1px solid var(--akit-color-primary)" |
|
border-buttons-hover |
"1px solid var(--akit-color-primary)" |
|
border-radius-buttons |
border-radius-buttons | |
color-buttons-bg |
"transparent" |
|
color-buttons-bg-disabled |
"transparent" |
|
color-buttons-bg-hover |
color-primary | |
color-buttons-fg |
color-primary | |
color-buttons-fg-disabled |
color-primary | |
color-buttons-fg-hover |
"white" |
|
opacity-buttons-disabled |
"0.5" |
|
| Hints | ||
border-hint-line |
"2px solid var(--akit-color-hint)" |
|
color-hint-detail |
color-hint-detail | |
color-hint-expr |
"inherit" |
|
color-hint-label |
color-hint | |
color-hint-main |
color-hint | |
| Error feedback | ||
border-fb-line |
"2px solid var(--akit-color-error)" |
|
color-fb-detail |
color-error-detail | |
color-fb-expr |
"inherit" |
|
color-fb-label |
color-error | |
color-fb-main |
color-error |
numpad
Applies to the number pad as used in e.g. Model Method
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
border-radius |
"5px" |
|
border-width |
"1px" |
|
color-background |
"white" |
|
color-backspace |
"white" |
|
color-backspace-bg |
"black" |
|
color-hover |
"lightgrey" |
|
color-outline |
"black" |
|
color-text |
"black" |
open-answer
Applies to the "Open Answer" interaction.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
color-give-up-review |
Foreground (text) color indicating an open answer exercise that was "given up" | "gray" |
scientific-calculator
Applies to the calculator utility that can be activated when doing exercises.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
border-radius |
border-radius | |
border-spec |
"0px solid transparent" |
|
color-minor-btn |
"#777777" |
Styling the authoring components
The following styling options are only applicable to the authoring tools used outside of our CMS.
exercise-editor
These rules are applied generally within the exercise editor.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
border-balloon-title |
"1px solid #ccc" |
|
border-bottom-summary |
"none" |
|
border-collapsable-content |
"none" |
|
border-header |
"1px solid #ccc;" |
|
border-hr-step-buttons |
"1px solid var(--akit-exercise-editor-color-secondary);" |
|
border-radius |
"var(--akit-border-radius)" |
|
color-bg-balloon-title |
"#dddddd" |
|
color-bg-header |
"#f6f6f6" |
|
color-bg-settings-button |
"var(--akit-exercise-editor-color-secondary)" |
|
color-bg-summary |
"none" |
|
color-bg-summary-hover |
"#ddd !important" |
|
color-bg-task-selector |
"white" |
|
color-fg-balloon-title |
"#333333" |
|
color-fg-settings-button |
"white" |
|
color-fg-summary |
"var(--akit-color-main-fg)" |
|
color-fg-task-selector |
"var(--akit-color-main-fg)" |
|
color-fg-validation-error |
Color of the marker for fields with a validation error | "firebrick" |
color-inactive-bg |
"#eeeeee" |
|
color-step-buttons-active |
"var(--akit-exercise-editor-color-secondary)" |
multipart-master-view
Applies to the overview of parts in a multi-part exercise.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
color-bg-secondary-header |
"#f6f6f6" |
|
part-name-bg |
"#eee" |
|
part-name-border |
"1px solid #ccc" |
|
part-name-border-radius |
"var(--akit-border-radius)" |
|
part-name-fg |
"var(--akit-color-main-fg)" |
|
row-icon-bg-hover |
"#eee" |
|
row-icon-fg |
"#777" |
|
row-icon-fg-hover |
"#333" |
|
table-bg |
"white" |
|
table-border |
"1px solid #ccc" |
|
table-border-radius |
"var(--akit-border-radius)" |
text-editor
Applies to the text editor that allows an author to specify text content, such as instructions, hints and error feedback.
In addition to the general options, the following options apply:
| Property | Description | Default |
|---|---|---|
border-single-block-editor |
"1px solid #c0c0c0" |