Auto Theme for Unity Editor View on Asset Store (opens in new tab)

Package details

Latest version
1.0.1
Last updated
First released
Unity version
6000.0.52 or later
Package size
107 KB
Files
6
Favorites
1
Views in the past week
4

Price tracking

Last checked
Tracked since
Lowest recorded
$7.50 on

Keywords

Auto Theme for Unity Editor

by Arawn (opens in new tab)

No ratings yet

Auto Theme switches the Unity Editor Light/Dark by schedule or matching the OS. One‑click toolbar toggle, Force Light/Dark overrides, and per‑user preferences.

Price $15.00

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Auto Theme for Unity Editor, 6 months Current $15.00; lowest $15.00; highest $15.00 in this period. $0 $10 $20 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 2

Auto Theme for Unity Editor screenshot 1

Auto Theme for Unity Editor screenshot 1

About this asset

🌞 Auto-Theme for Unity – Let Your Editor Follow the Sun! 🌙

You've probably experienced it:

Your desktop switches to light mode during the day for better visibility as sunlight floods your room. Most apps follow suit—automatically adjusting to match your system theme.

But not all do…

Unity doesn’t.

Auto-Theme is your solution!

Automatically switch between light and dark modes in the Unity Editor based on the time of day. Set your preferred times, and let Auto-Theme handle the rest—so you can focus on creating, not tweaking settings.

Make the Unity Editor match your day. Auto Theme switches Light/Dark by schedule, matching your OS, or manual overrides—with a one‑click toolbar toggle.

🔧 Key Features

  • ⚡ Force Light / Force Dark — instant override
  • 🕒 4 Modes Schedule — set Dark/Light start times (HH:mm), midnight wrap supported
  • 🖥️ Match System — follow Windows/macOS/GNOME/KDE system theme
  • 🧭 Toolbar Button — top‑right flat icon, cycles modes with a click
  • 👤 Per‑User Settings — saved in EditorPrefs; no project assets modified
  • 🚀 Immediate Apply — changes apply instantly; background check every ~30s
  • 🎛️ Clean UI — Preferences page under Edit → Preferences → Arawn → Auto Theme

Why It Helps

  • Comfort: automatic Light/Dark reduces eye strain across long sessions.
  • Consistency: Match System keeps Unity aligned with your desktop.
  • Speed: toggle on the toolbar—no window diving.

What’s Included

  • AutoTheme.cs (Editor‑only): runtime logic + Preferences UI + toolbar integration.

How It Works

  • Determines desired skin from Mode.
  • Writes UserSkin (0 Light / 1 Dark) and calls InternalEditorUtility.SwitchSkinAndRepaintAllViews().
  • Polls about every 30 seconds; Preferences/toolbar changes apply immediately.

OS Theme Detection

  • Windows: AppsUseLightTheme (HKCU\…\Personalize).
  • macOS: defaults read -g AppleInterfaceStyle.
  • Linux (GNOME/KDE): gsettings color-scheme / gtk-theme, KDE kdeglobals.
  • If undetectable, falls back to Schedule.

Compatibility & Requirements

  • Editor‑only. No runtime impact on builds.
  • Platforms: Windows, macOS (untested), Linux (supports GNOME/KDE for OS matching, tested on Zorin OS and CachyOS with GNOME DE).

Installation

  1. Install through Unity Package Manager
  2. Open Edit → Preferences → Arawn → Auto Theme, choose Mode Or change via toolbar (Sun/Moon/Gear Icon in the upper right corner)
  3. (Schedule) Enter times in HH:mm (24‑hour).

From the publisher's Asset Store listing.

Technical details

  • Editor-Only Solution
  • Lightweight; a single timer check ~every 30s.
  • On macOS/Linux, tiny helper processes (defaults, gsettings) may spawn with a short timeout (~700 ms).
  • Technical Details:
    • Uses Unity internal editor skin APIs (no public API exists).
    • If another tool also sets UserSkin, last writer wins.
    • Some Linux DEs beyond GNOME/KDE may require a custom probe.
    • OS change detection is polled; event‑driven hooks can be added later if desired.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
6000.3.0b2 Compatible Compatible Compatible Compatible
6000.0.52f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.