@edc-motor/admin-kit 0.4.17 → 0.4.18

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": "@edc-motor/admin-kit",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "description": "EdC Motor — kit del panel de administración: layout, gestores CRUD, imágenes, PDF, páginas, configuración, usuarios y copias (paquete fuente: lo compila el consumidor con Vite)",
5
5
  "license": "GPL-3.0-only",
6
6
  "type": "module",
@@ -33,7 +33,7 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@edc-motor/ui": "^0.4.17",
36
+ "@edc-motor/ui": "^0.4.18",
37
37
  "axios": "^1.7.0",
38
38
  "vue-draggable-plus": "^0.6.1"
39
39
  },
@@ -303,10 +303,12 @@
303
303
  border-color: $color;
304
304
  color: $color;
305
305
 
306
+ // Relleno: el texto lo decide el fondo (contrast-text), no el tema
307
+ // — $text-1 del tema oscuro no se leía sobre warning/success.
306
308
  &:hover:not(:disabled) {
307
309
  background: $color;
308
310
  border-color: $color;
309
- color: $text-1;
311
+ @include contrast-text($color);
310
312
  }
311
313
 
312
314
  // Interruptores (aria-pressed): encendido = RELLENO del color (como
@@ -315,7 +317,7 @@
315
317
  &.is-on {
316
318
  background: $color;
317
319
  border-color: $color;
318
- color: $text-1;
320
+ @include contrast-text($color);
319
321
  }
320
322
 
321
323
  &.is-off {