Skip to content

Latest commit

 

History

History
75 lines (48 loc) · 3.21 KB

File metadata and controls

75 lines (48 loc) · 3.21 KB

Windows AutoTheme

Screenshot 1

Language: 中文 | English

Overview

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.


🛠️ Installation Methods

Recommended Installation (Microsoft Store):

Get the app

Traditional Installation:

Open our releases page and download the latest version of the installer package.

Key Features

  • 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.

Screenshots

Screenshot 2

Development and Debugging

To set up the project for development:

  1. Install Dependencies:
    npm install
  1. Debug the Application:
    npm start
  1. Build the Project:
    npm run tauri build

Additional Repositories


Contact the Author


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.