element-hq / element-hq/element-android

Widget background color set by theme

Open
#3,162 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

#### Describe the bug

This is same bug as:
https://github.com/vector-im/element-web/issues/16919

Widgets are web pages in iframe. Web pages have white background by default.

Element web's widget viewer uses background color from theme. This causes
many web pages to have black text on dark background with dark themes.

#### To Reproduce

Steps to reproduce the behavior:

1. Create a widget, for example https://tkstats.r-f.fi/
2. Set dark theme
3. Observer page being unreadable

#### Expected behavior

Readable page with white background

#### Smartphone (please complete the following information):
- Device: Cosmo Communicator
- OS: Android 7.0 (?)

#### Additional context
- App version and store latest - gplay
- Homeserver: hacklab.fi

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.