Skip to content

Support for short form hex colors for StyleSheets #376

@arthuralee

Description

@arthuralee

The current implementation allows StyleSheet color properties to be set with hex strings or html color strings, for example

borderColor: '#d6d7da',
color: 'red'

However, short form hex colors do not work:

borderColor: '#ccc', // throws 'InvalidColorString'

Short form for hex colors should be supported for similarity to CSS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions