@lotics/ui 43.1.0 → 43.2.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/package.json +1 -1
- package/src/summary.tsx +7 -1
package/package.json
CHANGED
package/src/summary.tsx
CHANGED
|
@@ -137,7 +137,13 @@ function Total(props: { label: string; value?: number; formatValue?: (n: number)
|
|
|
137
137
|
const shown = props.formatValue ? props.formatValue(total) : total.toLocaleString(tag);
|
|
138
138
|
return (
|
|
139
139
|
<View style={styles.pair}>
|
|
140
|
-
|
|
140
|
+
{/* DISPLAY type by definition — this figure is what the page exists to
|
|
141
|
+
show, which is the whole meaning of the role. Without it a themed app
|
|
142
|
+
gets a serif headline where it hand-rolls one and a sans headline where
|
|
143
|
+
it uses this compound, and two sibling screens disagree about their own
|
|
144
|
+
masthead. Costs nothing unthemed: `family="display"` falls back to the
|
|
145
|
+
body face until an app sets `displayFont`. */}
|
|
146
|
+
<Text size="xxxl" weight="semibold" tabular family="display">
|
|
141
147
|
{shown}
|
|
142
148
|
</Text>
|
|
143
149
|
<Text size="md" color="muted">
|