General options
Start here for site-wide switches: dark mode, the back-to-top button, course hints for teachers, and similar everyday options.
xy for Moodle 5.1
Or noticed a bug you’d like to report?Just let me know.
I’m here to help — just open a support ticket! Online documentation
Magic Admin Tool
Export and import theme settings as a backup. Useful when copying design between sites. Images are not included.
theme_xy/magicadmintoolAdditional notes
Enable or disable the import/export settings tool to manage theme settings.
Only Dark Mode UI
Forces dark appearance for everyone and hides the light/dark switch.
theme_xy/darkmodeonlyAdditional notes
Force Dark Interface Only. When enabled the Dark Mode Switcher will not be displayed.
Theme Author
Shows theme credit information in the page source. Usually safe to leave on.
theme_xy/themeauthorAdditional notes
Show information about the author of the theme.
Back to top button
Shows a button on long pages to jump back to the top.
theme_xy/backtotopForce full-width video
Embedded videos use the full content width.
theme_xy/forcefwvideoAdditional notes
Turn off this option to revert to the default Moodle video size settings.
Show hint for switched role
Shows a hint in the course header when the user switched roles in the course, with a link to return to the original role.
theme_xy/showswitchedroleincourseShow hint for guest access
When guests access the course, a hint appears in the header. If self-enrollment is available, a link to that page is also provided.
theme_xy/showhintcourseguestaccessShow hint for self enrolment without enrolment key
A hint appears in the course header when enrolment without enrolment key is possible.
theme_xy/showhintcourseselfenrolDark Mode Switcher
Lets users choose light mode, dark mode, or automatic (follow their device).
theme_xy/darkmodethemeWhere users switch light / dark / auto
Shown only when Dark Mode Switcher above is enabled and “Only Dark Mode UI” is off.
Control style (dropdown vs top bar icon)
Choose whether the light/dark control sits in the user menu or as one icon in the top bar.
theme_xy/darkmodectrlChoices
- User avatar menu — segmented control
- Top bar — single icon button
Additional notes
Either the Light / Dark / Auto control inside the user menu dropdown, or one icon next to the top bar icons that cycles modes.
Dark Mode (Button Title/Tooltip)
Text shown on the dark mode button or tooltip. You can translate it for your audience.
theme_xy/sdarkmodeLight Mode (Button Title/Tooltip)
Text shown on the light mode button or tooltip. You can translate it for your audience.
theme_xy/slightmode