libreria-astro-lefebvre 0.1.80 → 0.1.81

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.1.80",
3
+ "version": "0.1.81",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -61,12 +61,14 @@ const structuredData = items.length > 0 ? `<script type="application/ld+json">
61
61
  <button data-linkedto={`${idAccordion}${index + 1}`}
62
62
  class={`
63
63
  btn py-3 px-5 leading-6 font-inter
64
- cursor-pointer border border-transparent bg-F2F3F8
65
- hover:border hover:border-[#5F6168]
66
- hover:bg-white rounded-lg ${idAccordion}button
64
+ cursor-pointer border border-transparent bg-[#F2F3F8]
65
+ hover:border hover:border-[#5F6168]
66
+ hover:bg-white rounded-lg ${idAccordion}button
67
67
  ${item.default ? 'active' : ''}
68
68
  text-gray-100 max-w-10 max-h-5 text-[0px]
69
69
  md:bg-gray-50 md:text-black md:max-w-none md:max-h-none md:text-[16px]
70
+ [&.active]:bg-white [&.active]:border-[#5F6168] [&.active]:text-black
71
+ [&.active]:max-w-none [&.active]:max-h-none [&.active]:text-[16px]
70
72
  `}
71
73
  >{item.name}</button>
72
74
  </p>
@@ -96,23 +98,6 @@ const structuredData = items.length > 0 ? `<script type="application/ld+json">
96
98
  </article>
97
99
  </section>
98
100
 
99
- <style>
100
- .bg-F2F3F8 {
101
- background-color: #F2F3F8;
102
- }
103
- /* !important: mismo selector de especificidad que las utilidades Tailwind
104
- (text-[0px], border-transparent, max-w-10...) y el orden de hojas en el
105
- portal hace que Tailwind cargue después y las pise en móvil */
106
- .active{
107
- background-color: #ffffff !important;
108
- border: 1px solid #5F6168 !important;
109
- color: black !important;
110
- max-width: none !important;
111
- max-height: none !important;
112
- font-size: 16px !important;
113
- }
114
- </style>
115
-
116
101
  <script is:inline define:vars={{ idAccordion }}>
117
102
 
118
103