Skip to content

Commit

Permalink
fix: use var(--yt-font-weight) css variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-efremoff committed Mar 18, 2024
1 parent fedd43d commit 847ba30
Show file tree
Hide file tree
Showing 21 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion packages/ui/src/ui/components/ACL/ManageAcl/ManageAcl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}

&__flag {
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
color: var(--secondary-text);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
&__title {
padding: 0 1ex;
flex-shrink: 1;
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
color: var(--primary-text);

@include ellipsis();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ $thin-border: 1px solid var(--light-divider);
padding-left: 10px;
padding-top: 60px;
font-size: 20px;
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
line-height: 24px;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/ui/components/Label/Label.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$label: &;

font-size: 1em;
font-weight: 500;
font-weight: var(--yt-font-weight-bold);

display: inline-block;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.no-items-message {
@include heading-size('m');
line-height: 5em;
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
padding: 0 1ex;
white-space: nowrap;
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
padding: 16px 24px;
&-notice {
font-size: 16px;
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
line-height: var(--g-text-body-2-line-height);
}
&-details {
Expand All @@ -65,7 +65,7 @@
padding-top: 12px;
}
&-limit {
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
}

.yc-button {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/ui/components/StatusBlock/StatusBlock.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

.status-block {
border-radius: 4px;
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
padding: 2px 1ex;
margin: 1px;
max-width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/ui/components/StatusLabel/StatusLabel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
font-size: 13px;
border-radius: 14px;
padding: 5px 12px;
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
vertical-align: text-top;
color: $color;
background-color: $background-color;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
&__group-name {
display: flex;
align-items: center;
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
}

&__no-items,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
&__page-name {
padding-left: 16px;
font-size: var(--g-text-body-3-font-size);
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
line-height: var(--g-text-body-3-line-height);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@

&__title {
@include heading-size(l);
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
max-width: 350px;
margin-bottom: 8px;
}

&__severity {
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
margin: 0;
margin-bottom: 28px;

Expand All @@ -55,7 +55,7 @@

&__user-title {
@include heading-size(s);
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
margin: 0;
margin-bottom: 8px;
}
Expand All @@ -67,7 +67,7 @@
}

&__time-line {
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
margin: 0;
margin-bottom: 12px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ $animation-duration: 0.2s;
@include ellipsis();

font-size: 16px;
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
line-height: 18px;

position: relative;
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/ui/legacy-styles/elements/preloader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $content-offset: 60px;
&__title {
@include heading-size(l);
margin-bottom: 28px;
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
}

&__text {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}

&__name {
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
flex: 0 0 150px;

@include ellipsis();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
&_bundle {
cursor: pointer;
background-color: var(--light-background);
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
&__path,
&__use {
color: var(--secondary-text);
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $item-margin: 30px;
}

&__count {
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
}

&__actions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
}

&__only-jobs-with-failed-counter {
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}

&__footer {
font-weight: 500;
font-weight: var(--yt-font-weight-bold);

td {
position: sticky;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

padding: var(--table-header-vertical-padding) var(--table-cell-horizontal-padding);

font-weight: 500;
font-weight: var(--yt-font-weight-bold);
cursor: default;
text-align: left;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}

&__flag {
font-weight: 500;
font-weight: var(--yt-font-weight-bold);
color: var(--secondary-text);
}

Expand Down

0 comments on commit 847ba30

Please # to comment.