Skip to content

Consider using ‘base’ over ‘regular’ in font weight #38

@jonathantneal

Description

@jonathantneal

In the current set of tokens, a base value is used for font sizes, line heights, letter spacings, and even radii and backgrounds. However, font weight does not follow this pattern and instead uses regular.

  • Should font weights follow the same convention?
  • If not, how would we describe what makes font weight unique?
  • Or, should the ‘base’ naming convention be something else entirely?
.hypothetical-example-based-on-font-heading-1 {
  --font-heading-1-font-weight: var(--font-weight-base);
}

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