Skip to content

Improve SyntaxHighlighting to make it easier for implementor to access theme and tokens #11059

@abey79

Description

@abey79

Currently, the methods of the SyntaxHighlighting trait only get passed a egui::Style. This is not sufficient for custom, theme-aware styling that uses design tokens. It should be passed a egui::Ui or egui::Context as well. This will however require a minor refactor of the existing usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    uiconcerns graphical user interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions