@@ -317,6 +317,7 @@ html.light .shiki span {
317317 background : var (--bg-subtle );
318318 font-style : normal;
319319 color : var (--fg-subtle );
320+ position : relative;
320321}
321322
322323.readme-content blockquote [data-callout ]::before {
@@ -327,6 +328,15 @@ html.light .shiki span {
327328 text-transform : uppercase;
328329 letter-spacing : 0.05em ;
329330 margin-bottom : 0.5rem ;
331+ padding-left : 1.5rem ;
332+ }
333+
334+ .readme-content blockquote [data-callout ]::after {
335+ content : '' ;
336+ width : 1.25rem ;
337+ height : 1.25rem ;
338+ position : absolute;
339+ top : 1rem ;
330340}
331341
332342.readme-content blockquote [data-callout ] > p : first-child {
@@ -346,6 +356,11 @@ html.light .shiki span {
346356 content : 'Note' ;
347357 color : # 3b82f6 ;
348358}
359+ .readme-content blockquote [data-callout = 'note' ]::after {
360+ background-color : # 3b82f6 ;
361+ -webkit-mask : icon ('i-lucide-info' ) no-repeat;
362+ mask : icon ('i-lucide-info' ) no-repeat;
363+ }
349364
350365/* Tip - green */
351366.readme-content blockquote [data-callout = 'tip' ] {
@@ -356,6 +371,11 @@ html.light .shiki span {
356371 content : 'Tip' ;
357372 color : # 22c55e ;
358373}
374+ .readme-content blockquote [data-callout = 'tip' ]::after {
375+ background-color : # 22c55e ;
376+ -webkit-mask : icon ('i-lucide-lightbulb' ) no-repeat;
377+ mask : icon ('i-lucide-lightbulb' ) no-repeat;
378+ }
359379
360380/* Important - purple */
361381.readme-content blockquote [data-callout = 'important' ] {
@@ -366,6 +386,11 @@ html.light .shiki span {
366386 content : 'Important' ;
367387 color : var (--syntax-fn );
368388}
389+ .readme-content blockquote [data-callout = 'important' ]::after {
390+ background-color : var (--syntax-fn );
391+ -webkit-mask : icon ('i-lucide-pin' ) no-repeat;
392+ mask : icon ('i-lucide-pin' ) no-repeat;
393+ }
369394
370395/* Warning - yellow/orange */
371396.readme-content blockquote [data-callout = 'warning' ] {
@@ -376,6 +401,11 @@ html.light .shiki span {
376401 content : 'Warning' ;
377402 color : # eab308 ;
378403}
404+ .readme-content blockquote [data-callout = 'warning' ]::after {
405+ background-color : # eab308 ;
406+ -webkit-mask : icon ('i-lucide-triangle-alert' ) no-repeat;
407+ mask : icon ('i-lucide-triangle-alert' ) no-repeat;
408+ }
379409
380410/* Caution - red */
381411.readme-content blockquote [data-callout = 'caution' ] {
@@ -386,6 +416,11 @@ html.light .shiki span {
386416 content : 'Caution' ;
387417 color : # ef4444 ;
388418}
419+ .readme-content blockquote [data-callout = 'caution' ]::after {
420+ background-color : # ef4444 ;
421+ -webkit-mask : icon ('i-lucide-circle-alert' ) no-repeat;
422+ mask : icon ('i-lucide-circle-alert' ) no-repeat;
423+ }
389424
390425/* Table wrapper for horizontal scroll on mobile */
391426.readme-content table {
0 commit comments