fulldev-ui 0.4.13 → 0.4.14
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/package.json
CHANGED
|
@@ -38,12 +38,34 @@ In your `tailwind.config.ts` add the following:
|
|
|
38
38
|
// tailwind.config.ts
|
|
39
39
|
import fulldevUI from 'fulldev-ui/tailwind'
|
|
40
40
|
|
|
41
|
-
export default
|
|
41
|
+
export default {
|
|
42
42
|
plugins: [fulldevUI],
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
In your `astro.config.ts` add the following:
|
|
47
|
+
|
|
48
|
+
```ts
|
|
49
|
+
// astro.config.ts
|
|
50
|
+
import tailwind from '@astrojs/tailwind'
|
|
51
|
+
|
|
52
|
+
export default defineConfig({
|
|
53
|
+
integrations: [
|
|
54
|
+
tailwind({
|
|
55
|
+
// Disable injecting styles, import manually instead
|
|
56
|
+
applyBaseStyles: false,
|
|
57
|
+
}),
|
|
58
|
+
],
|
|
43
59
|
})
|
|
44
60
|
```
|
|
45
61
|
|
|
46
|
-
Import
|
|
62
|
+
Import the css file file below anywhere in your project.
|
|
63
|
+
|
|
64
|
+
```css
|
|
65
|
+
@tailwind base layer(base);
|
|
66
|
+
@tailwind components;
|
|
67
|
+
@tailwind utilities;
|
|
68
|
+
```
|
|
47
69
|
|
|
48
70
|
### UnoCSS
|
|
49
71
|
|
|
@@ -54,11 +76,12 @@ In your `uno.config.ts` add the following:
|
|
|
54
76
|
import fulldevUI from 'fulldev-ui/unocss'
|
|
55
77
|
|
|
56
78
|
export default defineConfig({
|
|
79
|
+
injectReset: false,
|
|
57
80
|
presets: [fulldevUI],
|
|
58
81
|
})
|
|
59
82
|
```
|
|
60
83
|
|
|
61
|
-
Do not use `injectReset` when using the UnoCSS preset, as it will conflict with the reset provided by Fulldev UI.
|
|
84
|
+
Do not use `injectReset` when using the UnoCSS preset, as it will conflict with the reset provided by Fulldev UI. If you do want a style reset, be sure to import it in the `base` layer, similar to the TailwindCSS example above.
|
|
62
85
|
|
|
63
86
|
## Utility classes
|
|
64
87
|
|