1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

refactor(auth): [PM-8976] migrate two-factor setup component to Tailwind and standalone

- Remove Bootstrap styles from two-factor-setup component and replace with Tailwind equivalents
- Convert two factor components to standalone components to move away from LooseComponents
- Replace ul/li list with bit-item-group and bit-item components
- Integrate with the bit design system

---------

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
Co-authored-by: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com>
This commit is contained in:
Alec Rippberger
2025-04-10 14:13:11 -05:00
committed by GitHub
parent f24a4d139d
commit 4772362928
26 changed files with 374 additions and 194 deletions

View File

@@ -30,12 +30,6 @@
width: 100%;
}
.list-group-2fa {
.logo-2fa {
min-width: 120px;
}
}
@each $mfaType in $mfaTypes {
.mfaType#{$mfaType} {
content: url("../images/two-factor/" + $mfaType + ".png");
@@ -66,14 +60,6 @@
}
}
.recovery-code-img {
@include themify($themes) {
content: url("../images/two-factor/rc" + themed("mfaLogoSuffix"));
max-width: 100px;
max-height: 45px;
}
}
.progress {
@include themify($themes) {
background-color: themed("pwStrengthBackground");