Skip to content

Commit

Permalink
(docs)Text styling (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
lampa-da authored Aug 20, 2024
1 parent 6f293e6 commit fd231f6
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions fern/assets/input.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
@tailwind components;
@tailwind utilities;

h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 425 !important;
font-weight: 400 !important;
font-family: CohereText !important;
}

h1 {
font-weight: 400 !important;
font-variation-settings: "cuts" 300, "move" 300;
font-family: CohereHeadline !important;
font-size: 35px !important;
}

Expand All @@ -32,6 +30,23 @@ h2 {
font-weight: 400 !important;
}

.fern-mdx-link {
font-weight: 400 !important;
color: rgb(57 89 77) !important;
}

.font-semibold {
font-weight: 500 !important;
}

.fern-api-property-key {
font-weight: 500 !important;
}

th {
font-weight: 500 !important;
}

@layer utilities {
.image-desktop {
@apply hidden md:block rounded-t-lg;
Expand Down Expand Up @@ -64,7 +79,7 @@ button[class^="Sidebar-link-buttonWrapper"] {
}

.h1-title {
font-family: CohereHeadline !important;
font-family: CohereText !important;
letter-spacing: -0.01em;
font-style: normal;
font-weight: 400;
Expand All @@ -73,16 +88,16 @@ button[class^="Sidebar-link-buttonWrapper"] {
}

.h2-title {
font-family: CohereHeadline !important;
font-family: CohereText !important;
letter-spacing: -0.01em;
font-style: normal;
font-weight: 400;
font-weight: 400 !important;
font-size: 24px !important;
line-height: 110%;
}

.h3-title {
font-family: CohereHeadline !important;
font-family: CohereText !important;
font-style: normal;
font-weight: 500;
font-size: 16.8px !important;
Expand Down

0 comments on commit fd231f6

Please sign in to comment.