mirror of
https://github.com/bitwarden/clients.git
synced 2026-06-04 21:04:29 +08:00
* [PM-37229] Add bwi-passport icon and wire it to the passport cipher type * Fix icons:build script to compile style.css and avoid duplicate SCSS keys * [PM-37229] Update passport cipher icon tests to expect bwi-passport |
||
|---|---|---|
| .. | ||
| src | ||
| eslint.config.mjs | ||
| jest.config.js | ||
| package.json | ||
| project.json | ||
| README.md | ||
| tsconfig.eslint.json | ||
| tsconfig.json | ||
| tsconfig.lib.json | ||
| tsconfig.spec.json | ||
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-svg component live in src/svgs. These SVGs are built with the svg function for security reasons. These SVGs can be viewed in our Component Library SVG Story.
When adding a new SVG, follow the instructions in our Component Library: SVG Docs
When importing an SVG in one of the clients:
import { ExampleSvg } from "@bitwarden/assets/svg";