How to Always Use Dark Mode or Light Mode for Any App on Your iPhone

Aug 20, 2022 09:35 PM
Aug 20, 2022 09:37 PM
637756786005567943.jpg

Some apps look great with Dark Mode, and some do not. So when you have system-wide Dark Mode enabled on your iPhone and are using an app that only looks good in Light Mode, you'd normally have to turn the dark appearance off manually, then switch it back on when you leave. But there's a workaround that can automate the process for you.

Perhaps the best improvement to the Dark Mode that appeared in iOS 13 is per-app dark and light appearances. Only it's not as simple as flipping a switch. While iOS 15 and iOS 16 have a "Per-App Settings" section in the Accessibility preferences that lets you set app-specific text size, button shapes, color style, and other customizations, there are no "Use Dark Mode" or "Use Light Mode" switches.

Instead, you'll have to see if the app in question has an override in its settings, and if not, you'll have to set up two or more automations in Shortcuts to achieve per-app Dark Mode settings. You can build super simple automations that turn on Dark or Light Mode when you open an app, but there are downsides to doing so, namely, that your system-wide appearance will be affected overall.

If you want to maintain your iPhone's system-wide Dark or Light Mode setting after leaving an app you assigned to Dark or Light Mode automation, the workflows are a little bit more involved but not difficult. This is the closest thing to assigning each app a preferred dark or light appearance that we'll see until Apple gives us a real per-app option or until all apps include overrides.

Option 1: Use Override Switches for Individual Apps

Some third-party apps build in override settings for Dark Mode that let you choose to keep the app on Dark Mode, Light Mode, or synced with the system-wide appearance. If you decide to make an app use a specific appearance, it will always use that look, and it won't affect the current system-wide setting.

So if you set an app to Light Mode only and Dark Mode is currently on system-wide, the app will use the light appearance, and you'll see the system-wide night look for everything else when you exit the app.

