Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontends/web/src/components/balance/balance.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}

.balanceTable td {
font-size: var(--size-large-mobile);
font-size: var(--size-header);
line-height: 1.5;
}

Expand Down
2 changes: 1 addition & 1 deletion frontends/web/src/components/dialog/dialog.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
@media (max-width: 768px) {

.header .title{
font-size: var(--header-default-font-size);
font-size: var(--size-header);
}

.modal {
Expand Down
2 changes: 1 addition & 1 deletion frontends/web/src/components/guide/guide.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
}

.header h2 {
font-size: var(--header-default-font-size);
font-size: var(--size-header);
font-weight: 400;
margin: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion frontends/web/src/components/layout/header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

.title > * {
margin: 0;
font-size: var(--header-default-font-size);
font-size: var(--size-header);
font-weight: 400;
line-height: 1;
display: inline-flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}

.animationAndTextContainer p {
font-size: var(--header-default-font-size);
font-size: var(--size-header);
margin-top: var(--space-quarter);
}

Expand Down Expand Up @@ -101,7 +101,7 @@
}

.titleContainer h3 {
font-size: var(--header-default-font-size);
font-size: var(--size-header);
font-weight: 400;
margin: 0 0 0 var(--space-eight);
padding: 0 var(--space-quarter);
Expand Down
2 changes: 1 addition & 1 deletion frontends/web/src/routes/account/info/info.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.title {
font-size: var(--header-default-font-size);
font-size: var(--size-header);
font-weight: 400;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
background: none;
border: 0;
color: var(--color-blue);
font-size: var(--size-button);
font-size: var(--size-default);
line-height: 1;
padding: 0;
text-decoration: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@
}

.valueOriginalLarge {
font-size: var(--header-default-font-size);
font-size: var(--size-header);
font-weight: 500;
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/* TODO: ideally fontsize of those labels would just use the default from View component */
.wizardCheckbox label {
font-size: var(--size-wizard-text) !important;
line-height: 1.4;
}

.wizardCheckbox label::before {
top: 2px !important;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/* TODO: ideally fontsize of those labels would just use the default from View component */
.wizardLabel label {
font-size: var(--size-wizard-text) !important;
}

.inputError input,
.inputError input:focus {
border-color: var(--color-danger);
Expand All @@ -11,7 +6,7 @@
.errorMessage {
color: var(--color-danger);
display: block;
font-size: var(--size-medium);
font-size: var(--size-default);
padding-top: var(--space-quarter);
}

Expand Down
14 changes: 2 additions & 12 deletions frontends/web/src/style/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,14 @@
--color-error-border: rgba(227, 6, 19, .33);

/* font sizes */
--size-extra-large: 2.2rem;
--size-large: 2rem;
--size-large-mobile: 1.4rem;
--size-header: 24px;
--size-subheader: 18px;
--size-medium: var(--size-default);
--size-default: 14px;
--size-small: 12px;
--size-xsmall: 11px;
--size-label: var(--size-small);
--size-button: var(--size-default);
--size-title: 32px;

/* wizard */
--size-wizard-text: 16px;

/* spacing */
--spacing-large: 2rem;
--spacing-default: 1rem;
Expand Down Expand Up @@ -94,7 +87,6 @@

/* header */
--header-height: 70px;
--header-default-font-size: 24px;

/* content */
--content-width: 1080px;
Expand Down Expand Up @@ -208,11 +200,9 @@

@media (max-width: 768px) {
:root {
--header-default-font-size: 20px;
--size-header: 20px;
--size-subheader: 16px;
--size-title: 16px;

--size-wizard-text: 14px;
--size-default: 16px;
}
}