@pzh-ui/css 0.0.30 → 0.0.31
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 +18 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
1
|
# `css`
|
|
2
2
|
|
|
3
3
|
This package contains default styling for projects whitin Provincie Zuid-Holland.
|
|
4
|
+
|
|
5
|
+
We use the [Tailwind framework](https://tailwindcss.com/) to style the components. In order to apply the correct styles, install [@pzh-ui/css](https://www.npmjs.com/package/@pzh-ui/css) in your project.
|
|
6
|
+
|
|
7
|
+
`npm install @pzh-ui/css`
|
|
8
|
+
|
|
9
|
+
After installing the dependency, you can start using the styles as follows:
|
|
10
|
+
|
|
11
|
+
```jsx
|
|
12
|
+
// tailwind.config.js
|
|
13
|
+
module.exports = {
|
|
14
|
+
presets: [require('@pzh-ui/css/config')],
|
|
15
|
+
content: [
|
|
16
|
+
'./src/**/*.{js,jsx,ts,tsx}',
|
|
17
|
+
'./node_modules/@pzh-ui/components/dist/**/*.{js,jsx,ts,tsx}',
|
|
18
|
+
'./public/index.html',
|
|
19
|
+
],
|
|
20
|
+
}
|
|
21
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pzh-ui/css",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.31",
|
|
4
4
|
"description": "Contains default styling for projects whitin Provincie Zuid-Holland.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"publishConfig": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@tailwindcss/line-clamp": "^0.3.1",
|
|
20
20
|
"react-datepicker": "^4.7.0"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "7ad20a4be9e43b9ff5af00763b51aef9fc002ddc",
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"tailwindcss": "^3.0.23"
|
|
25
25
|
}
|