Skip to content

Commit 22bc424

Browse files
committed
Use form font weight variable
1 parent 3480a67 commit 22bc424

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

war/src/main/less/abstracts/theme.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@
275275
--form-item-max-width: ~"min(65vw, 1600px)";
276276
--form-item-max-width--medium: ~"min(50vw, 1400px)";
277277
--form-item-max-width--small: ~"min(35vw, 1200px)";
278-
--form-label-font-weight: 600;
278+
--form-label-font-weight: 500;
279279
--form-input-padding: 0.5rem;
280280
--form-input-border-radius: 6px;
281281
--form-input-glow: 0 0 0 10px transparent;

war/src/main/less/modules/form.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@
308308
margin-bottom: 0;
309309
padding: 0 0 5px 32px;
310310
cursor: pointer;
311-
font-weight: 500;
311+
font-weight: var(--form-label-font-weight);
312312
// remove 300ms pause on mobile
313313
touch-action: manipulation;
314314

@@ -474,7 +474,7 @@
474474
margin: 0;
475475
cursor: pointer;
476476
line-height: 22px;
477-
font-weight: 500;
477+
font-weight: var(--form-label-font-weight);
478478

479479
&::before {
480480
content: "";

0 commit comments

Comments
 (0)