Skip to content

Add instructions for using the dark theme selector - #81

Open
jensjvh wants to merge 2 commits into
apluslms:masterfrom
jensjvh:dark-theme-styling
Open

Add instructions for using the dark theme selector#81
jensjvh wants to merge 2 commits into
apluslms:masterfrom
jensjvh:dark-theme-styling

Conversation

@jensjvh

@jensjvh jensjvh commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Description

What?

Add a section to the course page styling chapter for adding dark theme specific styles.

Implements #80

Testing

Remember to add or update unit tests for new features and changes.

What type of test did you run?

  • Accessibility test using the WAVE extension.
  • Django unit tests.
  • Playwright tests.
  • Other test. (Add a description below)
  • [ x] Manual testing.

[ADD A DESCRIPTION ABOUT WHAT YOU TESTED MANUALLY]

Did you test the changes in

  • Chrome
  • Firefox
  • This pull request cannot be tested in the browser.

Think of what is affected by these changes and could become broken

Translation

Programming style

  • Did you follow our style guides?
  • Did you use Python type hinting in all functions that you added or edited? (type hints for function parameters and return values)

Have you updated the README or other relevant documentation?

  • documents inside the doc directory.
  • README.md.
  • Aplus Manual.
  • Other documentation (mention below which documentation).

Is it Done?

  • Reviewer has finished the code review
  • After the review, the developer has made changes accordingly
  • Customer/Teacher has accepted the implementation of the feature

Clean up your git commit history before submitting the pull request!

@ihalaij1
ihalaij1 self-requested a review August 11, 2026 09:15

@ihalaij1 ihalaij1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

We should also add some examples of using Bootstrap 5 CSS variables, so that users can make use of the same values that A+ already uses in some places for dark and light mode:

.my-selector {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-radius: var(--bs-border-radius);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants