Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions apps/client/app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,10 @@ const createStyles = (colors: AppPalette, fontScale: number) =>
headline: {
fontSize: 72 * fontScale,
fontWeight: '800',
color: colors.textPrimary,
// The hero sits on the fixed light lavender/pink brand artwork, so its
// text must stay dark in every theme (theme tokens would go light in
// dark mode and vanish against the artwork)
color: '#1A1A2E',
textAlign: 'center',
marginBottom: 8,
letterSpacing: -2,
Expand All @@ -601,7 +604,7 @@ const createStyles = (colors: AppPalette, fontScale: number) =>
},
subheadline: {
fontSize: 22 * fontScale,
color: colors.textSecondary,
color: '#4B5563', // fixed: sits on the light hero artwork in every theme
textAlign: 'center',
marginBottom: 48,
lineHeight: 34,
Expand Down Expand Up @@ -651,10 +654,10 @@ const createStyles = (colors: AppPalette, fontScale: number) =>
minWidth: 180,
alignItems: 'center',
borderWidth: 2,
borderColor: colors.border,
borderColor: '#1A1A2E', // fixed: sits on the light hero artwork in every theme
},
secondaryButtonText: {
color: colors.textPrimary,
color: '#1A1A2E', // fixed: sits on the light hero artwork in every theme
fontSize: 18 * fontScale,
fontWeight: '600',
},
Expand All @@ -675,7 +678,7 @@ const createStyles = (colors: AppPalette, fontScale: number) =>
fontWeight: 'bold',
},
trustText: {
color: colors.textSecondary,
color: '#4B5563', // fixed: sits on the light hero artwork in every theme
fontSize: 15 * fontScale,
fontWeight: '500',
},
Expand Down
Loading