Skip to content

Send files directly between devices over the internet - no cloud storage, no size limits.

align section headings across send and settings

Denis Lupookov8b34e5470494
diff --git a/apps/desktop/src/renderer/pages/SendPage/ShareView.tsx b/apps/desktop/src/renderer/pages/SendPage/ShareView.tsx
index b3202da..17c2cca 100644
--- a/apps/desktop/src/renderer/pages/SendPage/ShareView.tsx
+++ b/apps/desktop/src/renderer/pages/SendPage/ShareView.tsx
@@ -235,7 +235,7 @@ export function ShareView() {
{vm.hasDevices && (
<div className='flex flex-col gap-2'>
<div className='flex items-center justify-between px-1'>
- <p className='m-0 text-[11px] font-semibold uppercase tracking-[0.06em] text-text-secondary'>
+ <p className='m-0 text-[13px] font-medium text-text-muted'>
{t('send:peer.devices')}
</p>
{vm.connectedCount > 0 && (
diff --git a/apps/mobile/src/transfer/send/views/ShareView.tsx b/apps/mobile/src/transfer/send/views/ShareView.tsx
index dccbb54..dd09c29 100644
--- a/apps/mobile/src/transfer/send/views/ShareView.tsx
+++ b/apps/mobile/src/transfer/send/views/ShareView.tsx
@@ -244,7 +244,7 @@ export function ShareView() {
{vm.hasDevices && (
<>
<View style={styles.sectionHeader}>
- <Text style={[styles.sectionLabel, { color: c.colorTextSecondary }]}>
+ <Text style={[styles.sectionLabel, { color: c.colorTextMuted }]}>
{t('send:peer.devices')}
</Text>
{vm.connectedCount > 0 && (
@@ -387,7 +387,7 @@ const styles = StyleSheet.create({
paddingHorizontal: 4,
marginBottom: 8
},
- sectionLabel: { fontSize: 11, fontWeight: '600', letterSpacing: 1, textTransform: 'uppercase' },
+ sectionLabel: { fontSize: 13, fontWeight: '500' },
sectionCount: { fontSize: 11.5, fontWeight: '500' },
section: { marginBottom: 16 },
filesWrap: { marginBottom: 24 },
diff --git a/packages/components/src/components/Menu/styles.ts b/packages/components/src/components/Menu/styles.ts
index 184196d..337b24e 100644
--- a/packages/components/src/components/Menu/styles.ts
+++ b/packages/components/src/components/Menu/styles.ts
@@ -9,7 +9,6 @@ export const styles = css.create({
},
heading: {
margin: 0,
- paddingInline: tokens.space4,
color: tokens.colorTextMuted,
fontFamily: fontTokens.fontFamilySans,
fontSize: tokens.fontSizeLg,