Skip to content

Commit

Permalink
feat: style tip component
Browse files Browse the repository at this point in the history
  • Loading branch information
Guaxinim5573 committed Apr 9, 2024
1 parent 2268777 commit 9f6ada6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,22 @@
color: rgb(var(--ctp-yellow));
}
}

.alert--success {
--ifm-link-color: rgb(var(--ctp-accent));
--ifm-alert-background-color: rgb(var(--ctp-base));
--ifm-alert-border-color: rgb(var(--ctp-green));
--ifm-alert-foreground-color: rgb(var(--ctp-text));

a {
text-decoration-color: var(--ifm-link-color);
}

div:first-child {
--ifm-alert-foreground-color: rgb(var(--ctp-green));
color: rgb(var(--ctp-green));
}
}
}

[data-theme='dark'] {
Expand Down

0 comments on commit 9f6ada6

Please sign in to comment.