Repository navigation
Document the Boost theme colour modes - #1684
Merged
Merged
Conversation
✅ Deploy Preview for moodledevdocs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds developer documentation for Boost’s new light/dark colour modes (Bootstrap 5.3 colour modes API), including guidance for plugin authors on sourcing colours from theme tokens/custom properties, auditing for hardcoded colours, and testing (including Behat support).
Changes:
- Adds a new “Colour modes” developer guide describing how Boost applies modes and how plugins/themes should support them.
- Documents the Behat
--colourmodeoption and links to the new guide. - Cross-links the new guide from the developer update page and relevant CSS/style documentation pages.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| general/development/tools/behat/running.md | Documents --colourmode usage for Behat runs and links to the new guide. |
| docs/guides/colourmodes/index.md | New comprehensive guide explaining Boost colour modes, tokens/properties, auditing, contrast, and testing guidance. |
| docs/guides.md | Adds the new guide to the Developer Guides list. |
| docs/devupdate.md | Notes the new Boost colour modes feature and points readers to the guide. |
| docs/apis/plugintypes/theme/styles.md | Adds a callout linking theme/plugin styling guidance to colour modes. |
| docs/apis/_files/styles-css.mdx | Adds a warning reminding plugin authors to check both colour modes and linking to the guide. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
junpataleta
force-pushed
the
MDL-68037-dark-mode
branch
from
October 21, 2026 09:28
27d1537 to
b3c96a8
Compare
junpataleta
force-pushed
the
MDL-68037-dark-mode
branch
from
October 21, 2026 09:42
b3c96a8 to
1dfabc3
Compare
junpataleta
force-pushed
the
MDL-68037-dark-mode
branch
from
October 21, 2026 10:15
1dfabc3 to
1006204
Compare
junpataleta
force-pushed
the
MDL-68037-dark-mode
branch
from
October 21, 2026 10:38
1006204 to
6e58af2
Compare
Adds a Colour modes developer guide covering how Boost renders a mode with the Bootstrap 5.3 colour modes API, which custom properties and design system tokens follow it, how to audit a plugin's styles for hardcoded colours, and how to test in both modes. Also covers icons, editor content, contrast targets, and what a theme inheriting from Boost needs to know. Notes the feature on the 5.3 developer update page, documents the new Behat --colourmode option on the running tests page, and cross-links from the styles.css plugin file, theme styles, and developer guides pages. See MDL-68037. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
junpataleta
force-pushed
the
MDL-68037-dark-mode
branch
from
October 21, 2026 10:59
6e58af2 to
ad62a9f
Compare
safatshahin
approved these changes
Oct 21, 2026
safatshahin
left a comment
Collaborator
There was a problem hiding this comment.
Thanks @junpataleta
Looks good!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Adds a Colour modes developer guide covering how Boost renders a mode with the Bootstrap 5.3 colour modes API, which custom properties and design system tokens follow it, how to audit a plugin's styles for hardcoded colours, and how to test in both modes. Also covers icons, editor content, contrast targets, and what a theme inheriting from Boost needs to know.
Notes the feature on the 5.3 developer update page, documents the new Behat --colourmode option on the running tests page, and cross-links from the styles.css plugin file, theme styles, and developer guides pages.
See MDL-68037.