Skip to content

Commit cd93cc4

Browse files
committed
frontend: rename css variable
Renamed --size-header to be more consistent with other names.
1 parent 23095d1 commit cd93cc4

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

frontends/web/src/components/dialog/dialog.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
@media (max-width: 768px) {
204204

205205
.header .title{
206-
font-size: var(--header-default-font-size);
206+
font-size: var(--size-header);
207207
}
208208

209209
.modal {

frontends/web/src/components/guide/guide.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
}
5757

5858
.header h2 {
59-
font-size: var(--header-default-font-size);
59+
font-size: var(--size-header);
6060
font-weight: 400;
6161
margin: 0;
6262
}

frontends/web/src/components/layout/header.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979
.title > * {
8080
margin: 0;
81-
font-size: var(--header-default-font-size);
81+
font-size: var(--size-header);
8282
font-weight: 400;
8383
line-height: 1;
8484
display: inline-flex;

frontends/web/src/components/wallet-connect/incoming-signing-request.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222

2323
.animationAndTextContainer p {
24-
font-size: var(--header-default-font-size);
24+
font-size: var(--size-header);
2525
margin-top: var(--space-quarter);
2626
}
2727

@@ -101,7 +101,7 @@
101101
}
102102

103103
.titleContainer h3 {
104-
font-size: var(--header-default-font-size);
104+
font-size: var(--size-header);
105105
font-weight: 400;
106106
margin: 0 0 0 var(--space-eight);
107107
padding: 0 var(--space-quarter);

frontends/web/src/routes/account/info/info.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.title {
2-
font-size: var(--header-default-font-size);
2+
font-size: var(--size-header);
33
font-weight: 400;
44
}
55

frontends/web/src/routes/account/send/components/confirm/confirm.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@
6464
}
6565

6666
.valueOriginalLarge {
67-
font-size: var(--header-default-font-size);
67+
font-size: var(--size-header);
6868
font-weight: 500;
6969
}

frontends/web/src/style/variables.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
/* font sizes */
5151
--size-large: 2rem;
5252
--size-large-mobile: 1.4rem;
53+
--size-header: 24px;
5354
--size-subheader: 18px;
5455
--size-default: 14px;
5556
--size-small: 12px;
@@ -90,7 +91,6 @@
9091

9192
/* header */
9293
--header-height: 70px;
93-
--header-default-font-size: 24px;
9494

9595
/* content */
9696
--content-width: 1080px;
@@ -204,7 +204,7 @@
204204

205205
@media (max-width: 768px) {
206206
:root {
207-
--header-default-font-size: 20px;
207+
--size-header: 20px;
208208
--size-subheader: 16px;
209209
--size-title: 16px;
210210

0 commit comments

Comments
 (0)