1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-01 09:13:54 +00:00
Files
browser/libs/assets
Matt Gibson cb6217acc5 Use a shared jest config
Add play.spec.ts as playwright test plaths. Also establishes .type.spec.ts as a specially ignored path everywhere.

Finally, we no longer need the ast transformer since we don't use import.meta statements anymore. (this was also two years ago, it's possible this just works now).
2025-10-07 11:44:30 -07:00
..
2025-10-07 11:44:30 -07:00

Assets

Owned by: ui-foundation

This lib contains assets used by the Bitwarden clients. Unused assets are tree-shaken from client bundles. This means that all exports from this library must not have any side effects.

Usage

SVGs

SVGs intended to be used with the bit-icon component live in src/svgs. These SVGs are built with the icon-service for security reasons. These SVGs can be viewed in our Component Library Icon Story.

When adding a new SVG, follow the instructions in our Component Library: SVG Icon Docs

When importing an SVG in one of the clients: import { ExampleSvg } from "@bitwarden/assets/svg";