chore: change the color of the normal 'info' callout
This commit is contained in:
parent
d1ae051cae
commit
d31ba9eb9c
1 changed files with 1 additions and 7 deletions
|
@ -27,7 +27,7 @@ const { icon, type = 'info'} = Astro.props;
|
||||||
}
|
}
|
||||||
|
|
||||||
.callout-info {
|
.callout-info {
|
||||||
--callout-bg: var(--terminal-green);
|
--callout-bg: #c8c8c8;
|
||||||
--callout-text: #2e3440;
|
--callout-text: #2e3440;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,10 +45,4 @@ const { icon, type = 'info'} = Astro.props;
|
||||||
--callout-bg: var(--terminal-red);
|
--callout-bg: var(--terminal-red);
|
||||||
--callout-text: #111;
|
--callout-text: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: light) {
|
|
||||||
:root:not([data-theme="dark"]) .callout-info {
|
|
||||||
--callout-text: #eee;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
Loading…
Add table
Add a link
Reference in a new issue