@datafluxgrid/fluxgrid-css 1.0.1 → 1.0.3
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 +27 -27
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,26 +5,26 @@
|
|
|
5
5
|
A utility-first CSS framework with zero build step — dark mode, animations,
|
|
6
6
|
form components, and a full design token system built right in.
|
|
7
7
|
|
|
8
|
-
[](https://www.npmjs.com/package/@datafluxgrid/fluxgrid-css)
|
|
9
|
+
[](https://www.npmjs.com/package/@datafluxgrid/fluxgrid-css)
|
|
10
|
+
[](https://github.com/datafluxgrid/fluxgrid-css/blob/main/LICENSE)
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
## ⚡ Why This Package?
|
|
15
15
|
|
|
16
|
-
| Feature | Tailwind | Bootstrap | **@
|
|
17
|
-
| --------------------------- | ---------------- | ---------- |
|
|
18
|
-
| Zero build step | ❌ Requires CLI | ✅ | ✅
|
|
19
|
-
| CDN ready | ⚠️ Partial | ✅ | ✅
|
|
20
|
-
| Dark mode built-in | ⚠️ Config needed | ❌ | ✅
|
|
21
|
-
| CSS Variable theming | ❌ | ❌ | ✅
|
|
22
|
-
| Form components included | ❌ Plugin needed | ✅ | ✅
|
|
23
|
-
| Animation library | ❌ | ❌ | ✅
|
|
24
|
-
| Modular file imports | ❌ | ❌ | ✅
|
|
25
|
-
| Conflict-free prefix (`c-`) | ❌ | ❌ | ✅
|
|
26
|
-
| Reduced motion support | ❌ | ❌ | ✅
|
|
27
|
-
| Print utilities | ❌ | ⚠️ Partial | ✅
|
|
16
|
+
| Feature | Tailwind | Bootstrap | **@datafluxgrid/fluxgrid-css** |
|
|
17
|
+
| --------------------------- | ---------------- | ---------- | ------------------------------ |
|
|
18
|
+
| Zero build step | ❌ Requires CLI | ✅ | ✅ |
|
|
19
|
+
| CDN ready | ⚠️ Partial | ✅ | ✅ |
|
|
20
|
+
| Dark mode built-in | ⚠️ Config needed | ❌ | ✅ |
|
|
21
|
+
| CSS Variable theming | ❌ | ❌ | ✅ |
|
|
22
|
+
| Form components included | ❌ Plugin needed | ✅ | ✅ |
|
|
23
|
+
| Animation library | ❌ | ❌ | ✅ |
|
|
24
|
+
| Modular file imports | ❌ | ❌ | ✅ |
|
|
25
|
+
| Conflict-free prefix (`c-`) | ❌ | ❌ | ✅ |
|
|
26
|
+
| Reduced motion support | ❌ | ❌ | ✅ |
|
|
27
|
+
| Print utilities | ❌ | ⚠️ Partial | ✅ |
|
|
28
28
|
|
|
29
29
|
---
|
|
30
30
|
|
|
@@ -54,7 +54,7 @@ form components, and a full design token system built right in.
|
|
|
54
54
|
### via npm
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
npm install @
|
|
57
|
+
npm install @datafluxgrid/fluxgrid-css
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
### via CDN (jsDelivr) — no install needed
|
|
@@ -63,25 +63,25 @@ npm install @vimalkrml/dev-template
|
|
|
63
63
|
<!-- Full bundle -->
|
|
64
64
|
<link
|
|
65
65
|
rel="stylesheet"
|
|
66
|
-
href="https://cdn.jsdelivr.net/npm/@
|
|
66
|
+
href="https://cdn.jsdelivr.net/npm/@datafluxgrid/fluxgrid-css/src/index.css"
|
|
67
67
|
/>
|
|
68
68
|
|
|
69
69
|
<!-- Or individual modules -->
|
|
70
70
|
<link
|
|
71
71
|
rel="stylesheet"
|
|
72
|
-
href="https://cdn.jsdelivr.net/npm/@
|
|
72
|
+
href="https://cdn.jsdelivr.net/npm/@datafluxgrid/fluxgrid-css/src/tokens.css"
|
|
73
73
|
/>
|
|
74
74
|
<link
|
|
75
75
|
rel="stylesheet"
|
|
76
|
-
href="https://cdn.jsdelivr.net/npm/@
|
|
76
|
+
href="https://cdn.jsdelivr.net/npm/@datafluxgrid/fluxgrid-css/src/grid.css"
|
|
77
77
|
/>
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
### via Clone
|
|
81
81
|
|
|
82
82
|
```bash
|
|
83
|
-
git clone https://github.com/
|
|
84
|
-
cd
|
|
83
|
+
git clone https://github.com/datafluxgrid/fluxgrid-css.git
|
|
84
|
+
cd fluxgrid-css
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
---
|
|
@@ -99,7 +99,7 @@ cd Dev-Template
|
|
|
99
99
|
<title>My Project</title>
|
|
100
100
|
<link
|
|
101
101
|
rel="stylesheet"
|
|
102
|
-
href="node_modules/@
|
|
102
|
+
href="node_modules/@datafluxgrid/fluxgrid-css/src/index.css"
|
|
103
103
|
/>
|
|
104
104
|
</head>
|
|
105
105
|
<body>
|
|
@@ -117,15 +117,15 @@ cd Dev-Template
|
|
|
117
117
|
|
|
118
118
|
```js
|
|
119
119
|
// main.jsx or _app.jsx — applies globally
|
|
120
|
-
import "@
|
|
120
|
+
import "@datafluxgrid/fluxgrid-css/src/index.css";
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
### Modular imports — only load what you use
|
|
124
124
|
|
|
125
125
|
```js
|
|
126
|
-
import "@
|
|
127
|
-
import "@
|
|
128
|
-
import "@
|
|
126
|
+
import "@datafluxgrid/fluxgrid-css/src/tokens.css";
|
|
127
|
+
import "@datafluxgrid/fluxgrid-css/src/grid.css";
|
|
128
|
+
import "@datafluxgrid/fluxgrid-css/src/spacing.css";
|
|
129
129
|
```
|
|
130
130
|
|
|
131
131
|
---
|
|
@@ -347,4 +347,4 @@ Contributions are welcome!
|
|
|
347
347
|
|
|
348
348
|
## 📄 License
|
|
349
349
|
|
|
350
|
-
MIT © [
|
|
350
|
+
MIT © [Datafluxgrid](https://www.linkedin.com/company/datafluxgrid)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datafluxgrid/fluxgrid-css",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "A utility-first CSS framework with zero build step — dark mode, animations, forms, and a full design token system built in.",
|
|
5
5
|
"main": "src/index.css",
|
|
6
6
|
"files": [
|