Match admonition colors to the original site and allow hiding their icon

This commit is contained in:
Djeex
2026-08-30 17:38:13 +02:00
parent 04268535a6
commit 2608bf64eb
6 changed files with 121 additions and 2 deletions
+34
View File
@@ -37,6 +37,40 @@ export default defineAppConfig({
header: 'bg-[#121110] border-[#201e1b]',
},
},
// Exact colors measured on the old site's ::alert boxes (note=info,
// tip=success, warning=warning, caution=danger/error).
callout: {
compoundVariants: [
{
color: 'info',
class: {
base: 'border-[#002235] bg-[#00131D] text-[#64C7FF]',
icon: 'text-[#64C7FF]',
},
},
{
color: 'success',
class: {
base: 'border-[#002817] bg-[#00190F] text-[#3CEEA5]',
icon: 'text-[#3CEEA5]',
},
},
{
color: 'warning',
class: {
base: 'border-[#292100] bg-[#1B1500] text-[#FFDC4E]',
icon: 'text-[#FFDC4E]',
},
},
{
color: 'error',
class: {
base: 'border-[#340A01] bg-[#1C0301] text-[#FFA692]',
icon: 'text-[#FFA692]',
},
},
],
},
},
header: {
slots: {