Skip to content

Commit 01439ac

Browse files
authored
Bigger labels (commaai#476)
1 parent 54d7d1a commit 01439ac

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/components/RouteStaticMap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const State = (props: {
4040
}) => {
4141
return (
4242
<div class={clsx('absolute flex size-full items-center justify-center gap-2', props.opaque && 'bg-surface text-on-surface')}>
43-
<span class="text-label-sm">{props.children}</span>
43+
<span class="text-label-md">{props.children}</span>
4444
{props.trailing}
4545
</div>
4646
)

src/pages/dashboard/activities/RouteActivity.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const RouteActivity: VoidComponent<RouteActivityProps> = (props) => {
6363
</div>
6464

6565
<div class="flex flex-col gap-2">
66-
<h3 class="text-label-sm uppercase">Route Info</h3>
66+
<h3 class="text-label-md uppercase">Route Info</h3>
6767
<div class="flex flex-col rounded-md overflow-hidden bg-surface-container">
6868
<RouteStatistics class="p-5" route={route.latest} timeline={timeline()} />
6969

@@ -72,14 +72,14 @@ const RouteActivity: VoidComponent<RouteActivityProps> = (props) => {
7272
</div>
7373

7474
<div class="flex flex-col gap-2">
75-
<h3 class="text-label-sm uppercase">Upload Files</h3>
75+
<h3 class="text-label-md uppercase">Upload Files</h3>
7676
<div class="flex flex-col rounded-md overflow-hidden bg-surface-container">
7777
<RouteUploadButtons route={route()} />
7878
</div>
7979
</div>
8080

8181
<div class="flex flex-col gap-2">
82-
<h3 class="text-label-sm uppercase">Route Map</h3>
82+
<h3 class="text-label-md uppercase">Route Map</h3>
8383
<div class="aspect-square overflow-hidden rounded-lg">
8484
<RouteStaticMap route={route()} />
8585
</div>

src/pages/dashboard/components/DeviceList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ const DeviceList: VoidComponent<DeviceListProps> = (props) => {
3737
activeClass="before:bg-primary"
3838
>
3939
<ListItemContent
40-
headline={getDeviceName(device)}
41-
subhead={<span class="font-mono text-label-sm lowercase">{device.dongle_id}</span>}
40+
headline={<span class="font-medium">{getDeviceName(device)}</span>}
41+
subhead={<span class="font-mono text-label-md lowercase">{device.dongle_id}</span>}
4242
/>
4343
</ListItem>
4444
)}

0 commit comments

Comments
 (0)