Not all apps have an override, but some big-name ones include:

  • Facebook: Go to Menu –> Settings & Privacy –> Settings –> Dark Mode.
  • Google Maps: From the Explore or Go tab, tap your profile icon, then go to Settings –> Dark Mode.
  • Messenger: Tap your profile icon from any tab, then choose "Dark mode."
  • Snapchat: Tap your profile icon from any tab, then select the settings cog, followed by "App Appearance."
  • TikTok: From the Profile tab, tap the three-lined menu icon, then "Dark mode."
  • YouTube: Tap your profile icon from any tab except for Shorts, then go to Settings –> General –> Dark theme. (Note that YouTube does not give an option to keep it the same as the system-wide setting, so it's always light or dark depending on your preference.)
637756008731395106.jpg

From left to right: Google Maps, Messenger, and Snapchat override switches.

637756009007176220.jpg
637756008880926622.jpg
637756008731395106.jpg

From left to right: Google Maps, Messenger, and Snapchat override switches.

637756009007176220.jpg
637756008880926622.jpg

Option 2: Create Your Own Override Switches for Apps

When the app itself doesn't have an override for the device-wide Dark Mode setting, you'll need to build an automation that turns on Dark or Light Mode for all the apps you select. Then, you'll need another for when you close those apps, which will switch the appearance back to whatever it was before opening the apps. That way, assigning apps to a specific look won't affect your system-wide setting.

Step 1: Create a Blank TXT or RTF Document in Files

Before making the automations, create a new .txt or .rtf file called something like "DarkOrLight," then move it to a specific location in the Files apps. Since you'll want the automations to work whether you have internet access or not, I'd suggest putting it in a "Shortcuts" folder in the "On My iPhone" directory instead of on iCloud somewhere.

You can create a blank .txt or .rtf file on your computer, then share it with your iPhone. Or you could use an app like Pages or Documents by Readdle on your iPhone and save it directly to your chosen directory in Files.

The first automation will use the file to write the name of the current appearance as either "Dark Mode" or "Light Mode" before the app that opens switches to its assigned Dark or Light Mode. Then, the second automation will review that file whenever the app closes, and it will switch to whatever appearance it reads.

637756103876975594.jpg
637756104019317582.jpg
637756103876975594.jpg
637756104019317582.jpg

Step 2: Set Apps to Always Use Dark or Light Mode

Now it's time for the first automation. This is where you choose either Dark Mode or Light Mode and assign all of the apps you want to your desired appearance. If you want some apps to stay dark while some always look light, you'll want to build separate automations for each. The automation will also detect the previously used appearance and record the state in the document that the second automation will reference.

  1. Open the Shortcuts app.
  2. Start a new personal automation from the "Automation" tab.
  3. Choose "App" as the trigger.
637747463243848733.jpg
637747459024317771.jpg
637747459215879441.jpg
637747463243848733.jpg
637747459024317771.jpg
637747459215879441.jpg
  1. Tap "Choose" next to "App."
  2. Check all of the apps you want and hit "Done."
  3. Make sure "Is Opened" is checked, not "Is Closed."
  4. Hit "Next" to continue.
637747460682286057.jpg
637756066444510723.jpg
637756066575448473.jpg
637747460682286057.jpg
637756066444510723.jpg
637756066575448473.jpg
  1. Add the "Get Device Details" action.
637756066888260336.jpg
637756067364353658.jpg
637756067560135044.jpg
637756066888260336.jpg
637756067364353658.jpg
637756067560135044.jpg
  1. Tap "Device Name" in the Get Device Details action box.
  2. Choose "Current Appearance."
637756067886854060.jpg
637756068131072554.jpg
637756068303885596.jpg
637756067886854060.jpg
637756068131072554.jpg
637756068303885596.jpg
  1. Add the "Text" action below the Get Device Details action box.
637756070477948238.jpg
637756070733573056.jpg
637756070625760256.jpg
637756070477948238.jpg
637756070733573056.jpg
637756070625760256.jpg
  1. Tap in the Text action box.
  2. Choose "Current Appearance" as the variable.
637756071236853710.jpg
637756071374041487.jpg
637756071236853710.jpg
637756071374041487.jpg
  1. Add the "Append to Text File" action below the Text action box.
637756069411229429.jpg
637756069580448382.jpg
637756072300916604.jpg
637756069411229429.jpg
637756069580448382.jpg
637756072300916604.jpg
  1. Tap the directory in the Append action box. (Mine is "Shortcuts.")
  2. Choose "Replace..." from the menu.
  3. Choose the location where your file is.
  4. Type the file name, starting with a / (slash), as the File Path. (Mine is /DarkOrLight.txt.)
637756073815917049.jpg
637756072961698768.jpg
637756073985916304.jpg
637756073815917049.jpg
637756072961698768.jpg
637756073985916304.jpg
  1. Add the "Set Appearance" action below the Append to Text File action box.
637756075601541329.jpg
637756075732168118.jpg
637756076029942237.jpg
637756075601541329.jpg
637756075732168118.jpg
637756076029942237.jpg
  1. Skip this part if you want the apps to use Dark Mode. Otherwise, tap "Dark" in the action box and select "Light."
  2. Hit "Next" to continue.
  3. Toggle off "Ask Before Running" and confirm with "Don't Ask."
  4. Hit "Done" to finish.
637756088106661418.jpg
637756088367130251.jpg
637756088979161439.jpg
637756088106661418.jpg
637756088367130251.jpg
637756088979161439.jpg
  1. Optional: Repeat the whole process to create another automation for different apps to use the opposite appearance.

Step 3: Set Apps to Return to the Previous Appearance When Closed

Now it's time for the second automation. You'll choose all of the same apps you did for the first automation; only this one will work when those apps close. This automation will also need to read the appearance that the first automation recorded in the document, then set it as the device-wide appearance. That way, when the app closes, your system returns to that dark or light state that iOS was using before you opened the app.

  1. Open the Shortcuts app.
  2. Start a new personal automation from the "Automation" tab.
  3. Choose "App" as the trigger.
  4. Tap "Choose" next to "App."
  5. Check all of the apps you selected in the previous automation and hit "Done."
  6. Make sure "Is Closed" is checked, not "Is Opened."
  7. Hit "Next" to continue.
  8. Add the "File" action.
637756091454005264.jpg
637756091588692829.jpg
637756091728535692.jpg
637756091454005264.jpg
637756091588692829.jpg
637756091728535692.jpg
  1. Tap "File" in the File action box.
  2. Choose your file.
637756091929163439.jpg
637756092112910930.jpg
637756091929163439.jpg
637756092112910930.jpg
  1. Add the "Split Text" action below the File action box.
637756092385569117.jpg
637756092504474587.jpg
637756092626192338.jpg
637756092385569117.jpg
637756092504474587.jpg
637756092626192338.jpg
  1. Add the "Get Item from List" action below the Split Text action box.
637756092790099195.jpg
637756093035255046.jpg
637756093150254732.jpg
637756092790099195.jpg
637756093035255046.jpg
637756093150254732.jpg
  1. Tap "First Item" from in the Split Text action box.
  2. Choose "Last Item" from the menu.
637756093307597891.jpg
637756093584004901.jpg
637756093307597891.jpg
637756093584004901.jpg
  1. Add an "If" statement below the Get Item from List action box.
637756093741035993.jpg
637756093864473405.jpg
637756093984786411.jpg
637756093741035993.jpg
637756093864473405.jpg
637756093984786411.jpg
  1. Tap "Condition" in the If action box.
  2. Choose "is" from the menu.
  3. Tap "Text" in the same action box.
  4. Type "Dark Mode" and hit "Done" on the keyboard.
637756094502755038.jpg
637756094681192415.jpg
637756094806349110.jpg
637756094502755038.jpg
637756094681192415.jpg
637756094806349110.jpg
  1. Drag and drop the "Set Appearance" action to just after the If action box.
  2. Drag and drop another "Set Appearance" action to just after the Otherwise action box.
637756095040254290.jpg
637756095220254642.jpg
637756095393067081.jpg
637756095040254290.jpg
637756095220254642.jpg
637756095393067081.jpg
  1. Tap "Dark" in the second Set Appearance action box and select "Light."
  2. Hit "Next" to continue.
  3. Toggle off "Ask Before Running" and confirm with "Don't Ask."
  4. Hit "Done" to finish.
637756095600099033.jpg
637756095745098356.jpg
637756095867755152.jpg
637756095600099033.jpg
637756095745098356.jpg
637756095867755152.jpg
  1. Optional: If you create separate automations to enable Dark Mode and Light Mode for different apps when they open, you'll want to repeat the whole process to work with the other appearance.

And that's all there is to it. Now, any time you open one of the apps you chose, they'll turn Dark Mode or Light Mode on, whichever you set up in the first automation. Whenever you close one of the set apps, iOS will return to the previously recorded appearance.

Option 3: Create a Simple Automation to Assign Apps an Appearance

If Option 2 above is too complicated, there's an easier way to assign apps certain appearances, but there are downsides, namely:

  • Exiting the app won't revert to the appearance used before opening the app. If an app has an internal override, it's wise to use that instead.
  • System-wide Dark or Light Mode won't matter much if you set all of your apps to an appearance, and it may even make things confusing.

If that's OK, you can build a more straightforward automation that turns on Dark Mode or Light Mode for all the apps you select. That way, whenever an assigned app opens, Dark Mode or Light Mode will activate no matter what the current system-wide appearance is — even if the system-wide one is on a schedule.

If you want more control, you can set up another automation for the opposite appearance you set first. So if you just set up a Dark Mode list of apps, also set up a Light Mode list of apps. Then, make sure you set all of the apps on your iPhone to one or the other. Whenever you close or switch to another app, except the Home Screen, the next app should switch or keep the current appearance based on how it's set up. There are also downsides to this:

  • You can't select Home Screen from the list of apps, so it will always be the appearance of the last app you were in.
  • If you assign all of your apps to start in Dark or Light mode, scheduling system-wide Dark Mode in the evening (or whenever) will be pointless.
  • If you want a different appearance for an app at any particular moment, you'll have to switch Dark Mode on or off manually.

If it still sounds OK, here are the instructions:

  1. Open the Shortcuts app.
  2. Start a new personal automation from the "Automation" tab.
  3. Choose "App" as the trigger.
637747463243848733.jpg
637747459024317771.jpg
637747459215879441.jpg
637747463243848733.jpg
637747459024317771.jpg
637747459215879441.jpg
  1. Tap "Choose" next to "App."
  2. Check all of the apps you want and hit "Done."
  3. Make sure "Is Opened" is checked, not "Is Closed."
  4. Hit "Next" to continue.
637747460682286057.jpg
637747460828067959.jpg
637747460946348660.jpg
637747460682286057.jpg
637747460828067959.jpg
637747460946348660.jpg
  1. Add the "Set Appearance" action.
637747461445254292.jpg
637747461614943020.jpg
637747461777286218.jpg
637747461445254292.jpg
637747461614943020.jpg
637747461777286218.jpg
  1. Skip this part if you want the apps to use Dark Mode. Otherwise, tap "Dark" in the action box and select "Light."
  2. Hit "Next" to continue.
637747462104474274.jpg
637747462237442455.jpg
637747462104474274.jpg
637747462237442455.jpg
  1. Toggle off "Ask Before Running" and confirm with "Don't Ask."
  2. Hit "Done" to finish.
637747462479474163.jpg
637747462637911931.jpg
637747462754161728.jpg
637747462479474163.jpg
637747462637911931.jpg
637747462754161728.jpg
  1. Optional: Build the same automation again except with the opposite appearance you just set up, and assign the apps you want to that one. Alternatively, you could build another automation that prompts you with an option to choose either "Dark Mode" or "Light Mode" whenever you close an assigned app, making sure it's always what you want. But if you're going through all of this work, it might be better to just use Option 2 above instead, so it's fully automated to remember your system-wide choice.

Cover photo and screenshots by Justin Meyers/Gadget Hacks

Comments

No Comments Exist

Be the first, drop a comment!