Windows AutoTheme is a lightweight utility that automatically switches your Windows theme based on the time of day. In accordance with Windows’ official guidelines, “light mode” features a predominantly light (often white) background with dark text for optimal clarity, while “dark mode” uses a dark background paired with light text to reduce eye strain in low-light conditions. With Windows AutoTheme, your system uses light mode during the day and seamlessly transitions to dark mode at night. The backend is built in Rust for efficient system operations, and the frontend is developed using TypeScript and Ant Design 5 to deliver a modern, visually appealing interface. Additionally, the tool utilizes a built-in free API to fetch sunrise and sunset data, enabling intelligent and automated theme switching.
Open our releases page and download the latest version of the installer package.
- Automatic Theme Switching: Dynamically toggles between light and dark modes—light mode for daytime and dark mode for nighttime—based on official Windows theme definitions.
- Efficient and Lightweight: Utilizes Rust for high-performance system calls, ensuring stable and responsive operation.
- Modern User Interface: The frontend is built with TypeScript and a customized Ant Design 5 interface, offering a clean, modern, and attractive design.
- Free Astronomical Data Integration: Integrates a free API to retrieve real-time sunrise and sunset times, guiding the automatic theme transitions.
To set up the project for development:
- Install Dependencies:
npm install
- Debug the Application:
npm start
- Build the Project:
npm run tauri build
- Gitee (Recommended for China users): https://gitee.com/ilinxuan/windows_-auto-theme
- GitHub: https://github.com/tuyangJs/Windows_AutoTheme
- QQ Group: 703623743
- Email: ihanlong@qq.com
This translation not only conveys the technical details and features of Windows AutoTheme but also aligns with the official Windows descriptions of light and dark themes.

