@farmzone/fz-react-ui 0.0.7 → 0.0.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.
package/dist/tw.css CHANGED
@@ -1 +1,30 @@
1
- @source "./index.js";
1
+ /* Tailwind source scanning for consumer projects */
2
+ @source "./index.js";
3
+
4
+ /* Custom color tokens — must be available in the consumer's Tailwind build */
5
+ @theme {
6
+ --color-main-red: rgb(255 100 103);
7
+ --color-sub-red: rgb(255 174 176);
8
+ --color-main-blue: rgb(22 65 148);
9
+ --color-sub-darkblue: rgb(18 50 116);
10
+ --color-sub-skyblue: rgb(0 159 227);
11
+ --color-light-gray: #f4f8fb;
12
+ --color-dark-gray: #94adbc;
13
+ --color-sub-unchecked: rgb(198 204 206);
14
+ --color-sub-lightgray-2: rgb(160 160 160);
15
+ --color-sub-lightgray: rgb(218 218 218);
16
+ --color-sub-darkgray: rgb(87 87 86);
17
+ --color-basic-gray: #cbd5e0;
18
+ }
19
+
20
+ /* Non-Tailwind custom classes */
21
+ .btn-grad {
22
+ background-image: linear-gradient(to right, #4cb8c4 0%, #3cd3ad 51%, #4cb8c4 100%);
23
+ background-size: 200% auto;
24
+ transition: background-position 0.5s ease;
25
+ box-shadow: 0 0 10px #eee;
26
+ }
27
+
28
+ .btn-grad:hover {
29
+ background-position: right center;
30
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farmzone/fz-react-ui",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Farmzone React UI component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -22,7 +22,7 @@
22
22
  "**/*.css"
23
23
  ],
24
24
  "scripts": {
25
- "build": "tsup && tailwindcss -i ./src/styles.css -o ./dist/styles.css --minify && printf \"@source \\\"./index.js\\\";\" > dist/tw.css",
25
+ "build": "tsup && tailwindcss -i ./src/styles.css -o ./dist/styles.css --minify && cp src/tw.css dist/tw.css",
26
26
  "build:js": "tsup",
27
27
  "build:css": "tailwindcss -i ./src/styles.css -o ./dist/styles.css --minify",
28
28
  "dev": "tsup --watch",