Skip to content

Extend Grommet Theme Typings #5446

@Kevin-Carlos

Description

@Kevin-Carlos

I was looking for a way to do something similar to styled-components and how you can override their DefaultTheme to get proper typings for custom theming.

See: https://styled-components.com/docs/api#create-a-declarations-file

I wasn't able to find anything similar for grommet nor a similar issue, however, I could have easily missed one!

Being able to have proper type access to our custom colors, etc, would definitely enhance the development experience instead of remembering particular strings off the top of our heads though!

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