@crtobiasdelsud/portal-ui 1.0.13 → 1.0.14

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": "@crtobiasdelsud/portal-ui",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Componentes compartidos entre el portal (Next) y el CMS (Vite) — widgets, views, providers para adapters y article pool.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -39,18 +39,23 @@
39
39
  }
40
40
  }
41
41
 
42
- /* mark SIN color inline texto en primario, sin fondo */
42
+ /* Marcador / highlighter WYSIWYG con el CMS.
43
+ - Sin style inline → usa el primary del sitio (semitransparente) como fondo.
44
+ - Con style inline (background-color custom) → respeta el color elegido. */
43
45
  .body :global(mark:not([style])),
44
46
  .body :global(.cdx-marker:not([style])) {
45
- background: transparent;
46
- color: var(--eo-primary, #B1043F);
47
+ background: color-mix(in srgb, var(--eo-primary, #B1043F) 20%, transparent);
48
+ color: inherit;
47
49
  font-style: inherit;
50
+ padding: 0 0.1em;
51
+ border-radius: 2px;
48
52
  }
49
53
 
50
- /* mark CON color inline (background-color del plugin) → texto negro, fondo del color elegido */
51
54
  .body :global(mark[style]) {
52
- color: #111;
55
+ color: inherit;
53
56
  font-style: inherit;
57
+ padding: 0 0.1em;
58
+ border-radius: 2px;
54
59
  }
55
60
 
56
61
  .listUl,
@@ -46,18 +46,23 @@
46
46
  }
47
47
  }
48
48
 
49
- /* mark SIN color inline texto en primario, sin fondo */
49
+ /* Marcador / highlighter WYSIWYG con el CMS.
50
+ - Sin style inline → usa el primary del sitio (semitransparente) como fondo.
51
+ - Con style inline (background-color custom) → respeta el color elegido. */
50
52
  .body :global(mark:not([style])),
51
53
  .body :global(.cdx-marker:not([style])) {
52
- background: transparent;
53
- color: var(--eo-primary, #B1043F);
54
+ background: color-mix(in srgb, var(--eo-primary, #B1043F) 20%, transparent);
55
+ color: inherit;
54
56
  font-style: inherit;
57
+ padding: 0 0.1em;
58
+ border-radius: 2px;
55
59
  }
56
60
 
57
- /* mark CON color inline (background-color del plugin) → texto negro, fondo del color elegido */
58
61
  .body :global(mark[style]) {
59
- color: #111;
62
+ color: inherit;
60
63
  font-style: inherit;
64
+ padding: 0 0.1em;
65
+ border-radius: 2px;
61
66
  }
62
67
 
63
68
  .listUl,