Skip to content

bug: Black text color on dark theme #29219

Closed
@aeharding

Description

@aeharding

Prerequisites

Ionic Framework Version

v8.x (Beta)

Current Behavior

I noticed that buttons and badges have black text in dark mode of Ionic v8 beta.

This is contrary to native iOS apps in dark mode (buttons and badges) which have white text (see below).

Additionally, the colors seem a bit washed out compared to native iOS badge/buttons.

Expected Behavior

White text in dark mode for buttons and badges (primary/danger colors). More vibrant (iOS-like) primary/danger colors.

Steps to Reproduce

Here is black text in dark mode:

black text

Here is black text in danger badge:

image

Here is what I expect (iOS native app examples ignore red rectangle in first img):

Code Reproduction URL

https://stackblitz.com/edit/j1affd-djjrzh?file=src%2FApp.tsx

Ionic Info

N/A

Additional Information

Tangential: I think dark mode is broken in the ionic docs for v8. It only shows light mode.

Metadata

Metadata

Assignees

Labels

type: feature requesta new feature, enhancement, or improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions