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 66fd24a commit a64d011
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/docusaurus-playground/src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,13 @@ import {
features={[
{
title: 'Durable',
description:
'Codex implements advanced erasure coding techniques to ensure data stored is always retrievable without relying on inefficient full replication methods.',
description: (
<>
<strong>Codex</strong> implements advanced erasure coding techniques
to ensure data stored is always retrievable without relying on
inefficient full replication methods.
</>
),
},
{
title: 'Accessible',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
}
}

.mdx-cta-section__title,
.mdx-cta-section__description,
.mdx-cta-section__link .mdx-cta-section__list div,
.mdx-cta-section__link .mdx-cta-section__list p {
font-weight: 100 !important;
}

.mdx-cta-section--title-only {
.mdx-cta-section__title {
@include lsd.typography('h1', false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@
.mdx-feature-list__feature-description {
}

.mdx-feature-list__feature-index,
.mdx-feature-list__title,
.mdx-feature-list__feature-description {
font-weight: 100 !important;
}

.mdx-feature-list__extra {
margin-top: 3.5rem;
padding: 0 1rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@
}
}

.mdx-roadmap__timeline-period,
.mdx-roadmap__timeline-index,
.mdx-roadmap__timeline-description {
font-weight: 100 !important;
}

@include utils.responsive('lg', 'down') {
.mdx-roadmap__header {
flex-direction: column;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@

.mdx-showcase__item-name {
margin-top: 1rem;
font-weight: 100 !important;
}

.mdx-showcase__item-description {
border-top: 1px solid rgb(var(--lsd-border-primary));
margin-top: 24px;
padding-top: 16px;
font-weight: 100 !important;
}

@include utils.responsive('lg', 'down') {
Expand Down

0 comments on commit a64d011

Please sign in to comment.