@klodd/ds 5.11.0 → 5.11.1
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/css/00-primitives.css +11 -0
- package/package.json +1 -1
package/css/00-primitives.css
CHANGED
|
@@ -407,6 +407,17 @@
|
|
|
407
407
|
--bp-tablet: 768px;
|
|
408
408
|
--bp-desktop: 1024px;
|
|
409
409
|
|
|
410
|
+
/* Desktop layout breakpoints
|
|
411
|
+
Använd BARA för sidlayout (media queries på makronivå).
|
|
412
|
+
Komponentresponsivitet → container queries, inte dessa.
|
|
413
|
+
--bp-medium (1024px) sammanfaller avsiktligt med --bp-desktop:
|
|
414
|
+
--bp-desktop är legacy-token som komponenter redan kan referera,
|
|
415
|
+
--bp-medium är desktop-fasens nya makrolayout-token. Olika
|
|
416
|
+
semantisk roll, samma värde. */
|
|
417
|
+
--bp-compact: 720px; /* mobil → mellanbredd */
|
|
418
|
+
--bp-medium: 1024px; /* mellanbredd → desktop */
|
|
419
|
+
--bp-expanded: 1440px; /* desktop → wide */
|
|
420
|
+
|
|
410
421
|
--max-w-mobile: 600px;
|
|
411
422
|
--max-w-tablet: 680px;
|
|
412
423
|
--max-w-desktop: 1280px;
|