Dark mode (old)
The dark mode is a theme for AUI that uses a darker color palette. Its goal is to reduce the amount of light emitted by the screen.
A few of the benefits of this solution include reducing eye strain, battery usage, and easier viewing in dark environments.
|Web resource key:
|AMD Module key:
How to use it
You can turn on the dark mode by doing two things:
Include dark theme resources
For P2 usage include
com.atlassian.auiplugin:aui-dark-mode web resource or make sure you include
when using NPM package.
To enable dark mode you need to add
aui-theme-dark CSS class to body element.