Skip to content

Commit

Permalink
chore(ui): add $rd-font-weight-bold
Browse files Browse the repository at this point in the history
  • Loading branch information
xiejay97 committed Mar 17, 2023
1 parent 899c01e commit 032bca1
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
margin-bottom: 12px;
/* stylelint-disable-next-line declaration-property-value-allowed-list */
font-size: 56px;
font-weight: 500;
font-weight: $rd-font-weight-bold;
font-variant-numeric: tabular-nums;

@include media-breakpoint-up(md) {
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/src/styles/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ body {

.app-title {
font-size: 1.1em;
font-weight: 500;
font-weight: $rd-font-weight-bold;
}

.app-table-footer {
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/src/styles/components/list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}

@include e(title) {
font-weight: 500;
font-weight: $rd-font-weight-bold;
}

@include e(subtitle) {
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/src/styles/components/map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

flex: 1 0 0;
font-size: 1.05em;
font-weight: 500;
font-weight: $rd-font-weight-bold;
}

@include e(info-window-close) {
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/src/styles/components/route-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

@include e(header-title) {
font-size: 1.5em;
font-weight: 500;
font-weight: $rd-font-weight-bold;
}

@include e(header-actions) {
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/src/styles/components/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@include e(title) {
margin: 0 0 8px;
font-size: 1.1em;
font-weight: 500;
font-weight: $rd-font-weight-bold;
text-align: center;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/site/src/styles/components/component-route.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
font: inherit;
font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
font-weight: 500;
font-weight: $rd-font-weight-bold;
line-height: 24px;
color: inherit;
text-decoration: none;
Expand Down
2 changes: 1 addition & 1 deletion packages/site/src/styles/components/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

@include e(col-title) {
margin-bottom: 8px;
font-weight: 500;
font-weight: $rd-font-weight-bold;
color: map.get($rd-colors, 'white');

@include font-size(1.1rem);
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ $rd-colors: (

$rd-placeholder-color: rgb(var(--#{$rd-prefix}text-color-rgb) / 24%) !default;
$rd-placeholder-disabled-color: rgb(var(--#{$rd-prefix}text-color-rgb) / 8%) !default;

$rd-font-weight-bold: 600 !default;
2 changes: 1 addition & 1 deletion packages/ui/src/styles/components/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

flex: 1 0 0;
font-size: 1.1em;
font-weight: 500;
font-weight: $rd-font-weight-bold;
}

@include e(header-action) {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/styles/components/mixins/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

flex: 1 0 0;
font-size: 1.1em;
font-weight: 500;
font-weight: $rd-font-weight-bold;
}

@include e(header-actions) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
@include e(title) {
flex-grow: 1;
font-size: 1.1em;
font-weight: 500;
font-weight: $rd-font-weight-bold;
}

@include e(description) {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/styles/components/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
@include e(title) {
margin-bottom: 12px;
font-size: 1.1em;
font-weight: 500;
font-weight: $rd-font-weight-bold;
}

@include e(description) {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/styles/components/stepper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@

@include e(step-title) {
margin-left: 8px;
font-weight: 500;
font-weight: $rd-font-weight-bold;
}

@include e(step-description) {
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/styles/components/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ $table-filter-option-height: 32px;
caption {
margin-bottom: 10px;
font-size: 1.1em;
font-weight: 500;
font-weight: $rd-font-weight-bold;
}

th {
padding: var(--#{$rd-prefix}table-padding-size);
font-weight: 500;
font-weight: $rd-font-weight-bold;
background-color: var(--#{$rd-prefix}background-color-light-gray);
}

Expand Down

0 comments on commit 032bca1

Please sign in to comment.