Device Theme Switcher

approved

by asingularphoton

Automatically switch between different themes based on whether you're accessing your vault on mobile or desktop. - This plugin has not been manually reviewed by Obsidian staff.

3 stars575 downloadsUpdated 1mo ago0BSD

Device Theme Switcher

Automatically switch between different themes in Obsidian based on whether you're using it on mobile or desktop.

I made this because I found a template I really liked on mobile, but don't like on desktop!

Features

  • Platform Detection: Automatically detects if you're on mobile or desktop
  • Theme Switching: Set different themes for each platform
  • Startup Apply: Optionally apply the correct theme when the plugin loads
  • Color Mode Switching: Switch between Dark Mode, Light Mode, or Match Device Theme
  • Manual Command: Use the command "Apply platform-appropriate theme" anytime
  1. Go to Settings → Mobile/Desktop Theme Switcher
  2. Select your preferred theme and color mode for mobile devices
  3. Select your preferred theme and color mode for desktop devices
  4. The plugin will now automatically switch themes and color mode based on your platform

Development

Code base inspired by https://github.com/carlrobert/double-switch/tree/main Uses https://github.com/obsidianmd/obsidian-sample-plugin as template

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.