Styling and astro refactor of callout

This commit is contained in:
2026-09-28 14:32:59 +02:00
parent 3b639f8a5b
commit edfda08b4c
12 changed files with 145 additions and 6 deletions

View File

@@ -1,12 +1,16 @@
export const NOTE_TYPES = [
{
label: 'Default',
label: 'Note',
value: 'default',
},
{
label: 'Example',
value: 'example',
},
{
label: 'Optional',
value: 'optional',
},
] as const
export type CalloutType = (typeof NOTE_TYPES)[number]['value']

View File

@@ -64,6 +64,7 @@ const generated =
figure: 'Figure',
tableWrapper: 'TableWrapper',
quote: 'Quote',
reveal: 'Reveal',
},
},
}).tags ?? {}