Title: Presetscope
Author: Rahul Tank
Published: <strong>2026 年 10 月 1 日</strong>
Last modified: 2026 年 10 月 1 日

---

搜索插件

![](https://ps.w.org/presetscope/assets/banner-772x250.png?rev=3722946)

![](https://ps.w.org/presetscope/assets/icon-256x256.png?rev=3722946)

# Presetscope

 作者：[Rahul Tank](https://profiles.wordpress.org/rahultank/)

[下载](https://downloads.wordpress.org/plugin/presetscope.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/presetscope/#description)
 * [评价](https://cn.wordpress.org/plugins/presetscope/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/presetscope/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/presetscope/#developers)

 [支持](https://wordpress.org/support/plugin/presetscope/)

## 描述

WordPress builds the final theme.json data by merging three layers: core defaults,
the active theme (and its parent), and the changes saved in the Site Editor. When
a colour, font size or spacing value is not what you expect, it can be hard to see
which layer it came from.

Presetscope is a theme.json inspector. It adds a screen under **Tools  Presetscope**
that shows this merged data:

 * **Overview** – the active theme, its parent, whether it is a block theme, the
   theme.json version of the theme and how many presets it defines.
 * **Presets** – every colour, gradient, font size, font family, spacing size and
   shadow preset, with its CSS custom property (for example `--wp--preset--color--
   contrast`), its value, a colour sample and where it comes from (default, theme
   or custom).
 * **Settings** and **Styles** – the merged data as formatted JSON.
 * **Generated CSS** – the global stylesheet WordPress prints on the front end.

You can switch between the data with and without the Site Editor changes, to see
what the theme itself provides.

It works with block themes and classic themes.

#### Read-only

The screen only reads data through WordPress’ public functions (`wp_get_global_settings()`,`
wp_get_global_styles()` and `wp_get_global_stylesheet()`). It does not change the
theme, the Site Editor data or any option, and it stores nothing in the database.
Only users who can edit theme options (administrators by default) can see it.

Nothing is sent to any external service.

Presetscope is an independent project and is not affiliated with or endorsed by 
the WordPress project.

## 安装

 1. Upload the `presetscope` folder to `/wp-content/plugins/`, or install it from the
    Plugins screen.
 2. Activate the plugin.
 3. Go to Tools  Presetscope.

## 常见问题

### Can I edit theme.json here?

No. The screen is read-only. Use your theme files, or the Site Editor’s Styles panel,
to make changes.

### Why does the Source column say “default”?

Those presets come from WordPress core. “theme” means the active theme defines them,
and “custom” means they were added in the Site Editor.

### Does it work with classic themes?

Yes. Classic themes without a theme.json file show the core defaults that WordPress
uses for them.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Presetscope」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Rahul Tank ](https://profiles.wordpress.org/rahultank/)

[帮助将「Presetscope」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/presetscope)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/presetscope/)，查看[SVN仓库](https://plugins.svn.wordpress.org/presetscope/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/presetscope/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/presetscope/)。

## 更新日志

#### 1.0.0

 * First release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**2 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.3 或更高版本 **
 *  已测试的最高版本为 **7.1.2**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/presetscope/)
 * 标签
 * [block themes](https://cn.wordpress.org/plugins/tags/block-themes/)[css variables](https://cn.wordpress.org/plugins/tags/css-variables/)
   [developer](https://cn.wordpress.org/plugins/tags/developer/)[global styles](https://cn.wordpress.org/plugins/tags/global-styles/)
   [theme.json](https://cn.wordpress.org/plugins/tags/theme-json/)
 *  [高级视图](https://cn.wordpress.org/plugins/presetscope/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/presetscope/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/presetscope/reviews/)

## 贡献者

 *   [ Rahul Tank ](https://profiles.wordpress.org/rahultank/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/presetscope/)