sangam-ui 0.1.7 → 0.1.8

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.
Files changed (2) hide show
  1. package/README.md +6 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -129,7 +129,8 @@ Spreading `...sangamTailwind` gives you the Sangam theme (colors, spacing, radii
129
129
 
130
130
  ### 5.3 Wire styles — single CSS entry file
131
131
 
132
- Use **one** main CSS file as the Tailwind entry (e.g. `src/index.css`). The `@import` must appear **before** the `@tailwind` directives:
132
+ > [!IMPORTANT]
133
+ > Use **one** main CSS file as the Tailwind entry (e.g. `src/index.css`). The `@import` must appear **before** the `@tailwind` directives:
133
134
 
134
135
  ```css
135
136
  /* src/index.css */
@@ -140,10 +141,10 @@ Use **one** main CSS file as the Tailwind entry (e.g. `src/index.css`). The `@im
140
141
  @tailwind utilities;
141
142
  ```
142
143
 
143
- > **Common mistakes**
144
- >
145
- > - Putting `@tailwind` before `@import` → build error: _"@import must precede all other statements"_
146
- > - Importing individual Sangam CSS files (e.g. `theme.css`, `dark.css`) directly in `main.tsx` → each file is a separate PostCSS pass, causing _"@layer base used but no matching @tailwind base directive"_ errors
144
+ **Common mistakes**
145
+
146
+ - Putting `@tailwind` before `@import` → build error: _"@import must precede all other statements"_
147
+ - Importing individual Sangam CSS files (e.g. `theme.css`, `dark.css`) directly in `main.tsx` → each file is a separate PostCSS pass, causing _"@layer base used but no matching @tailwind base directive"_ errors
147
148
 
148
149
  ### 5.4 App entry — import only your CSS file
149
150
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sangam-ui",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",