@aumnidigital/bms 0.1.2 → 0.1.4

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
@@ -88,6 +88,23 @@ This is a paragraph with **bold** and *italic* text.
88
88
 
89
89
  ### 1. Tailwind CSS Configuration
90
90
 
91
+ #### For Tailwind v4 (Recommended)
92
+
93
+ Import the package's styles.css in your main CSS file. This enables Tailwind to scan the package's classes:
94
+
95
+ ```css
96
+ @import "tailwindcss";
97
+ @import "@aumnidigital/bms/styles.css";
98
+
99
+ @layer base {
100
+ :root {
101
+ --background: 0 0% 100%;
102
+ --foreground: 222.2 84% 4.9%;
103
+ /* ... rest of CSS variables ... */
104
+ }
105
+ }
106
+ ```
107
+
91
108
  #### For Tailwind v3 (with tailwind.config.js)
92
109
 
93
110
  Add the package to your Tailwind `content` array:
@@ -106,27 +123,6 @@ module.exports = {
106
123
  };
107
124
  ```
108
125
 
109
- #### For Tailwind v4 (with CSS imports) - Vite
110
-
111
- In your main CSS file:
112
-
113
- ```css
114
- @import "tailwindcss";
115
-
116
- /* Include the package components */
117
- @source "../node_modules/@aumnidigital/bms/dist/**/*.{js,cjs}";
118
- @source "./src/**/*.{js,ts,jsx,tsx}";
119
-
120
- /* CSS variables for shadcn */
121
- @layer base {
122
- :root {
123
- /* ... CSS variables here ... */
124
- }
125
- }
126
- ```
127
-
128
- **Note for Vite users**: If `@source` doesn't work, use a `tailwind.config.js` file instead with the content array shown above.
129
-
130
126
  ### 2. CSS Variables
131
127
 
132
128
  Add these CSS variables to your global stylesheet (required for shadcn components):
@@ -2230,5 +2230,5 @@ exports.TooltipTrigger = TooltipTrigger;
2230
2230
  exports.badgeVariants = badgeVariants;
2231
2231
  exports.buttonVariants = buttonVariants;
2232
2232
  exports.cn = cn;
2233
- //# sourceMappingURL=chunk-KRDZATRT.cjs.map
2234
- //# sourceMappingURL=chunk-KRDZATRT.cjs.map
2233
+ //# sourceMappingURL=chunk-HITKPPHP.cjs.map
2234
+ //# sourceMappingURL=chunk-HITKPPHP.cjs.map