Skip to content

Add font-size check for classes #1201

@alexdln

Description

@alexdln

In a recent issue (#1116), we removed all hardcoded font-size classes, migrated them to our own inner classes, and agreed to use rem everywhere.

We also added an rtl:check step, which checks whether classes comply with rtl patterns. Based on this, I'm adding a check for hardcoded font-size classes and slightly refining the solution to prevent this logic from degrading

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11yRelated to accessibility and inclusionfrontFrontend, Design

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions