Toggle dark mode

Gets the current appearance, and if Dark Mode is on, switches to Light (and vice versa). Add additional customizations per condition as desired.

Actions Used

shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
shortcuts-action-icon-get-device-details.webp
Get Device Details
Gets information about the current device.
shortcuts-action-icon-set-appearance.webp
Set Appearance
Changes system appearance (between Light/Dark).

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Toggle%20dark%20mode
Open Shortcut deep link
shortcuts://open-shortcut?name=Toggle%20dark%20mode
AppleScript code
tell application “Shortcuts Events” run shortcut “Toggle dark mode” end tell

More From This Folder

How many nits?

Change the Number to the correct amount of nits for your device’s display if you don’t have an iPad Pro – look it up with “[device name] display nits” online.

Get Shortcut »

More From The Library

Turn on KQED

Turns on my living room, turns off your alarm in case you’ve woken up before it, and softly plays the radio station on my HomePod.

Get Shortcut »


Get way deeper into Shortcuts – become a member.