> For the complete documentation index, see [llms.txt](https://ujhhgtgteams.gitbook.io/wekit-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ujhhgtgteams.gitbook.io/wekit-docs/jie-mian-mei-hua/monet-engine.md).

# 莫奈引擎

> 为微信的部分组件启用动态壁纸取色 \[需 SDK >= 31]

## 类别

界面美化

## 类型

可开关 & 可点击

## 描述

利用 Android 12+ (API 31) 的 Material You 动态取色系统, 让微信的部分界面元素跟随系统壁纸颜色自动换色。受影响的组件包括:

* **开关按钮** (MMSwitchBtn) —— 启用状态颜色跟随系统主色
* **文本框光标与选择手柄** —— 应用系统主色
* **按钮背景** —— 应用系统辅助色
* **背景颜色** —— 默认灰色背景替换为系统主色
* **Paint 颜色绘制** —— 匹配系统主色

如果动态壁纸取色没有生效, 说明系统 Android 版本过低 (SDK < 31)。

## 使用方法

在模块设置中启用


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ujhhgtgteams.gitbook.io/wekit-docs/jie-mian-mei-hua/monet-engine.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
