Skip to content

Commit

Permalink
light-dark icons
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge committed Nov 23, 2024
1 parent 1784609 commit 953c8fe
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions apps/expo/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
scheme: "expo",
version: "0.1.0",
orientation: "portrait",
icon: "./assets/icon.png",
icon: "./assets/icon-light.png",
userInterfaceStyle: "automatic",
updates: {
fallbackToCacheTimeout: 0,
Expand All @@ -17,15 +17,15 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
bundleIdentifier: "your.bundle.identifier",
supportsTablet: true,
icon: {
light: "./assets/icon.png",
dark: "./assets/icon.png",
light: "./assets/icon-light.png",
dark: "./assets/icon-dark.png",
// tinted: "",
},
},
android: {
package: "your.bundle.identifier",
adaptiveIcon: {
foregroundImage: "./assets/icon.png",
foregroundImage: "./assets/icon-light.png",
backgroundColor: "#1F104A",
},
},
Expand All @@ -44,12 +44,12 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
[
"expo-splash-screen",
{
backgroundColor: "#1F104A",
image: "./assets/icon.png",
// dark: {
// backgroundColor: "#1F104A",
// image: "./assets/icon.png",
// },
backgroundColor: "#E4E4E7",
image: "./assets/icon-light.png",
dark: {
backgroundColor: "#18181B",
image: "./assets/icon-dark.png",
},
},
],
],
Expand Down
Binary file added apps/expo/assets/icon-dark.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 added apps/expo/assets/icon-light.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 removed apps/expo/assets/icon.png
Binary file not shown.

0 comments on commit 953c8fe

Please sign in to comment.