SEL-504: fix fonts and some styles (#762)

* fix fonts and some styles

* dry config

* fix some warnings
This commit is contained in:
Aaron DeRuvo
2025-07-16 11:16:48 +02:00
committed by GitHub
parent c195d27942
commit 2aed84e6a8
12 changed files with 127 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
import React from 'react';
import { StyleSheet, ViewStyle } from 'react-native';
import { Platform, StyleSheet, ViewStyle } from 'react-native';
import { Button, Text, ViewProps } from 'tamagui';
import { shouldShowAesopRedesign } from '../../hooks/useAesopRedesign';
@@ -65,7 +65,9 @@ export default function AbstractButton({
style={[
styles.container,
{ backgroundColor: bgColor, borderColor: borderColor },
hasBorder ? styles.withBorder : {},
hasBorder
? styles.withBorder
: Platform.select({ web: { borderWidth: 0 }, default: {} }),
style as ViewStyle,
]}
pressStyle={!animatedComponent ? pressedStyle : {}}