Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

[Button] Outlined outline color should not be set to primary but 12% on-surface #5170

@e111077

Description

@e111077

Bug report

The Material spec for button theming Material spec notes that the border color of an outlined button should be set to secondary theme on-surface at 12%, but we seem to set it as primary

Steps to reproduce

  1. Create an mdc-button that is outlined
  2. Set secondary to be a different color, like red

Actual behavior

The outline of the button is the same, primary color

Expected behavior

The outline of the button should be the secondary color (red in this case)

Screenshots

Your Environment:

Software Version(s)
MDC Web canary
Browser chrome
Operating System macos

Additional context

Possible solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions