Skip to content

symbolIcon.constantForeground is an array of strings instead of a string #410

@MathiasWP

Description

@MathiasWP

There's a discussion over at shikijs/shiki#894 where we've highlighted a bug that is caused when using github-dark-default and github-dark-high-contrast. To us it seems that symbolIcon.constantForeground is incorrectly set to an array of string instead of a string itself.

I'm wondering if it supposed to be an array. I'm trying to pinpoint wether there's a bug in in this codebase (which is the upstream source of Shiki), or if Shiki is incorrectly parsing a correct value from this codebase.

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