This affects both Android and iOS.
This change affects the frontend of the app.
In-depth Description
This PR adds a new Black option to the application's UI. This theme sets the primary background and several other color variables to pure black (rgb(0, 0, 0)), which is highly beneficial for devices with OLED screens.
Changes involve:
Adding a new CSS definition html[data-theme='black'] in assets/tailwind.css to define the specific color variables for the black theme.
Adding Black as a selectable theme option in the settings page pages/settings.vue.
Note: This PR is focused only on the OLED theme. The system theme following from issue #1006 isn't resolved.
How have you tested this?
Tested using a phone with an OLED display.
Confirmed that the app's background, player, and other UI components switched to a true black theme.
Confirmed text readability against the black background in different light conditions.
Screenshots
Home page overview:
Item page overview:
Player UI overview:
Settings page overview:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/advplyr/audiobookshelf-app/pull/1608
**Author:** [@NickSkier](https://github.com/NickSkier)
**Created:** 6/20/2025
**Status:** ✅ Merged
**Merged:** 6/20/2025
**Merged by:** [@advplyr](https://github.com/advplyr)
**Base:** `master` ← **Head:** `ui_black_theme`
---
### 📝 Commits (2)
- [`3f21b41`](https://github.com/advplyr/audiobookshelf-app/commit/3f21b4172ba9c53c40fb138146b2dd21e2fc24fc) Add: UI Black/OLED theme
- [`616cf90`](https://github.com/advplyr/audiobookshelf-app/commit/616cf9029dea495bff5a19ccbb76020dcda5ffd2) Fix audio player colors for black theme
### 📊 Changes
**3 files changed** (+30 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `assets/tailwind.css` (+19 -0)
📝 `components/app/AudioPlayer.vue` (+7 -4)
📝 `pages/settings.vue` (+4 -0)
</details>
### 📄 Description
## Brief summary
<!-- Please provide a brief summary of what your PR attempts to achieve. -->
Adds a new "Black/OLED" theme option to the UI, providing a true black background for OLED displays.
## Which issue is fixed?
<!-- Which issue number does this PR fix? Ex: "Fixes #1234" -->
Partially resolves #1006
## Pull Request Type
<!--
Does this affect only Android, only iOS, or both?
Does this change the frontend or the backend of the apps?
-->
This affects both Android and iOS.
This change affects the frontend of the app.
## In-depth Description
<!--
Describe your solution in more depth.
How does it work? Why is this the best solution?
Does it solve a problem that affects multiple users or is this an edge case for your setup?
-->
This PR adds a new **Black** option to the application's UI. This theme sets the primary background and several other color variables to pure black (`rgb(0, 0, 0)`), which is highly beneficial for devices with OLED screens.
Changes involve:
* Adding a new CSS definition `html[data-theme='black']` in `assets/tailwind.css` to define the specific color variables for the black theme.
* Adding `Black` as a selectable theme option in the settings page `pages/settings.vue`.
**Note:** This PR is focused only on the OLED theme. The system theme following from issue #1006 isn't resolved.
## How have you tested this?
<!-- Please describe in detail with reproducible steps how you tested your changes. -->
1. Tested using a phone with an OLED display.
2. Confirmed that the app's background, player, and other UI components switched to a true black theme.
3. Confirmed text readability against the black background in different light conditions.
## Screenshots
<!-- If your PR includes any changes to the front-end, please include screenshots or a
short video from before and after your changes. -->
Home page overview:

Item page overview:

Player UI overview:

Settings page overview:

---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/advplyr/audiobookshelf-app/pull/1608
Author: @NickSkier
Created: 6/20/2025
Status: ✅ Merged
Merged: 6/20/2025
Merged by: @advplyr
Base:
master← Head:ui_black_theme📝 Commits (2)
3f21b41Add: UI Black/OLED theme616cf90Fix audio player colors for black theme📊 Changes
3 files changed (+30 additions, -4 deletions)
View changed files
📝
assets/tailwind.css(+19 -0)📝
components/app/AudioPlayer.vue(+7 -4)📝
pages/settings.vue(+4 -0)📄 Description
Brief summary
Adds a new "Black/OLED" theme option to the UI, providing a true black background for OLED displays.
Which issue is fixed?
Partially resolves #1006
Pull Request Type
This affects both Android and iOS.
This change affects the frontend of the app.
In-depth Description
This PR adds a new Black option to the application's UI. This theme sets the primary background and several other color variables to pure black (
rgb(0, 0, 0)), which is highly beneficial for devices with OLED screens.Changes involve:
html[data-theme='black']inassets/tailwind.cssto define the specific color variables for the black theme.Blackas a selectable theme option in the settings pagepages/settings.vue.Note: This PR is focused only on the OLED theme. The system theme following from issue #1006 isn't resolved.
How have you tested this?
Screenshots
Home page overview:




Item page overview:
Player UI overview:
Settings page overview:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.