Skip to content

Move from icon fonts to SVG #556

@clemgbld

Description

@clemgbld

Icon fonts is currently compromising the Lit.js migration because it relies on global css forcing up to opt out of the shadow dom when a Lit component use an icon font (see the [FIXEME comment])(https://github.com/NodeSecure/cli/blob/master/public/components/expandable/expandable.js).

The goal of this ticket is to implement a new system to render an icon based on SVG and Lit.

  • Then generic lit icon component that leverage will SVG.

i've got that api in mind:

<nsecure-icon name="plus" style="color red;"  ></nsecure-icon>

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