Skip to content

Commit

Permalink
fix: set the font-weight of the mdx components to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
jeangovil committed Jul 17, 2023
1 parent 25381ed commit ee249fe
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/docusaurus-playground/src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ body,
html {
overflow-x: hidden;
}

body * {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

.mdx-cta-button {
margin-top: 2rem;
font-weight: 100 !important;

&:hover {
&,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@
.mdx-feature-list__feature-description {
}

.mdx-feature-list__feature-index,
.mdx-feature-list__title,
.mdx-feature-list__feature-title,
.mdx-feature-list__feature-index,
.mdx-feature-list__feature-description {
font-weight: 100 !important;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
@use '../../../css/utils';

.mdx-hero-action {
span {
font-weight: 100 !important;
}

&:hover,
button:hover {
&,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

> * {
flex-basis: 50%;
font-weight: 100 !important;
}
}

Expand Down

0 comments on commit ee249fe

Please sign in to comment.