Skip to content

Commit

Permalink
Use form font weight variable
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Jan 9, 2022
1 parent 3480a67 commit 22bc424
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion war/src/main/less/abstracts/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
--form-item-max-width: ~"min(65vw, 1600px)";
--form-item-max-width--medium: ~"min(50vw, 1400px)";
--form-item-max-width--small: ~"min(35vw, 1200px)";
--form-label-font-weight: 600;
--form-label-font-weight: 500;
--form-input-padding: 0.5rem;
--form-input-border-radius: 6px;
--form-input-glow: 0 0 0 10px transparent;
Expand Down
4 changes: 2 additions & 2 deletions war/src/main/less/modules/form.less
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@
margin-bottom: 0;
padding: 0 0 5px 32px;
cursor: pointer;
font-weight: 500;
font-weight: var(--form-label-font-weight);
// remove 300ms pause on mobile
touch-action: manipulation;

Expand Down Expand Up @@ -474,7 +474,7 @@
margin: 0;
cursor: pointer;
line-height: 22px;
font-weight: 500;
font-weight: var(--form-label-font-weight);

&::before {
content: "";
Expand Down

0 comments on commit 22bc424

Please sign in to comment.