We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3002884 commit 8a2633dCopy full SHA for 8a2633d
src/components/ui4/CardUi4.tsx
@@ -58,7 +58,7 @@ export const CardUi4 = (props: Props) => {
58
style={styles.cardContainer}
59
>
60
<>
61
- {icon && <View style={styles.iconContainer}>{icon}</View>}
+ {icon ==null ? null : <View style={styles.iconContainer}>{icon}</View>}
62
<SectionView>{children}</SectionView>
63
</>
64
</TouchableHighlight>
@@ -70,7 +70,7 @@ export const CardUi4 = (props: Props) => {
70
const getStyles = cacheStyles((theme: Theme) => ({
71
cardContainer: {
72
backgroundColor: theme.cardBackgroundUi4,
73
- borderRadius: theme.rem(theme.cardRadiusUi4),
+ borderRadius: theme.rem(theme.cardRadiusRemUi4),
74
margin: theme.rem(0.5),
75
padding: theme.rem(0.5),
76
flexDirection: 'row'
src/theme/variables/edgeDark.ts
@@ -398,7 +398,7 @@ export const edgeDark: Theme = {
398
399
// UI 4.0:
400
cardBackgroundUi4: palette.teal,
401
- cardRadiusUi4: 1,
+ cardRadiusRemUi4: 1,
402
403
touchHighlightUi4: palette.lightGrayOp75
404
}
src/theme/variables/edgeLight.ts
@@ -395,7 +395,7 @@ export const edgeLight: Theme = {
395
396
397
cardBackgroundUi4: palette.mutedGray,
src/theme/variables/testDark.ts
@@ -415,7 +415,7 @@ export const testDark: Theme = {
415
416
417
418
419
420
421
src/types/Theme.ts
@@ -395,7 +395,7 @@ export interface Theme {
cardBackgroundUi4: string
- cardRadiusUi4: number
+ cardRadiusRemUi4: number
touchHighlightUi4: string
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments