@khipu/design-system 0.2.0-alpha.84 → 0.2.0-alpha.86

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.
@@ -13,7 +13,7 @@
13
13
  *
14
14
  * AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
15
15
  * Source: design-system/src/tokens/tokens.json
16
- * Generated: 2026-07-01T17:49:00.275Z
16
+ * Generated: 2026-07-01T20:05:55.906Z
17
17
  *
18
18
  * To regenerate:
19
19
  * cd design-system && npm run tokens:generate
@@ -365,6 +365,7 @@
365
365
  RESPONSIVE TYPOGRAPHY (MOBILE BASE)
366
366
  ========================================================================== */
367
367
 
368
+ --kds-font-size-2xs: 0.5625rem;
368
369
 
369
370
  /* Base font-size scale */
370
371
  --kds-font-size-xs: 0.6875rem;
@@ -412,6 +413,7 @@
412
413
  /* Tablet (600px+) - Typography */
413
414
  @media (min-width: 600px) {
414
415
  .kds-theme-root {
416
+ --kds-font-size-2xs: 0.625rem;
415
417
 
416
418
  /* Base font-size scale */
417
419
  --kds-font-size-xs: 0.75rem;
@@ -449,6 +451,7 @@
449
451
  /* Desktop (840px+) - Typography */
450
452
  @media (min-width: 840px) {
451
453
  .kds-theme-root {
454
+ --kds-font-size-2xs: 0.625rem;
452
455
 
453
456
  /* Base font-size scale */
454
457
  --kds-font-size-xs: 0.75rem;
@@ -2893,7 +2896,7 @@
2893
2896
  border-radius: 8px;
2894
2897
  cursor: pointer;
2895
2898
  transition: background-color 0.2s;
2896
- font-size: 16px;
2899
+ font-size: var(--kds-font-size-sm);
2897
2900
  line-height: 1.5;
2898
2901
  color: var(--kds-color-text-primary);
2899
2902
  }
@@ -4734,6 +4737,35 @@
4734
4737
  text-transform: uppercase;
4735
4738
  }
4736
4739
 
4740
+ /* Value — dato/valor destacado (ej. nombre del comercio en el header del cobro). */
4741
+ .kds-theme-root .kds-text-value {
4742
+ font-family: var(--kds-font-family-primary, 'Public Sans', sans-serif);
4743
+ font-size: var(--kds-font-size-sm);
4744
+ font-weight: var(--kds-font-weight-semibold);
4745
+ line-height: var(--kds-line-height-relaxed);
4746
+ color: var(--kds-color-gray-800);
4747
+ }
4748
+
4749
+ /* Code — texto tipo código/referencia (mono, uppercase, gris), como el "CÓDIGO" del header. */
4750
+ .kds-theme-root .kds-text-code {
4751
+ font-family: var(--kds-font-family-mono);
4752
+ font-size: var(--kds-font-size-xs);
4753
+ font-weight: var(--kds-font-weight-regular);
4754
+ letter-spacing: var(--kds-letter-spacing-wider);
4755
+ font-variant-numeric: tabular-nums;
4756
+ color: var(--kds-color-gray-400);
4757
+ text-transform: uppercase;
4758
+ }
4759
+
4760
+ /* Caption — texto muy chico y liviano para pie de página (ej. número de versión). */
4761
+ .kds-theme-root .kds-text-caption {
4762
+ font-family: var(--kds-font-family-primary, 'Public Sans', sans-serif);
4763
+ font-size: var(--kds-font-size-2xs);
4764
+ font-weight: var(--kds-font-weight-regular);
4765
+ line-height: var(--kds-line-height-normal);
4766
+ color: var(--kds-color-gray-400);
4767
+ }
4768
+
4737
4769
  .kds-theme-root .kds-text-link {
4738
4770
  font-family: var(--kds-font-family-primary, 'Public Sans', sans-serif);
4739
4771
  font-size: inherit;
@@ -5751,10 +5783,8 @@
5751
5783
  display: block;
5752
5784
  object-fit: contain;
5753
5785
  overflow: visible;
5754
- /* Nudge óptico: la tinta del wordmark queda ~1px alta dentro de su viewBox (45x15),
5755
- así que al centrar por caja se ve desalineada respecto a la baseline del texto. */
5756
- position: relative;
5757
- top: 1px;
5786
+ /* La tinta del wordmark ocupa casi todo su viewBox (45x15), así que el centro de caja
5787
+ coincide con el óptico: se alinea por `align-items: center` del footer, sin nudge. */
5758
5788
  }
5759
5789
 
5760
5790
  /* Divisor entre el logo de Khipu y el del PSP ("Khipu | klap") */