feat(callout): revamp of the callouts (#767)

* feat(callout): revamp of the callouts

* fix: doc

* chore: refactor gh alert

* feat: same colors on callouts and gh alerts

* docs: more relevant examples

* docs: i18n

* docs: update existing callouts
This commit is contained in:
Ludovic Fernandez
2025-08-22 00:31:16 +02:00
committed by GitHub
parent a3635ea638
commit f4d75a4e5b
27 changed files with 448 additions and 114 deletions

View File

@@ -182,13 +182,12 @@
"hx:bg-gradient-to-r",
"hx:bg-gray-100",
"hx:bg-green-100",
"hx:bg-indigo-100",
"hx:bg-neutral-50",
"hx:bg-orange-50",
"hx:bg-primary-100",
"hx:bg-primary-400",
"hx:bg-primary-600",
"hx:bg-primary-700/5",
"hx:bg-purple-100",
"hx:bg-red-100",
"hx:bg-transparent",
"hx:bg-white",
@@ -203,8 +202,7 @@
"hx:border-gray-200",
"hx:border-gray-500",
"hx:border-green-200",
"hx:border-indigo-200",
"hx:border-orange-100",
"hx:border-purple-200",
"hx:border-red-200",
"hx:border-t",
"hx:border-transparent",
@@ -250,13 +248,12 @@
"hx:dark:bg-dark/50",
"hx:dark:bg-gray-50/10",
"hx:dark:bg-green-900/30",
"hx:dark:bg-indigo-900/30",
"hx:dark:bg-neutral-800",
"hx:dark:bg-neutral-900",
"hx:dark:bg-orange-400/20",
"hx:dark:bg-primary-300/10",
"hx:dark:bg-primary-400/10",
"hx:dark:bg-primary-600",
"hx:dark:bg-purple-900/30",
"hx:dark:bg-red-900/30",
"hx:dark:bg-yellow-700/30",
"hx:dark:block",
@@ -265,10 +262,9 @@
"hx:dark:border-gray-100/20",
"hx:dark:border-gray-400",
"hx:dark:border-green-200/30",
"hx:dark:border-indigo-200/30",
"hx:dark:border-neutral-700",
"hx:dark:border-neutral-800",
"hx:dark:border-orange-400/30",
"hx:dark:border-purple-200/30",
"hx:dark:border-red-200/30",
"hx:dark:border-white/10",
"hx:dark:border-yellow-200/30",
@@ -309,11 +305,10 @@
"hx:dark:text-gray-400",
"hx:dark:text-gray-50",
"hx:dark:text-green-200",
"hx:dark:text-indigo-200",
"hx:dark:text-neutral-200",
"hx:dark:text-neutral-400",
"hx:dark:text-orange-300",
"hx:dark:text-primary-600",
"hx:dark:text-purple-200",
"hx:dark:text-red-200",
"hx:dark:text-slate-100",
"hx:dark:text-yellow-200",
@@ -628,11 +623,10 @@
"hx:text-gray-800",
"hx:text-gray-900",
"hx:text-green-900",
"hx:text-indigo-900",
"hx:text-left",
"hx:text-lg",
"hx:text-orange-800",
"hx:text-primary-800",
"hx:text-purple-900",
"hx:text-red-900",
"hx:text-slate-900",
"hx:text-sm",