Toggle dark mode

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.

Scripting Actions

shortcuts-action-icon-get-device-details.webp
Get Device Details
Gets information about the current device.
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-set-appearance.webp
Set Appearance
Changes system appearance (between Light/Dark).

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Toggle%20dark%20mode
Link to Open Shortcut
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

Open Security and Privacy preferences

Opens the deep link into Privacy and Security settings on iOS and the Security pane on macOS. Options include controls for Location Services and Tracking, plus others like Local Network, Nearby Interactions, Microphone and Speech Recognition, and Research Sensor and Usage Data. Also includes Safety Check, Sensitive Content Warning, Analytics and Improvements, Apple Advertising, App Privacy Report, and Lockdown Mode.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more