1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

[Icons] Update font sheet (#582)

* Initial commit for icon update

* Updated lg to reflect current usage

* Created BitwardenIconsService

* Prettier updates

* More prettier updates

* Updated font

* Prettier

* Added new icons to service map

* Removed variables and converted css to use scss maps and exported list

* Updated font sheet (130)

* Removed base class and replaced bolt icon

* Added 3x icon size

* Added sm text size helper

* Added rotate 270 helper

* Prettier

* Updated font sheet

* Requested Changes

* Removed BitwardenIcons Util - obsolete
This commit is contained in:
Vincent Salucci
2022-01-24 15:40:04 -06:00
committed by GitHub
parent af7da0e942
commit a985621bb9
10 changed files with 448 additions and 25 deletions

View File

@@ -36,7 +36,7 @@ export class CalloutComponent implements OnInit {
this.title = this.i18nService.t("warning");
}
if (this.icon === undefined) {
this.icon = "fa-warning";
this.icon = "bwi-exclamation-triangle";
}
} else if (this.type === "error") {
this.calloutStyle = "danger";
@@ -44,7 +44,7 @@ export class CalloutComponent implements OnInit {
this.title = this.i18nService.t("error");
}
if (this.icon === undefined) {
this.icon = "fa-bolt";
this.icon = "bwi-error";
}
} else if (this.type === "tip") {
this.calloutStyle = "success";
@@ -52,7 +52,7 @@ export class CalloutComponent implements OnInit {
this.title = this.i18nService.t("tip");
}
if (this.icon === undefined) {
this.icon = "fa-lightbulb-o";
this.icon = "bwi-lightbulb";
}
}
}