corekit-ui 0.1.26 → 0.1.27

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/README.md CHANGED
@@ -45,6 +45,16 @@ Importe la hoja de estilos global en el punto de entrada de su aplicación:
45
45
  import 'corekit-ui/styles.css';
46
46
  ```
47
47
 
48
+ ### Configuración de Tema
49
+
50
+ CoreKit UI respeta el tema que defina la aplicación consumidora mediante el atributo `data-theme` en la etiqueta `<html>`.
51
+
52
+ - `data-theme="light"` fuerza tema claro
53
+ - `data-theme="dark"` fuerza tema oscuro
54
+ - `data-theme` vacío o ausente deja que el sistema operativo decida según `prefers-color-scheme`
55
+
56
+ Si tu app ya administra el tema en `index.html` o desde su propio estado global, no necesitas una API adicional dentro de la librería.
57
+
48
58
  ## Guía de Desarrollo
49
59
 
50
60
  ### Scripts Disponibles