Automattic / Automattic/simplenote-android

Dark Mode: code block is not dark in note preview

Open
#1,428 0 comments 3 reactions 0 assignees View on GitHub
[Type] Bug
Dominant language
Java
Stars
1.9k
Forks
318
Avg merge
15h 23m
Merged PRs (30d)
5

Description

When using dark mode, the preview note option in the web app shows a nice dark color scheme for code blocks. The same does not happen when previewing the note from the Android app instead.

### Expected
To see code blocks in a dark color scheme like we do in the web app:

Captura de Tela 2021-07-30 às 12 03 09

### Observed
Code blocks are not changed at all:

Captura de Tela 2021-07-30 às 12 02 52

### Reproduced
1. Add a code block to a note
2. Change the theme to dark
3. Choose to preview the note

#### Internal reference: p1616480324000200-slack-C0133BTEDLJ

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the Android app by creating a note with a code block, switching to dark theme, and opening note preview. Compare the Android preview with the web app; done when code blocks use an appropriate dark color scheme in Android preview.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.