@ikas/component-cli 1.4.0-beta.82 → 1.4.0-beta.84
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/package.json +1 -1
- package/templates/add/section.css +11 -0
package/package.json
CHANGED
|
@@ -15,3 +15,14 @@
|
|
|
15
15
|
font-weight: 700;
|
|
16
16
|
color: #111827;
|
|
17
17
|
}
|
|
18
|
+
|
|
19
|
+
/*
|
|
20
|
+
* Responsive: use the theme's breakpoints in CSS. CSS media queries can't use
|
|
21
|
+
* var(), so write the min-width/max-width yourself and use `bp(<breakpointId>)`
|
|
22
|
+
* for the value — it resolves to the breakpoint's `<width>px` at render time
|
|
23
|
+
* against the store's live width. Get <breakpointId> from
|
|
24
|
+
* `npx ikas-component list-theme-globals` (breakpoints[].id) — use the id, not the name.
|
|
25
|
+
*
|
|
26
|
+
* @media (max-width: bp(_AbC123)) { .{{KEBAB_NAME}} { padding: 32px 16px; } }
|
|
27
|
+
* @media (min-width: bp(_AbC123)) { .{{KEBAB_NAME}}-inner { display: flex; gap: 24px; } }
|
|
28
|
+
*/
|