@luis-angel-martin-dzul/input-styles 0.0.4 → 0.0.5

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
@@ -35,20 +35,8 @@ import { createApp } from 'vue'
35
35
  import App from './App.vue'
36
36
 
37
37
  import 'v-calendar/style.css'
38
- import { library } from '@fortawesome/fontawesome-svg-core'
39
- import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
40
- import {
41
- faCircleCheck, faCircleXmark, faEye, faEyeSlash,
42
- faCalendar, faClock, faChevronDown,
43
- faCloudArrowUp, faCloudArrowDown, faSpinner, faCheck
44
- } from '@fortawesome/free-solid-svg-icons'
45
- import VCalendar from 'v-calendar'
46
-
47
- library.add(
48
- faCircleCheck, faCircleXmark, faEye, faEyeSlash,
49
- faCalendar, faClock, faChevronDown,
50
- faCloudArrowUp, faCloudArrowDown, faSpinner, faCheck
51
- )
38
+ import '@luis-angel-martin-dzul/input-styles/style.css'
39
+ import InputStyle from '@luis-angel-martin-dzul/input-styles'
52
40
 
53
41
  const app = createApp(App)
54
42
 
@@ -59,6 +47,17 @@ app.mount('#app')
59
47
 
60
48
  ------
61
49
 
50
+ # Estilos default
51
+ Para cargar correctamente los estilos debes realizar algo como lo siguiente:
52
+
53
+ Agrega el @source para indicar que el componente requiere de tailwindcss
54
+
55
+ ```css
56
+ @import "tailwindcss";
57
+
58
+ @source "../node_modules/@luis-angel-martin-dzul/input-styles/**/*"
59
+ ```
60
+
62
61
  # 🎨 Estilos personalizados (Style Registry)
63
62
 
64
63
  La librería expone un sistema de **tokens de estilo configurables** que permite cambiar la apariencia de todos los componentes desde un solo lugar, sin necesidad de modificar el código fuente.