1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

[Icons] Update Font Sheet (#1343)

* [Icons] Update to new font sheet

* Rebased - updated all icon remaining icon references

* Temporarily Updating gitmodules branch

* Fixed class reference

* Revert temporary gitmodule branch

* Icon updates/changes

* Pull jslib m-icon-updates latest

* Prettier

* Update jslib to master

* Reset jslib to master

* Removed obsolete variable reference, replaced bolt references

* Removed all instances of base class - maps create automatically

* Updated toast icon references

* Imported styles to reference variable/map

* Reverted to using base class

* Update jslib

* Rename eye-2 to eye and eye-slash-2 to eye-slash

* Bump jslib

* Remove duplicate scss

* Remove old fa

* Update fallback image

* Bump jslib

* Rename eye-2 to eye, and eye-slash-2 to eye-slash

* Fix 404

* Fix integrity of bootstrap.min.css

* Fix callout missing bwi

* Add bwi to change-kdf

* Remove bwi from callout again

* Bump jslib

Co-authored-by: Hinton <oscar@oscarhinton.com>
This commit is contained in:
Vincent Salucci
2022-01-27 11:25:58 -06:00
committed by GitHub
parent f0c47252e4
commit 2ae98887b7
148 changed files with 784 additions and 677 deletions

View File

@@ -198,16 +198,16 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
// If you add custom types to this part, the type to SweetAlertIcon cast below needs to be changed.
switch (type) {
case "success":
iconClasses = "fa-check text-success";
iconClasses = "bwi-check text-success";
break;
case "warning":
iconClasses = "fa-warning text-warning";
iconClasses = "bwi-exclamation-triangle text-warning";
break;
case "error":
iconClasses = "fa-bolt text-danger";
iconClasses = "bwi-error text-danger";
break;
case "info":
iconClasses = "fa-info-circle text-info";
iconClasses = "bwi-info-circle text-info";
break;
default:
break;
@@ -220,7 +220,7 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
}
const iconHtmlStr =
iconClasses != null ? `<i class="swal-custom-icon fa ${iconClasses}"></i>` : undefined;
iconClasses != null ? `<i class="swal-custom-icon bwi ${iconClasses}"></i>` : undefined;
const confirmed = await Swal.fire({
heightAuto: false,
buttonsStyling: false,