跳到内容

Utility for GeneratePress

v1.1.03

wpids · 2026年5月29日 上架

Enhance GeneratePress and GenerateBlocks with design tokens, customizer sync, dark mode, fluid typography, and site migration tools.

正在使用
40+
评分
暂无
累计下载
939
最近更新
2026年11月10日
需要 WordPress 6.7+已测试到 7.1.5PHP 7.4+

贡献者

截图

Utility for GeneratePress Dashboard - Toggle modules, run Customizer Sync, and manage GP & GenerateBlocks Export/Import.
Utility for GeneratePress Dashboard - Toggle modules, run Customizer Sync, and manage GP & GenerateBlocks Export/Import.
Customizer Sync & Design Tokens - Automatic synchronization of GP Global Colors, Color Variants, and Fluid Typography into GenerateBlocks Pro Design Tokens.
Customizer Sync & Design Tokens - Automatic synchronization of GP Global Colors, Color Variants, and Fluid Typography into GenerateBlocks Pro Design Tokens.
Color Management & Color Shades - Generate 10–90 tints/shades and color harmony variants in the Customizer.
Color Management & Color Shades - Generate 10–90 tints/shades and color harmony variants in the Customizer.
Dynamic Dark Mode Wizard - Real-time dark mode palette and logo configuration inside the Customizer.
Dynamic Dark Mode Wizard - Real-time dark mode palette and logo configuration inside the Customizer.
Contrast Boosting Settings - Auto-desaturate vibrant colors and boost reading legibility in Dark Mode.
Contrast Boosting Settings - Auto-desaturate vibrant colors and boost reading legibility in Dark Mode.
Fluid Typography Panel - Automatically calculate responsive clamp() typography scaling on the fly.
Fluid Typography Panel - Automatically calculate responsive clamp() typography scaling on the fly.
Fluid Viewport Configuration - Customize min/max viewports and modular scale ratios.
Fluid Viewport Configuration - Customize min/max viewports and modular scale ratios.
Advanced Drag-and-Drop Gradient Palette Builder - Craft custom linear and radial CSS gradients.
Advanced Drag-and-Drop Gradient Palette Builder - Craft custom linear and radial CSS gradients.

Utility for GeneratePress is the complete GeneratePress Utility and GenerateBlocks design system companion for WordPress developers, agencies, and site builders. It bridges the gap between the GeneratePress Customizer and GenerateBlocks Pro Design Tokens and Global Styles, while adding native Color Management, automatic Color Shades, a Gradient Palette builder, Fluid Typography, Dark Mode, and one-click GP Export / GP Import and GenerateBlocks Export / Import tools — with zero frontend bloat.

Whether you use the free GeneratePress theme, GP Premium, GenerateBlocks, or GenerateBlocks Pro, every module integrates directly into the native WordPress Customizer and Gutenberg block editor.

🔗 Customizer Sync & Design Token Sync (New!)

Keep your GeneratePress Customizer and GenerateBlocks Pro Design Tokens (2.8.0+) in sync without duplicate setup:

  • Two-Way GP Global Colors Design Tokens Sync: Saving the GeneratePress Customizer automatically creates and updates matching color Design Tokens under the GeneratePress category in GenerateBlocks Pro. Updating those token values in the GenerateBlocks Design Tokens panel syncs changes right back to your GeneratePress Global Colors.
  • Color Shades & Variants Token Sync: Automatically exposes all generated Color Shades, tints (10–90), and color harmony tokens from Color Management under the Variants category in GenerateBlocks Design Tokens.
  • Fluid Typography Token Sync: Automatically registers your --utilfoge-step-* clamp() scale as unit Design Tokens scoped to fontSize under the Fluid Typography category for one-click selection inside GenerateBlocks typography controls.
  • One-Click “Sync Now” & Safe Checksum Architecture: Trigger a manual sync anytime from Appearance > Utility. Built on GenerateBlocks Pro’s native :root checksum validation and snapshot history — user-created tokens are never overwritten or deleted.
  • Gutenberg Editor CSS Sync: Automatically enqueues your active Child Theme stylesheet and Customizer Additional CSS inside the Gutenberg block editor for a true WYSIWYG editing experience (works with or without GenerateBlocks Pro).

🎨 Color Management, Color Shades & Harmony Variants

Build a complete design system palette directly from your GeneratePress Global Colors:

  • Automatic Color Shades & Tints (10–90): Generate full 9-step lightness scales (--slug-10 through --slug-90) from any base color in your palette.
  • Mathematical Color Harmonies: Generate Complementary, Triadic, Analogous, and Split-Complementary color variables with one click.
  • Bulk CSS Variable Import: Paste any :root CSS block to parse, map, and import colors straight into GeneratePress Global Colors and Design Tokens.

🌈 Gradient Palette & Native theme.json Presets

  • Visual Drag-and-Drop Gradient Palette Builder: Create linear and radial CSS gradients using the native WordPress React ColorPicker with full alpha transparency support.
  • Native Gutenberg & theme.json Integration: Automatically injects custom gradients as native WordPress presets (--wp--preset--gradient--*) plus .has-{slug}-gradient-text and .has-{slug}-gradient-border utility classes with dark mode variant support.

📐 Fluid Typography & Responsive clamp() Wizard

  • Zero-Media-Query Fluid Typography: Automatically calculate responsive font sizes using CSS clamp() based on your base size, min/max viewport widths, and modular scale ratios (Minor Third, Major Third, Perfect Fourth, Golden Ratio, or custom).
  • Automatic Heading & Token Mapping: Maps --utilfoge-step--1 through --utilfoge-step-8 to body and h1–h6, and syncs them directly to GenerateBlocks Pro Design Tokens.

🌙 Dynamic Dark Mode & HSL Contrast Engine

  • Zero-Duplication CSS Variable Override: Overrides your existing GeneratePress Global Colors inside the .dark scope so every block using var(--contrast), var(--base), or Design Tokens adapts to Dark Mode automatically.
  • HSL Contrast Boosting & Auto-Desaturation: Automatically calculates eye-friendly dark counterparts for your entire color palette.
  • Dark Mode Logo Replacement: Dedicated Customizer controls for desktop, mobile header, and GP Premium sticky navigation dark mode logos with zero-FOUC early script execution.

📦 GP Export / GP Import & GenerateBlocks Export / Import

A complete backup and migration toolkit for GeneratePress and GenerateBlocks:

  • GP Export & GP Import: Export and import GeneratePress theme settings, Global Colors, Typography, and customizer configurations.
  • GP Elements Export/Import: Backup and migrate custom GeneratePress Elements (gp_elements — Block, Header, Hook, and Layout Elements) across sites.
  • GenerateBlocks Export & GenerateBlocks Import: Migrate Global Styles, Design Tokens (gb_style_tokens), Style Categories, Local Patterns, Asset Library SVGs & Icons, Overlay Panels, Display Conditions, Forms, and Editor Access Profiles with automatic CSS cache rebuilding.
  • GeneratePress Brand Tool theme.json Import: Import palettes and typography directly from theme.json files.

⚡ Performance-First Philosophy

Zero bloat, zero external framework dependencies. Every module is individually toggleable under Appearance > Utility, uses native WordPress React components in the admin, and outputs ultra-clean CSS variables on the frontend.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums