ionic-team / ionic-team/ionic-framework

bug: Dark Theme: Toolbar and item-background colors doesn't follow the MD

Đang mở
#30,741 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

# Bug Report

**Ionic version:**
[x] 5.x

**Current behavior:**

1. The toolbar on MD uses `--ion-background-color: #121212`.
2. The value of `--ion-item-background` is `#1A1B1E`

![dark_theme_before](https://user-images.githubusercontent.com/16899197/77822775-e5f4f580-7106-11ea-8e68-e4e4eeb1e100.PNG)
**Expected behavior:**

Based on [MD documentation](https://material.io/design/color/dark-theme.html)
1. The toolbar on MD should use `--ion-item-background` instead of `--ion-background-color: #121212`.
2. The value of `--ion-item-background` should be `#1d1d1d` instead of `#1A1B1E`

![dark_theme_after](https://user-images.githubusercontent.com/16899197/77822778-e8574f80-7106-11ea-9f45-3885d306843f.PNG)

**Steps to reproduce:**
Check the MD CSS provided in **Ionic Dark Theme** section from this [Ionic Documentation](https://ionicframework.com/docs/theming/dark-mode)

Thanks.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.