Skip to content

Platform specific colors #30

@yangm97

Description

@yangm97

Is it possible to make a platform specific color declaration which points to another native color value? Suppose I want to use the native labelColor on iOS but fallback to #000/#FFF on web.

I guess src/colors with some Platform.select to handle these cases would work but it would also bloat the catalog with unused colors and would be kind of cumbersome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions