Skip to content

[fonts-4] @font-palette-values uses illegal integer descriptor names #1523

@tabatkins

Description

@tabatkins

As currently defined, @font-palette-values uses some integer descriptor names (to override the colors of particular indexes in the palette). However, per Syntax, declaration names are restricted to idents only.

Do we want to change @font-palette-values to use idents, probably with a prefix before the integer, or do we want to modify Syntax to allow integer names for declarations? (We shouldn't allow float names, as comparisons become fraught at that point.)

(For example, does 01: red; work? Does it have the standard "last declaration with a given name wins" behavior if there's also a 1: blue declaration in the block?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions