libreria-astro-lefebvre 0.2.19 → 0.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libreria-astro-lefebvre",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -27,11 +27,11 @@ const fontClass = fontSize === 'xl' || fontSize === '2xl' ? 'font-heading' : 'fo
27
27
  {
28
28
  !title || title.trim() === "" ? null
29
29
  : h1Subtitle && h1Subtitle.trim() !== ""
30
- ? <h1 class="font-body text-[#1b1b1b] text-center text-base leading-6 font-normal rounded-sm bg-[#ebe7da] mt-20 mb-8 w-fit py-2 px-3 mx-auto" set:html={title}></h1>
30
+ ? <h1 class="flex items-center gap-2 before:content-[''] before:size-1.5 before:shrink-0 before:rounded-full before:bg-[#d71635] font-mono text-[#403830] text-center text-sm leading-5 tracking-[0.84px] uppercase font-normal rounded bg-black/[0.04] [font-feature-settings:'liga'_off,'clig'_off] mt-20 mb-8 w-fit py-2 px-3 mx-auto"><span set:html={title}></span></h1>
31
31
  : tipo === "h1" ? <h1 class="font-heading text-[#1b1b1b] text-[40px] md:text-[56px] font-normal text-center leading-[48px] md:leading-[64px] px-6 md:my-12" set:html={title}></h1>
32
32
  : tipo === "h1-40" ? <h1 class="font-heading text-[#1b1b1b] text-[36px] md:text-[40px] font-normal text-center leading-[44px] md:leading-[48px] mb-8" set:html={title}></h1>
33
33
  : tipo === "h1-40-left" ? <h1 class="font-heading text-[#1b1b1b] text-[36px] md:text-[40px] font-normal text-left leading-[44px] md:leading-[48px] mb-0 md:mb-8" set:html={title}></h1>
34
- : tipo === "h2-mb24" ? <h2 class="font-body text-[#1b1b1b] text-center text-base leading-6 font-normal rounded-sm bg-[#ebe7da] mb-6 w-fit py-2 px-3 mx-auto" set:html={title}></h2>
34
+ : tipo === "h2-mb24" ? <h2 class="flex items-center gap-2 before:content-[''] before:size-1.5 before:shrink-0 before:rounded-full before:bg-[#d71635] font-mono text-[#403830] text-center text-sm leading-5 tracking-[0.84px] uppercase font-normal rounded bg-black/[0.04] [font-feature-settings:'liga'_off,'clig'_off] mb-6 w-fit py-2 px-3 mx-auto"><span set:html={title}></span></h2>
35
35
  : tipo === "h2" ? <h2 class="font-heading text-[#1b1b1b] text-[36px] md:text-[40px] font-normal text-center leading-[44px] md:leading-[48px] my-8 md:mb-8" set:html={title}></h2>
36
36
  : tipo === "h2-mb64" ? <h2 class="font-heading text-[#1b1b1b] text-[36px] md:text-[40px] font-normal text-center leading-[44px] md:leading-[48px] p-6 md:p-2 md:pb-6 mb-0" set:html={title}></h2>
37
37
  : tipo === "h2-mb64-max900" ? <h2 class="font-heading text-[#1b1b1b] text-[36px] md:text-[40px] max-w-[900px] mx-auto font-normal text-center leading-[44px] md:leading-[48px] p-6 md:p-2 md:pb-6 mb-0" set:html={title}></h2>