Skip to content

Commit e9bc75c

Browse files
committed
frontend: deprecate --size-wizard-text variable
Was only used during setup for the label of the name input field and the backup checklist for the checkboxes. In both views there is no reason to use another font-size, without it the text looks more consistent and label, input field and error message have the same font-size as in other palces.
1 parent d23c6a5 commit e9bc75c

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

frontends/web/src/routes/device/bitbox02/setup/checklist.module.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/* TODO: ideally fontsize of those labels would just use the default from View component */
2-
.wizardCheckbox label {
3-
font-size: var(--size-wizard-text) !important;
4-
line-height: 1.4;
5-
}
6-
71
.wizardCheckbox label::before {
82
top: 2px !important;
93
}

frontends/web/src/routes/device/bitbox02/setup/name.module.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* TODO: ideally fontsize of those labels would just use the default from View component */
2-
.wizardLabel label {
3-
font-size: var(--size-wizard-text) !important;
4-
}
5-
61
.inputError input,
72
.inputError input:focus {
83
border-color: var(--color-danger);

frontends/web/src/style/variables.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@
5656
--size-xsmall: 11px;
5757
--size-title: 32px;
5858

59-
/* wizard */
60-
--size-wizard-text: 16px;
61-
6259
/* spacing */
6360
--spacing-large: 2rem;
6461
--spacing-default: 1rem;
@@ -206,8 +203,6 @@
206203
--size-header: 20px;
207204
--size-subheader: 16px;
208205
--size-title: 16px;
209-
210-
--size-wizard-text: 14px;
211206
--size-default: 16px;
212207
}
213208
}

0 commit comments

Comments
 (0)