@dskripchenko/ui 1.0.1 → 1.0.3

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
@@ -39,12 +39,22 @@ npm install @dskripchenko/ui
39
39
  import { createApp } from 'vue'
40
40
  import App from './App.vue'
41
41
 
42
- import '@dskripchenko/ui/styles/tokens.css'
43
- import '@dskripchenko/ui/styles/themes.css'
42
+ // Everything in one line: tokens + themes + reset + base typography + components.
43
+ import '@dskripchenko/ui/styles/all.css'
44
44
 
45
45
  createApp(App).mount('#app')
46
46
  ```
47
47
 
48
+ Prefer granular imports? Use the per-file entries instead — order matters (tokens → themes → component styles):
49
+
50
+ ```ts
51
+ import '@dskripchenko/ui/styles/tokens.css' // primitives (colors, spacing, radius…)
52
+ import '@dskripchenko/ui/styles/themes.css' // :root[data-theme="light|dark"] + semantic aliases
53
+ import '@dskripchenko/ui/styles/reset.css' // optional: minimal HTML reset
54
+ import '@dskripchenko/ui/styles/global.css' // optional: :root font-family + base typography
55
+ import '@dskripchenko/ui/styles/index.css' // component styles
56
+ ```
57
+
48
58
  ```vue
49
59
  <!-- App.vue -->
50
60
  <script setup lang="ts">