Each piece of backwards-compatibility information is shown as its own pill. The LESS pill is colour-coded by the level of support, and a separate pill is added for the legacy color theme mapping:
| Name | Type | Default value | Backwards compatibility | Description |
|---|
| --brand-primary | <color> | #2f70a7 | LESSbuttonPrimaryBackgroundColor | Color of the success icon and progress-bar fill of the attachment upload widget. |
| --brand-success | <color> | #077537 | LESSnotificationSuccessColor | Color of the "installed" extension status label in the Extension Manager. |
| --brand-info | <color> | #3bb2d0 | LESSnotificationInfoColor | Border color of the checked option in the Required Rights dialog. |
| --brand-warning | <color> | #f0ad4e | LESSnotificationWarningColor | Color of the "available"/remote extension status label in the Extension Manager. |
| --brand-danger | <color> | #cc3333 | LESSnotificationErrorColor | Color of the "invalid" extension status label and the comment delete icon. |
| Name | Type | Default value | Backwards compatibility | Description |
|---|
| --text-color | <color> | #222222 | LESStextColor | Color of the default body text (macro names, button-group menu items, Required Rights labels). |
| --text-muted | <color> | #555 | TODO | Color of secondary, de-emphasized text such as comment headers, extension authors and the "supported by" labels. |
| --headings-color | <color> | inherit | LESStitleColor | Color of headings h1–h6. |
| --headings-font-weight | <number> | 400 | TODO | Font weight of headings h1–h6. |
| --link-color | <color> | #2f6faf | linkColor | Color of links such as the search-suggest "show all results" action. |
| --font-family-base | <string> | var(--font-family-sans-serif) | LESS | Font family used as the base for body text. |
| --font-family-sans-serif | <string> | "Helvetica Neue", Helvetica, Arial, sans-serif | LESS | Font stack of sans-serif fonts used as the base body font. |
| --font-family-serif | <string> | Georgia, "Times New Roman", Times, serif | LESS | Font stack of serif fonts available for serif text. |
| --font-family-monospace | <string> | Georgia, "Times New Roman", Times, serif | LESS | Font stack of monospace fonts used for code and pre blocks. |
| --font-size-base | <length> | 1rem | LESS | Font size used as the base from which the other text and heading sizes are derived. |
| --font-size-small | <length> | .85rem | LESS | Font size for small/secondary text. |
| --font-weight-regular | <number> | 400 | LESS | Weight token for regular text, used for instance by form labels. |
| --font-weight-semibold | <number> | 700 | LESS | Weight of emphasized labels: comment author, file name, current pagination page and suggest source names. |
| --font-weight-bold | <number> | 900 | LESS | Weight token for bold text. |
| Name | Type | Default value | Backwards compatibility | Description |
|---|
| --font-size-headings-scale | <number> | 1.190 | TODO | Ratio of the typographic scale used to compute heading sizes at the largest screen width. |
| --font-size-headings-scale-min | <number> | 1.125 | TODO | Ratio of the typographic scale used to compute heading sizes at the smallest screen width. |
| --min-screen-size | <number> | 768 | TODO | Bound (px) for the lower screen width in the fluid heading-size interpolation. |
| --max-screen-size | <number> | 1200 | TODO | Bound (px) for the upper screen width in the fluid heading-size interpolation. |
| --min-document-title-font-size | <number> | calc(var(--font-size-base) * pow(var(--font-size-headings-scale-min), 5)) | TODO | Value (small-screen minimum) used in the fluid document-title font-size calc. |
| --max-document-title-font-size | <number> | calc(var(--font-size-base) * pow(var(--font-size-headings-scale), 5)) | TODO | Value (large-screen maximum) used in the fluid document-title font-size calc. |
| --font-size-document-title | <length> | See variablelist.vm | TODO | Font size of the page/document title. |
| --min-h1-font-size | <number> | calc(var(--font-size-base) * pow(var(--font-size-headings-scale-min), 4)) | TODO | Value (small-screen minimum) used in the fluid h1 font-size calc. |
| --max-h1-font-size | <number> | calc(var(--font-size-base) * pow(var(--font-size-headings-scale), 4)) | TODO | Value (large-screen maximum) used in the fluid h1 font-size calc. |
| --font-size-h1 | <length> | See variablelist.vm | LESS | Font size of h1 headings, used e.g. for the macro wizard title. |
| --min-h2-font-size | <number> | calc(var(--font-size-base) * pow(var(--font-size-headings-scale-min), 3)) | TODO | Value (small-screen minimum) used in the fluid h2 font-size calc. |
| --max-h2-font-size | <number> | calc(var(--font-size-base) * pow(var(--font-size-headings-scale), 3)) | TODO | Value (large-screen maximum) used in the fluid h2 font-size calc. |
| --font-size-h2 | <length> | See variablelist.vm | LESS | Font size of h2 headings. |
| --min-h3-font-size | <number> | calc(var(--font-size-base) * pow(var(--font-size-headings-scale-min), 2)) | TODO | Value (small-screen minimum) used in the fluid h3 font-size calc. |
| --max-h3-font-size | <number> | calc(var(--font-size-base) * pow(var(--font-size-headings-scale), 2)) | TODO | Value (large-screen maximum) used in the fluid h3 font-size calc. |
| --font-size-h3 | <length> | See variablelist.vm | LESS | Font size of h3 headings. |
| --min-h4-font-size | <number> | calc(var(--font-size-base) * pow(var(--font-size-headings-scale-min), 1)) | TODO | Value (small-screen minimum) used in the fluid h4 font-size calc. |
| --max-h4-font-size | <number> | calc(var(--font-size-base) * pow(var(--font-size-headings-scale), 1)) | TODO | Value (large-screen maximum) used in the fluid h4 font-size calc. |
| --font-size-h4 | <length> | See variablelist.vm | LESS | Font size of h4 headings. |
| --font-size-h5 | <length> | var(--font-size-base) | LESS | Font size of h5 headings. |
| --min-h6-font-size | <number> | calc(var(--font-size-base) * pow(var(--font-size-headings-scale), -1)) | TODO | Value (small-screen minimum) used in the fluid h6 font-size calc. |
| --max-h6-font-size | <number> | calc(var(--font-size-base) * pow(var(--font-size-headings-scale-min), -1)) | TODO | Value (large-screen maximum) used in the fluid h6 font-size calc. |
| --font-size-h6 | <length> | See variablelist.vm | LESS | Font size of h6 headings. |
| Name | Type | Default value | Backwards compatibility | Description |
|---|
| --body-bg | <color> | #fafafa | LESSpageBackgroundColor | Background color of the page body. |
| --xwiki-page-content-bg | <color> | #FFFFFF | LESSpageContentBackgroundColor | Background of the page content area, suggest dropdowns, the extension search input and button-group menus. |
| --xwiki-background-secondary-color | <color> | #fafafa | backgroundSecondaryColor | Background color (secondary) used for instance by the attachment upload status container. |
| --xwiki-border-color | <color> | #E8E8E8 | borderColor | Border color of dropdowns, suggest result lists and the extension body container. |
| --xwiki-page-header-bg-color | <color> | #FFFFFF | pageHeaderBackgroundColor | Background color of the page header. |
| --xwiki-page-header-bg-image | <image> | "" | headerBackgroundImage | Background image of the page header. |
| --xwiki-page-header-bg-position | <position> | "" | headerBackgroundPosition | Background image position of the page header. |
| Name | Type | Default value | Backwards compatibility | Description |
|---|
| --btn-font-weight | <number> | normal | LESS | Font weight of buttons (.btn). |
| --btn-default-color | <color> | #4d5860 | LESSbuttonSecondaryTextColor | Text color of default buttons (.btn-default); also the active pagination button text. |
| --btn-default-bg | <color> | #f8f8f8 | LESSbuttonSecondaryBackgroundColor | Background of default buttons (.btn-default); also the active pagination button. |
| --btn-default-border | <color> | #ccc | LESS | Border color of default buttons; e.g. the separator before a button-group dropdown toggle. |
| --btn-primary-color | <color> | #fff | LESSbuttonPrimaryTextColor | Text color of primary buttons (.btn-primary). |
| --btn-primary-bg | <color> | #386da7 | LESSbuttonPrimaryBackgroundColor | Background of primary buttons (.btn-primary). |
| --btn-success-color | <color> | #fff | LESSmenuAddEntryLinkColor | Text color of success buttons (.btn-success). |
| --btn-success-bg | <color> | TODO | LESSmenuAddEntryBackgroundColor | Background of success buttons (.btn-success). |
| --btn-info-color | <color> | #fff | LESS | Text color of info buttons (.btn-info). |
| --btn-info-bg | <color> | var(--brand-info) | LESS | Background of info buttons (.btn-info). |
| --btn-warning-color | <color> | #000 | LESS | Text color of warning buttons (.btn-warning). |
| --btn-warning-bg | <color> | var(--brand-warning) | LESS | Background of warning buttons (.btn-warning). |
| --btn-danger-color | <color> | #fff | LESS | Text color of danger buttons (.btn-danger). |
| --btn-danger-bg | <color> | #ca302c | LESS | Background of danger buttons (.btn-danger). |
| --button-spacing | <length> | 2px | TODO | Spacing between adjacent buttons. |
| --button-border-width | <length> | 1px | TODO | Border width of buttons. |
| Name | Type | Default value | Backwards compatibility | Description |
|---|
| --navbar-height | <length> | 50px | LESS | Height of the top navigation bar (.navbar). |
| --navbar-default-color | <color> | #727272 | LESSmenuLinkColor | Text color of the top navigation bar (.navbar-default). |
| --navbar-default-bg | <color> | TODO | LESSmenuBackgroundColor | Background color of the top navigation bar (.navbar-default). |
| --navbar-default-link-color | <color> | #727272 | LESSmenuLinkColor | Link color in the top navigation bar (.navbar-default). |
| --navbar-default-link-hover-color | <color> | TODO | LESSmenuLinkColor | Link hover color in the top navigation bar. |
| --navbar-default-link-hover-bg | <color> | TODO | LESSmenuBackgroundColor | Link hover background in the top navigation bar. |
| --navbar-default-link-active-color | <color> | TODO | LESSmenuLinkColor | Color of active links in the top navigation bar. |
| --navbar-default-link-active-bg | <color> | TODO | LESSmenuBackgroundColor | Background of active links in the top navigation bar. |
| --navbar-default-link-disabled-color | <color> | TODO | menuContentLinkColor | Color of disabled links in the top navigation bar. |
| --navbar-default-toggle-border-color | <color> | TODO | borderColor | Border color of the navbar collapse toggle (mobile menu button). |
| --menu-default-color | <color> | var(--navbar-default-color) | TODO | Text color of menus (derived from the navbar color). |
| --menu-default-link-color | <color> | var(--navbar-default-link-color) | TODO | Link color of menus. |
| --menu-default-link-hover-color | <color> | var(--navbar-default-link-hover-color) | TODO | Link hover color of menus. |
| --menu-default-link-hover-bg | <color> | var(--navbar-default-link-hover-bg) | TODO | Link hover background of menus. |
| --menu-default-link-active-color | <color> | var(--navbar-default-link-active-color) | TODO | Color of active menu links. |
| --menu-default-link-active-bg | <color> | var(--navbar-default-link-active-bg) | TODO | Background of active menu links. |
| --menu-height | <length> | 1.5lh | TODO | Height of menu entries. |
| --menu-default-border | <color> | var(--navbar-default-border) | TODO | Border color of menus. |
| Name | Type | Default value | Backwards compatibility | Description |
|---|
| --mark-bg | <color> | color-mix(in srgb, var(--btn-warning-bg), white) | LESSsince 18.0.0 | Background of highlighted text (mark). |
| --mark-updated-bg | <color> | color-mix(in srgb, color-mix(in srgb, var(--btn-warning-bg), var(--btn-danger-bg) 35%), white) | LESSsince 18.0.0 | Background marking updated text in diffs. |
| --mark-altered-bg | <color> | color-mix(in srgb, var(--btn-danger-bg), white) | LESSsince 18.0.0 | Background marking altered/removed text in diffs. |
| --mark-highlighted-bg | <color> | var(--btn-warning-bg) | LESSsince 18.0.0 | Background of strongly highlighted text. |
These variables are used internally by the responsive font-size system and should generally not be overridden.