Skip to content

bug: header background when using large title is tinted #22780

@brandyscarney

Description

@brandyscarney

Bug Report

Ionic version:

[ ] 4.x
[x] 5.x

Current behavior:

When the large title collapses the toolbar is white.

Expected behavior:

The toolbar should be tinted to match the following:

Steps to reproduce:

  1. Open the Codepen here: https://codepen.io/brandyscarney/pen/RwGEpeY
  2. Scroll down until the title collapses
  3. You'll see the background of the toolbar is white

Related code:

I believe this should be as simple as changing the fallback on the following line away from white: https://github.com/ionic-team/ionic-framework/blob/master/core/src/themes/ionic.theme.default.ios.scss#L24

This will affect all toolbars though, even if they don't collapse, but it shouldn't change the background of the large title toolbar since that should match the content. Confirm with @bensperry that this is the desired behavior (changing all toolbars default background from white to ~ #F6F6F6).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions