@digicreon/mucss 1.2.0 → 1.4.0
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 +7 -6
- package/dist/mu.amber.css +1 -1
- package/dist/mu.azure.css +1 -1
- package/dist/mu.blue.css +1 -1
- package/dist/mu.css +1 -1
- package/dist/mu.cyan.css +1 -1
- package/dist/mu.fuchsia.css +1 -1
- package/dist/mu.green.css +1 -1
- package/dist/mu.grey.css +1 -1
- package/dist/mu.indigo.css +1 -1
- package/dist/mu.jade.css +1 -1
- package/dist/mu.lime.css +1 -1
- package/dist/mu.orange.css +1 -1
- package/dist/mu.pink.css +1 -1
- package/dist/mu.pumpkin.css +1 -1
- package/dist/mu.purple.css +1 -1
- package/dist/mu.red.css +1 -1
- package/dist/mu.sand.css +1 -1
- package/dist/mu.slate.css +1 -1
- package/dist/mu.violet.css +1 -1
- package/dist/mu.yellow.css +1 -1
- package/dist/mu.zinc.css +1 -1
- package/documentation/mu.grid.md +7 -7
- package/package.json +1 -1
package/documentation/mu.grid.md
CHANGED
|
@@ -8,15 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
## Breakpoints
|
|
10
10
|
|
|
11
|
-
µGrid uses a mobile-first approach with
|
|
11
|
+
µGrid uses a mobile-first approach with 5 breakpoints:
|
|
12
12
|
|
|
13
13
|
| Name | Prefix | Min-width | Typical use |
|
|
14
14
|
|------|--------|-----------|----------------------|
|
|
15
15
|
| — | *(none)* | 0 | Mobile (default) |
|
|
16
|
-
| sm | `-sm-` |
|
|
17
|
-
| md | `-md-` |
|
|
18
|
-
| lg | `-lg-` |
|
|
19
|
-
| xl | `-xl-` |
|
|
16
|
+
| sm | `-sm-` | 576px | Mobile landscape |
|
|
17
|
+
| md | `-md-` | 768px | Tablet |
|
|
18
|
+
| lg | `-lg-` | 1024px | Desktop |
|
|
19
|
+
| xl | `-xl-` | 1280px | Large desktop |
|
|
20
|
+
| xxl | `-xxl-`| 1536px | Extra-large desktop |
|
|
20
21
|
|
|
21
22
|
All classes without a breakpoint prefix apply to all screen sizes. Prefixed classes apply from the specified breakpoint and up.
|
|
22
23
|
|
|
@@ -168,8 +169,7 @@ When showing a `.row` that was previously hidden, use `d-{bp}-flex` instead of `
|
|
|
168
169
|
|
|
169
170
|
µGrid uses the same class naming conventions as Bootstrap 5. Main differences:
|
|
170
171
|
|
|
171
|
-
- **
|
|
172
|
-
- **Breakpoint values differ slightly**: `sm` is 640px (vs 576px), `md` is 960px (vs 768px).
|
|
172
|
+
- **Breakpoint values differ slightly** from Bootstrap: `lg` is 1024px (vs 992px), `xl` is 1280px (vs 1200px), `xxl` is 1536px (vs 1400px).
|
|
173
173
|
- **No auto-sizing columns**: `.col` (without a number) is not supported.
|
|
174
174
|
- **No `row-cols-*`**: automatic column count per row is not supported.
|
|
175
175
|
- **No flex alignment utilities**: `justify-content-*`, `align-items-*` are not included.
|