chore: change the color of the normal 'info' callout

This commit is contained in:
草师傅 2025-08-26 21:57:06 +08:00
parent d1ae051cae
commit d31ba9eb9c
Signed by: gb
GPG key ID: 43330A030E2D6478

View file

@ -27,7 +27,7 @@ const { icon, type = 'info'} = Astro.props;
}
.callout-info {
--callout-bg: var(--terminal-green);
--callout-bg: #c8c8c8;
--callout-text: #2e3440;
}
@ -45,10 +45,4 @@ const { icon, type = 'info'} = Astro.props;
--callout-bg: var(--terminal-red);
--callout-text: #111;
}
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .callout-info {
--callout-text: #eee;
}
}
</style>