1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 19:23:52 +00:00

[CL-573] Move all svg icons to new libs/assets (#16020)

* create libs/assets

* treeshake lib and filter out non-icons from icon story

* update docs

* fix icon colors in browser and desktop

* better name for vault icon

* move illustrations
This commit is contained in:
Vicki League
2025-08-21 12:35:59 -04:00
committed by GitHub
parent f07518084f
commit 805b6fe7aa
179 changed files with 579 additions and 525 deletions

View File

@@ -2,9 +2,9 @@ import { FocusableOption } from "@angular/cdk/a11y";
import { CommonModule } from "@angular/common";
import { Component, ElementRef, EventEmitter, Input, Output, ViewChild } from "@angular/core";
import { CarouselIcon } from "@bitwarden/assets/svg";
import { IconModule } from "@bitwarden/components";
import { CarouselIcon } from "../carousel-icons/carousel-icon";
import { VaultCarouselSlideComponent } from "../carousel-slide/carousel-slide.component";
@Component({

View File

@@ -1,7 +0,0 @@
import { svgIcon } from "@bitwarden/components";
export const CarouselIcon = svgIcon`
<svg class="tw-block" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" data-testid="inactive-carousel-icon">
<rect stroke="currentColor" x="0.5" y="0.5" width="11" height="11" rx="5.5" />
</svg>
`;