Describe the bug
When Nextcloud is using a "light" theme, the text editor uses a "dark" theme title bar which makes the elements very hard to see due to the light grey color.
In the HTML source you can also see the wrong theme data-theme-dark used:
<div data-v-1d602fb0="" data-theme-dark="" class="modal-header">
This would be the correct code:
<div data-v-1d602fb0="" data-theme-light="" class="modal-header">
To Reproduce
Steps to reproduce the behavior:
- Make sure Nextcloud is using a "light" theme.
- Open or create a text document.
- See the title bar in light grey color instead of the expected dark color.
Expected behavior
The title bar uses the correct theme.
Screenshots

Server details:
- Nextcloud version: 30.0.0
- PHP Version: 8.3
- Database: MariaDB 10.6
Client details:
- OS: Windows 11
- Browser: Vivaldi, Chrome, Firefox
- Browser version: latest versions as of 2024-09-15
- Device: Desktop
Describe the bug
When Nextcloud is using a "light" theme, the text editor uses a "dark" theme title bar which makes the elements very hard to see due to the light grey color.
In the HTML source you can also see the wrong theme
data-theme-darkused:This would be the correct code:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The title bar uses the correct theme.
Screenshots
Server details:
Client details: