Skip to content

Support for variable fonts #365

@Glypse

Description

@Glypse

I am talking here about the troika-three-text package, maybe this can apply to the rest of the packages.

Variable fonts allow for much smaller bundle sizes. Though I understand this might be very hard to implement, support for them would be appreciated.

The base option could be to specify a number to the fontWeight property (troika-three-text), allowing to change font weight.
However, some fonts implement more axes than just the weight: some also implement italic, some width, etc. It would be nice to be able to access those as well.

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