Skip to content

Title bar uses wrong "dark" theme even in light mode #6386

@arnowelzel

Description

@arnowelzel

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:

  1. Make sure Nextcloud is using a "light" theme.
  2. Open or create a text document.
  3. See the title bar in light grey color instead of the expected dark color.

Expected behavior
The title bar uses the correct theme.

Screenshots

image

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions