ankidroid / ankidroid/Anki-Android

Define theme `surface`/`container` colors

Open
#18,767 14 comments 2 reactions 0 assignees View on GitHub
Keep Open UI
Dominant language
Kotlin
Stars
11.8k
Forks
2.9k
Avg merge
2d 3h
Merged PRs (30d)
171

Description

Define theme `surface`/`container` colors

We've moved to Mateiral3 themes a long time ago, but never defined some colors like the many `surface` and `container` variants ([source](https://m3.material.io/styles/color/system/how-the-system-works#901b68c1-8580-462c-9bae-44ba5c15f937)). The ones that are currently defined are mostly hacks to avoid breaking some UI components.

For example, MaterialAlertDialogs look like this right now:

![image](https://github.com/user-attachments/assets/0749c5bd-fc10-47b4-8786-94de4ad8c258)

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.