Skip to content

Commit

Permalink
Fix dupe strong class (#57)
Browse files Browse the repository at this point in the history
* Fix dupe strong class

* Fix incorrectly nested style
  • Loading branch information
benjaminleonard authored Oct 25, 2023
1 parent c16fb03 commit a6827d5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 22 deletions.
18 changes: 7 additions & 11 deletions components/dist/asciidoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@
word-wrap: break-word;
}

/* Use semi-bold for strong */
.asciidoc-body strong {
@apply font-[600] text-default;
@apply font-[500] text-default;
}

.asciidoc-body a strong {
Expand Down Expand Up @@ -710,6 +711,11 @@
--content-secondary: rgb(0, 0, 0, 0.8);
}
}

/* Boosting body text for long text readability */
.asciidoc-body p {
color: #c8cacb;
}
}

.changelog-doc.asciidoc-body {
Expand All @@ -732,14 +738,4 @@
& ol li {
@apply mt-0;
}

/* Use semi-bold for strong */
.asciidoc-body strong {
font-weight: 500;
}

/* Boosting body text for long text readability */
.asciidoc-body p {
color: #c8cacb;
}
}
18 changes: 7 additions & 11 deletions components/src/assets/asciidoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@
word-wrap: break-word;
}

/* Use semi-bold for strong */
.asciidoc-body strong {
@apply font-[600] text-default;
@apply font-[500] text-default;
}

.asciidoc-body a strong {
Expand Down Expand Up @@ -710,6 +711,11 @@
--content-secondary: rgb(0, 0, 0, 0.8);
}
}

/* Boosting body text for long text readability */
.asciidoc-body p {
color: #c8cacb;
}
}

.changelog-doc.asciidoc-body {
Expand All @@ -732,14 +738,4 @@
& ol li {
@apply mt-0;
}

/* Use semi-bold for strong */
.asciidoc-body strong {
font-weight: 500;
}

/* Boosting body text for long text readability */
.asciidoc-body p {
color: #c8cacb;
}
}

0 comments on commit a6827d5

Please sign in to comment.