Skip to content

Typography does not support color "success" #29564

@cleverocheck

Description

@cleverocheck

General summary
I would like to be able to set the color props for the Typography element to "success", this code does not color the text color
Current Behavior 😯
The Typography component does not have a color props with the "success" value
Expected Behavior 🤔
I would like to be able to set the color props to "success" and for this to work correctly
Steps to Reproduce 🕹

  1. Create CRA with Typography with color = "success" props

Sandbox issue here
Context 🔦
I want to get the "success" text color of Typography in a short way without creating unnecessary entities
My Environment 🌎

  System:
    OS: Linux 5.4 Linux Mint 20.1 (Ulyssa)
  Binaries:
    Node: 14.18.0 - /usr/bin/node
    Yarn: 1.22.10 - /usr/bin/yarn
    npm: 6.14.15 - /usr/bin/npm
  Browsers:
    Chrome: 94.0.4606.81
    Firefox: 93.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: systemThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUIscope: typographyChanges related to typography.support: Stack OverflowPlease ask the community on Stack Overflow.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions