@datafluxgrid/fluxgrid-css 1.0.2 → 1.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 +48 -48
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,56 +5,56 @@
|
|
|
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
|
-
##
|
|
15
|
-
|
|
16
|
-
| Feature | Tailwind
|
|
17
|
-
| --------------------------- |
|
|
18
|
-
| Zero build step |
|
|
19
|
-
| CDN ready |
|
|
20
|
-
| Dark mode built-in |
|
|
21
|
-
| CSS Variable theming |
|
|
22
|
-
| Form components included |
|
|
23
|
-
| Animation library |
|
|
24
|
-
| Modular file imports |
|
|
25
|
-
| Conflict-free prefix (`c-`) |
|
|
26
|
-
| Reduced motion support |
|
|
27
|
-
| Print utilities |
|
|
14
|
+
## Why This Package?
|
|
15
|
+
|
|
16
|
+
| Feature | Tailwind | Bootstrap | @datafluxgrid/fluxgrid-css |
|
|
17
|
+
| --------------------------- | ------------- | --------- | -------------------------- |
|
|
18
|
+
| Zero build step | Requires CLI | Yes | Yes |
|
|
19
|
+
| CDN ready | Partial | Yes | Yes |
|
|
20
|
+
| Dark mode built-in | Config needed | No | Yes |
|
|
21
|
+
| CSS Variable theming | No | No | Yes |
|
|
22
|
+
| Form components included | Plugin needed | Yes | Yes |
|
|
23
|
+
| Animation library | No | No | Yes |
|
|
24
|
+
| Modular file imports | No | No | Yes |
|
|
25
|
+
| Conflict-free prefix (`c-`) | No | No | Yes |
|
|
26
|
+
| Reduced motion support | No | No | Yes |
|
|
27
|
+
| Print utilities | No | Partial | Yes |
|
|
28
28
|
|
|
29
29
|
---
|
|
30
30
|
|
|
31
|
-
##
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
31
|
+
## Features
|
|
32
|
+
|
|
33
|
+
- **Zero build step** — no CLI, no config, no purge, no PostCSS
|
|
34
|
+
- **Dark mode built-in** — via `data-theme="dark"` or `prefers-color-scheme`
|
|
35
|
+
- **CSS Variables theming** — override any token with one line of CSS
|
|
36
|
+
- **Modular imports** — use the full bundle or import only what you need
|
|
37
|
+
- **Full CSS reset** — consistent cross-browser baseline
|
|
38
|
+
- **Flexbox + CSS Grid** — 12-column responsive grid with `sm/md/lg/xl/2xl` breakpoints
|
|
39
|
+
- **Spacing system** — complete `margin` and `padding` scale
|
|
40
|
+
- **Typography utilities** — font size, weight, line height, tracking, transform
|
|
41
|
+
- **Color system** — full palette for text, background, border with semantic tokens
|
|
42
|
+
- **Effects** — shadows, borders, opacity, transforms, filters, backdrop-blur
|
|
43
|
+
- **16 animations** — fade, slide, scale, spin, pulse, skeleton loader, float, and more
|
|
44
|
+
- **Form components** — inputs, textarea, select, checkbox, radio, buttons (no JS required)
|
|
45
|
+
- **Scroll and snap** — scroll behavior, snap, custom scrollbar, touch-action
|
|
46
|
+
- **Print utilities** — show/hide, page breaks, print-only elements
|
|
47
|
+
- **Conflict-free** — `c-` prefix never clashes with existing CSS
|
|
48
|
+
- **Reduced motion** — animations auto-disabled for accessibility
|
|
49
49
|
|
|
50
50
|
---
|
|
51
51
|
|
|
52
|
-
##
|
|
52
|
+
## Installation
|
|
53
53
|
|
|
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.4",
|
|
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": [
|