Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 20 additions & 7 deletions components/dist/asciidoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
word-wrap: break-word;

text-decoration: underline;
text-decoration-color: rgba(var(--content-accent-tertiary-rgb), 0.8);
text-decoration-color: var(--content-accent-tertiary);
}

/* Use semi-bold for strong */
Expand Down Expand Up @@ -361,6 +361,23 @@
@apply my-[1.5rem] flex px-3 py-3;
}

.asciidoc-body .admonitionblock a {
text-decoration-color: var(--content-success-tertiary);
}

.asciidoc-body .admonitionblock.tip a {
text-decoration-color: var(--base-purple-600);
}

.asciidoc-body .admonitionblock.warning a {
text-decoration-color: var(--content-error-tertiary);
}

.asciidoc-body .admonitionblock.caution a,
.asciidoc-body .admonitionblock.important a {
text-decoration-color: var(--content-notice-tertiary);
}

.asciidoc-body .admonitionblock strong {
@apply text-success;
}
Expand All @@ -378,10 +395,6 @@
@apply border-destructive-secondary;
}

.asciidoc-body .admonitionblock.tip .quoteblock {
border-color: var(--base-purple-500);
}

.asciidoc-body .admonitionblock.warning strong {
@apply text-destructive;
}
Expand Down Expand Up @@ -559,8 +572,8 @@
@apply border-r-0;
}

/*
specificity to handle nested tables
/*
specificity to handle nested tables
todo: check if it's needed in any of the other table styles
*/
.asciidoc-body tbody > tr:last-child > td,
Expand Down
27 changes: 20 additions & 7 deletions components/src/assets/asciidoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
word-wrap: break-word;

text-decoration: underline;
text-decoration-color: rgba(var(--content-accent-tertiary-rgb), 0.8);
text-decoration-color: var(--content-accent-tertiary);
}

/* Use semi-bold for strong */
Expand Down Expand Up @@ -361,6 +361,23 @@
@apply my-[1.5rem] flex px-3 py-3;
}

.asciidoc-body .admonitionblock a {
text-decoration-color: var(--content-success-tertiary);
}

.asciidoc-body .admonitionblock.tip a {
text-decoration-color: var(--base-purple-600);
}

.asciidoc-body .admonitionblock.warning a {
text-decoration-color: var(--content-error-tertiary);
}

.asciidoc-body .admonitionblock.caution a,
.asciidoc-body .admonitionblock.important a {
text-decoration-color: var(--content-notice-tertiary);
}

.asciidoc-body .admonitionblock strong {
@apply text-success;
}
Expand All @@ -378,10 +395,6 @@
@apply border-destructive-secondary;
}

.asciidoc-body .admonitionblock.tip .quoteblock {
border-color: var(--base-purple-500);
}

.asciidoc-body .admonitionblock.warning strong {
@apply text-destructive;
}
Expand Down Expand Up @@ -559,8 +572,8 @@
@apply border-r-0;
}

/*
specificity to handle nested tables
/*
specificity to handle nested tables
todo: check if it's needed in any of the other table styles
*/
.asciidoc-body tbody > tr:last-child > td,
Expand Down
Loading