From 9f6ada6d45f56ba072345b2af47a117074841d40 Mon Sep 17 00:00:00 2001 From: Guaxinim5573 Date: Tue, 9 Apr 2024 19:40:43 -0300 Subject: [PATCH] feat: style tip component --- src/css/custom.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/css/custom.css b/src/css/custom.css index dec228f..e869904 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -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'] {