Skip to content

Commit

Permalink
update missing theme
Browse files Browse the repository at this point in the history
  • Loading branch information
SorinC6 committed May 9, 2024
1 parent 42293ad commit 67e3a92
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 26 deletions.
1 change: 0 additions & 1 deletion apps/wallet-mobile/src/YoroiApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export const YoroiApp = () => {

const themeStorage = useThemeStorageMaker()


if (!migrated) return null

return (
Expand Down
4 changes: 2 additions & 2 deletions apps/wallet-mobile/src/auth/PinInput/PinInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ const useStyles = () => {
},
pinCircleInactive: {
borderWidth: 2,
borderColor: '#3154CB',
borderColor: color.primary_c600,
},
pinCircleActive: {
backgroundColor: '#3154CB',
backgroundColor: color.primary_c600,
},
})
return styles
Expand Down
4 changes: 2 additions & 2 deletions apps/wallet-mobile/src/components/Icon/Backspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ type Props = {
color?: string
}

export const Backspace = ({color = 'black'}: Props) => (
<Svg width="24" height="17" viewBox="0 0 24 17" fill="none">
export const Backspace = ({color = 'black', size}: Props) => (
<Svg width={size ?? 24} height={size ?? 17} viewBox="0 0 24 17" fill="none">
<Path
d="M11.0476 6.02515C10.7548 5.73224 10.7548 5.25739 11.0476 4.96448C11.3406 4.67157 11.8154 4.67157 12.1083 4.96448L14.5833 7.43939L17.0581 4.96448C17.351 4.67157 17.8258 4.67157 18.1188 4.96448C18.4116 5.25732 18.4116 5.73224 18.1188 6.02515L15.6438 8.5L18.1188 10.9749C18.4116 11.2678 18.4116 11.7427 18.1188 12.0355C17.8258 12.3284 17.351 12.3284 17.0581 12.0355L14.5833 9.56067L12.1083 12.0355C11.8154 12.3284 11.3406 12.3284 11.0477 12.0355C10.7548 11.7426 10.7548 11.2678 11.0477 10.9749L13.5226 8.50006L11.0476 6.02515Z"
fill={color}
Expand Down
2 changes: 1 addition & 1 deletion apps/wallet-mobile/src/components/NumericKeyboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const useStyles = () => {
borderTopWidth: 2 * StyleSheet.hairlineWidth,
borderLeftWidth: StyleSheet.hairlineWidth,
borderRightWidth: StyleSheet.hairlineWidth,
borderColor: '#B7B7B7',
borderColor: color.gray_c400,
},
keyboardKeyDisabled: {
backgroundColor: color.gray_c100,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const DarkThemeAnnouncement = () => {
<View style={styles.container}>
<ScrollView bounces={false} ref={scrollViewRef} persistentScrollbar={true} showsVerticalScrollIndicator={true}>
<View style={styles.content}>
<Space height="md" />
<Space height="_2xl" />

<ThemeIlustration />

Expand Down Expand Up @@ -64,7 +64,7 @@ const useStyles = () => {
},
content: {
alignItems: 'center',
paddingTop: 60,
...atoms.pt_2xl,
...atoms.body_1_lg_regular,
},
title: {
Expand All @@ -82,9 +82,8 @@ const useStyles = () => {
textAlign: 'center',
...atoms.body_3_sm_regular,
},

toggle: {
paddingBottom: 44,
...atoms.pb_2xl,
},
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,59 +4,59 @@
"defaultMessage": "!!!Try Yoroi dark theme",
"file": "src/features/SetupWallet/useCases/DarkThemeAnnouncement/DarkThemeAnnouncement.tsx",
"start": {
"line": 105,
"line": 104,
"column": 10,
"index": 2880
"index": 2877
},
"end": {
"line": 108,
"line": 107,
"column": 3,
"index": 2973
"index": 2970
}
},
{
"id": "walletinit.theme.description",
"defaultMessage": "!!!Press the theme switcher and dive into the new stylish theme crafted to enhance your Cardano wallet experience",
"file": "src/features/SetupWallet/useCases/DarkThemeAnnouncement/DarkThemeAnnouncement.tsx",
"start": {
"line": 109,
"line": 108,
"column": 15,
"index": 2990
"index": 2987
},
"end": {
"line": 113,
"line": 112,
"column": 3,
"index": 3178
"index": 3175
}
},
{
"id": "walletinit.theme.chanageTheme",
"defaultMessage": "!!!Anonymous analytics data",
"file": "src/features/SetupWallet/useCases/DarkThemeAnnouncement/DarkThemeAnnouncement.tsx",
"start": {
"line": 114,
"line": 113,
"column": 15,
"index": 3195
"index": 3192
},
"end": {
"line": 117,
"line": 116,
"column": 3,
"index": 3292
"index": 3289
}
},
{
"id": "components.walletinit.walletform.continueButton",
"defaultMessage": "!!!Continue",
"file": "src/features/SetupWallet/useCases/DarkThemeAnnouncement/DarkThemeAnnouncement.tsx",
"start": {
"line": 118,
"line": 117,
"column": 12,
"index": 3306
"index": 3303
},
"end": {
"line": 121,
"line": 120,
"column": 3,
"index": 3405
"index": 3402
}
}
]

0 comments on commit 67e3a92

Please sign in to comment.