ionic-team / ionic-team/ionic-framework

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

オープン
#30,741 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
triage
主要言語
TypeScript
スター
52.7k
フォーク
13.3k
平均マージ
1日 15時間
マージ済み PR(30日)
51

説明

# 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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。