Skip to content

Commit

Permalink
fix(theme): link hover color inside a custom block (#2876)
Browse files Browse the repository at this point in the history
  • Loading branch information
skirtles-code authored Aug 30, 2023
1 parent b0b3f5d commit 39784ca
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/client/theme-default/styles/components/custom-block.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
color: var(--vp-c-brand-1);
}

.custom-block.info a:hover {
color: var(--vp-c-brand-2);
}

.custom-block.info code {
background-color: var(--vp-custom-block-info-code-bg);
}
Expand All @@ -33,6 +37,10 @@
color: var(--vp-c-brand-1);
}

.custom-block.tip a:hover {
color: var(--vp-c-brand-2);
}

.custom-block.tip code {
background-color: var(--vp-custom-block-tip-code-bg);
}
Expand All @@ -48,6 +56,10 @@
color: var(--vp-c-warning-1);
}

.custom-block.warning a:hover {
color: var(--vp-c-warning-2);
}

.custom-block.warning code {
background-color: var(--vp-custom-block-warning-code-bg);
}
Expand All @@ -63,6 +75,10 @@
color: var(--vp-c-danger-1);
}

.custom-block.danger a:hover {
color: var(--vp-c-danger-2);
}

.custom-block.danger code {
background-color: var(--vp-custom-block-danger-code-bg);
}
Expand All @@ -77,6 +93,10 @@
color: var(--vp-c-brand-1);
}

.custom-block.details a:hover {
color: var(--vp-c-brand-2);
}

.custom-block.details code {
background-color: var(--vp-custom-block-details-code-bg);
}
Expand Down

0 comments on commit 39784ca

Please sign in to comment.