Skip to content

Setting button icon intent does not change icon color in dark mode #3696

Closed
@tomshen

Description

Environment

  • Package version(s): 3.15.1 (but can repro in 3.18.0)
  • Browser and OS versions: macOS 10.14.6, Chrome 76

Repro: https://codesandbox.io/embed/blueprint-sandbox-0egjl

Steps to reproduce

  1. Create a container with Classes.DARK.
  2. Create a button inside that container.
  3. Set the button's icon to <Icon icon="tick-circle" intent="success" />.

Actual behavior

Screen Shot 2019-08-12 at 1 40 00 PM

Expected behavior

Screen Shot 2019-08-12 at 1 40 14 PM

Possible solution

Change selector specificity:

Screen Shot 2019-08-12 at 1 40 57 PM

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions