@expcat/tigercat-core 2.0.0-rc.2 → 2.0.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 +6 -7
- package/dist/index.d.ts +56 -49
- package/dist/index.js +525 -395
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,15 +26,14 @@ npm install @expcat/tigercat-core
|
|
|
26
26
|
|
|
27
27
|
## Tailwind Plugin
|
|
28
28
|
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
export default {
|
|
34
|
-
plugins: [tigercatPlugin]
|
|
35
|
-
}
|
|
29
|
+
```css
|
|
30
|
+
@import 'tailwindcss';
|
|
31
|
+
@plugin '@expcat/tigercat-core/tailwind/modern';
|
|
36
32
|
```
|
|
37
33
|
|
|
34
|
+
The modern preset only changes component styling when a consumer sets
|
|
35
|
+
`data-tiger-style="modern"`; the default visual style remains unchanged.
|
|
36
|
+
|
|
38
37
|
## License
|
|
39
38
|
|
|
40
39
|
[MIT](https://opensource.org/licenses/MIT)
|