Skip to content

Commit

Permalink
update logos
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Oct 14, 2023
1 parent f522679 commit 518559e
Show file tree
Hide file tree
Showing 62 changed files with 19 additions and 42 deletions.
Binary file removed android/app/src/main/res/drawable/splash_icon.png
Binary file not shown.
2 changes: 1 addition & 1 deletion android/app/src/main/res/drawable/splash_screen.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<item>
<bitmap
android:gravity="center"
android:src="@drawable/splash_icon"
android:src="@drawable/ssp-logo-text-white"
/>
</item>

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/ic_launcher-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-ldpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/playstore-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions android/app/src/main/res/values/colors.xml

This file was deleted.

2 changes: 1 addition & 1 deletion android/app/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#ffffff</color>
<color name="ic_launcher_background">#131314</color>
</resources>
3 changes: 0 additions & 3 deletions android/app/src/main/res/values/strings.xml

This file was deleted.

13 changes: 0 additions & 13 deletions android/app/src/main/res/values/styles.xml

This file was deleted.

Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
Binary file modified ios/SSPKey/Images.xcassets/AppIcon.appiconset/[email protected]
6 changes: 3 additions & 3 deletions ios/SSPKey/Images.xcassets/SplashIcon.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "Webp.net-resizeimage (2).png",
"filename" : "ItunesArtwork@1x.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Webp.net-resizeimage (1).png",
"filename" : "ItunesArtwork@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Webp.net-resizeimage.png",
"filename" : "ItunesArtwork@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file added src/assets/ssp-logo-black.png
Binary file added src/assets/ssp-logo-text-black.png
Binary file added src/assets/ssp-logo-text-white.png
Binary file added src/assets/ssp-logo-white.png
Binary file removed src/assets/ssp-logo.png
Diff not rendered.
11 changes: 3 additions & 8 deletions src/components/Brand/Brand.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { View, Image, DimensionValue, Text } from 'react-native';
import { useTranslation } from 'react-i18next';
import { View, Image, DimensionValue } from 'react-native';
import { useTheme } from '../../hooks';

type Props = {
Expand All @@ -10,8 +9,7 @@ type Props = {
};

const Brand = ({ mode }: Props) => {
const { Layout, Images, Fonts, Gutters } = useTheme();
const { t } = useTranslation(['common']);
const { darkMode, Layout, Images, Gutters } = useTheme();

return (
<View
Expand All @@ -21,12 +19,9 @@ const Brand = ({ mode }: Props) => {
<Image
testID={'brand-img'}
style={{ width: 140 }}
source={Images.logo}
source={darkMode ? Images.ssp.logoTextWhite : Images.ssp.logoTextBlack}
resizeMode={mode}
/>
<Text style={[Fonts.textLarge, Fonts.textBold]}>
{t('common:appName.full')}
</Text>
</View>
);
};
Expand Down
4 changes: 2 additions & 2 deletions src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useTheme } from '../../hooks';
import HelpSection from '../../components/HelpSection/HelpSection';

function PoweredByFlux(props: { openSettingsTrigger: () => void }) {
const { Gutters, Layout, Images, Colors } = useTheme();
const { darkMode, Gutters, Layout, Images, Colors } = useTheme();
const [helpSectionModalOpen, setHelpSectionModalOpen] = useState(false);
const openHelp = () => {
setHelpSectionModalOpen(true);
Expand All @@ -31,7 +31,7 @@ function PoweredByFlux(props: { openSettingsTrigger: () => void }) {
>
<Image
style={{ width: 35, height: 35 }}
source={Images.ssp.logo}
source={darkMode ? Images.ssp.logoWhite : Images.ssp.logoBlack}
resizeMode={'contain'}
/>
<View style={[Layout.row, Gutters.tinyTMargin]}>
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Create/Create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function Create({ navigation }: Props) {
>
<Image
style={{ width: 80, height: 160 }}
source={Images.ssp.logo}
source={darkMode ? Images.ssp.logoWhite : Images.ssp.logoBlack}
resizeMode={'contain'}
/>
<Text style={[Fonts.titleSmall, Gutters.tinyBMargin]}>
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Restore/Restore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ function Restore({ navigation }: Props) {
>
<Image
style={{ width: 80, height: 160 }}
source={Images.ssp.logo}
source={darkMode ? Images.ssp.logoWhite : Images.ssp.logoBlack}
resizeMode={'contain'}
/>
<Text style={[Fonts.titleSmall, Gutters.tinyBMargin]}>
Expand Down
4 changes: 2 additions & 2 deletions src/screens/Welcome/Welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type Props = {

function Welcome({ navigation }: Props) {
const { t } = useTranslation(['welcome']);
const { Common, Fonts, Gutters, Layout, Images } = useTheme();
const { darkMode, Common, Fonts, Gutters, Layout, Images } = useTheme();

return (
<ScrollView
Expand All @@ -34,7 +34,7 @@ function Welcome({ navigation }: Props) {
>
<Image
style={{ width: 120, height: 200 }}
source={Images.ssp.logo}
source={darkMode ? Images.ssp.logoWhite : Images.ssp.logoBlack}
resizeMode={'contain'}
/>
<Text style={[Fonts.titleRegular, Gutters.tinyBMargin]}>
Expand Down
6 changes: 4 additions & 2 deletions src/theme/Images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ import { ThemeVariables } from '../../@types/theme';
export default function ({}: ThemeVariables) {
return {
ssp: {
logo: require('../assets/ssp-logo.png'),
logoBlack: require('../assets/ssp-logo-black.png'),
logoWhite: require('../assets/ssp-logo-white.png'),
logoTextBlack: require('../assets/ssp-logo-text-black.png'),
logoTextWhite: require('../assets/ssp-logo-text-white.png'),
},
logo: require('../assets/ssp-logo.png'),
};
}
Binary file removed src/theme/assets/images/splash_icon.png
Diff not rendered.
Binary file added src/theme/assets/images/ssp-logo-black.png
Binary file added src/theme/assets/images/ssp-logo-white.png
2 changes: 1 addition & 1 deletion src/theme/themes/default_dark/Images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

export default function () {
return {
logo: require('../../assets/images/splash_icon.png'),
logo: require('../../assets/images/ssp-logo-black.png'),
};
}

0 comments on commit 518559e

Please sign in to comment.