46 readonly property real compactLowerBound: 0
49 readonly property real mediumLowerBound: 600
52 readonly property real expandedLowerBound: 840
55 readonly property real largeLowerBound: 1200
58 readonly property real extraLargeLowerBound: 1600
65 function fromWidth(width) {
66 if (typeof width !== "number" || !Number.isFinite(width) || width < compactLowerBound)
68 if (width >= extraLargeLowerBound)
70 if (width >= largeLowerBound)
72 if (width >= expandedLowerBound)
74 if (width >= mediumLowerBound)
86 function columnCount(breakpoint) {
107 function margin(breakpoint) {
108 switch (breakpoint) {
113 return MD.Tokens.measurement.space300;
116 return MD.Tokens.measurement.space200;
127 function gutter(breakpoint) {
128 switch (breakpoint) {
133 return MD.Tokens.measurement.space300;
136 return MD.Tokens.measurement.space200;
Material Design 3 width breakpoints and adaptive grid metrics.