Back to Prefect

README

ui-v2/src/graphs/textures/icons/README.md

3.6.30.dev3495 B
Original Source

The icons in this folder are converted into textures and applied to sprites for use in the Pixi application.

These deviate from prefect-design icons in two ways:

  1. In prefect, icons are assigned currentColor as the default fill. Here they need to set to white so that they can be colorized by the tint property of a sprite.
  2. In the index.ts file, the import path needs the ?url suffix so that the SVG is imported in the appropriate format for the Pixi Texture.from() function.