Linux 软件免费装
Banner图

Utility for GeneratePress

开发者 wpids
更新时间 2026年11月10日 11:15
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

dark mode generatepress fluid typography generateblocks design tokens

下载

1.1.01 1.1.0 1.0.18 1.1.02 1.1.03

详情介绍:

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: 🎨 Color Management, Color Shades & Harmony Variants Build a complete design system palette directly from your GeneratePress Global Colors: 🌈 Gradient Palette & Native theme.json Presets 📐 Fluid Typography & Responsive clamp() Wizard 🌙 Dynamic Dark Mode & HSL Contrast Engine 📦 GP Export / GP Import & GenerateBlocks Export / Import A complete backup and migration toolkit for GeneratePress and GenerateBlocks: ⚡ 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.

安装:

  1. Upload the plugin files to the /wp-content/plugins/utility-for-generatepress directory, or install the plugin through the WordPress Plugins screen directly.
  2. Activate Utility for GeneratePress through the Plugins screen in WordPress.
  3. Navigate to Appearance > Utility to toggle modules, run Customizer Sync, or use the GP / GenerateBlocks Export & Import tools.

屏幕截图:

  • 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.
  • 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.
  • Fluid Typography Panel - Automatically calculate responsive `clamp()` typography scaling on the fly.
  • 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.
  • Gutenberg Palette Integration - Custom gradient variables and Design Tokens inside block editor controls.
  • GP & GenerateBlocks Export / Import Module - Backup or migrate GP Elements, Global Styles, Design Tokens, Patterns, and settings.
  • Seamless Element Dashboard Injection - Quick export/import buttons integrated into native GP & GB admin screens.
  • Gutenberg Editor CSS Sync - Real-time WYSIWYG sync of your Customizer and Child Theme styles inside the editor canvas.
  • HSL Color Math Engine Options - Configure alpha opacity and HSL auto-derivatives.
  • Mobile Responsive Design Preview - Fluid typography scaling across desktop, tablet, and mobile viewports.

常见问题:

How does Customizer Sync and Design Token Sync work with GenerateBlocks Pro?

When GenerateBlocks Pro 2.8.0+ is active, the Customizer Sync module connects the GeneratePress Customizer with GenerateBlocks Design Tokens. Your GeneratePress Global Colors sync two-way with the GeneratePress token category, while Color Shades / Variants (--slug-10 to --slug-90, harmonies) and Fluid Typography steps (--utilfoge-step-*) sync one-way into the Variants and Fluid Typography categories. If GenerateBlocks Pro is not installed, Customizer Sync continues to work as an Editor CSS Sync tool for Gutenberg.

Does this plugin require GeneratePress Premium or GenerateBlocks Pro?

No! It only requires the free GeneratePress theme. However, it deeply integrates with GP Premium (Elements, Sticky Navigation Dark Mode Logo) and GenerateBlocks / GenerateBlocks Pro (Design Tokens, Global Styles, Local Patterns, Forms, and Asset Library migration) when they are active.

How do Color Management and Color Shades work?

Inside the Customizer, the Color Management module lets you select any GeneratePress Global Color (or import :root CSS variables) and automatically generate 9-step Color Shades and tints (10 through 90), harmony variants, and dark mode counterparts. All generated variables are immediately available in Gutenberg and synced to GenerateBlocks Design Tokens.

Can I use this for GP Export, GP Import, and GP Elements Export/Import?

Yes! The built-in Export / Import module lets you perform a selective or full GP Export and GP Import — including GeneratePress theme settings, Global Colors, Fluid Typography, and GP Elements Export/Import (gp_elements) — in a single JSON file.

Does it support GenerateBlocks Export, GenerateBlocks Import, and Global Styles?

Yes! You can export and import GenerateBlocks Global Styles, Design Tokens, Style Categories, Local Patterns, SVG Shapes & Icons, Display Conditions, Overlay Panels, Forms, and Editor Access Profiles with automatic dynamic CSS cache regeneration on import.

How does the Dynamic Dark Mode work with Global Colors and Design Tokens?

Instead of creating separate dark classes for every block, our Dark Mode engine overrides your original CSS variables (--contrast, --base, --accent, etc.) inside the .dark selector. Any GeneratePress element or GenerateBlocks block styled with Global Colors or Design Tokens automatically switches to its dark counterpart with zero extra configuration.

How does the Gradient Palette builder integrate with Gutenberg?

The Gradient Palette module provides a drag-and-drop multi-stop gradient builder in the Customizer and automatically registers your presets into WordPress's native theme.json palette (--wp--preset--gradient--*) as well as .has-{slug}-gradient-text and .has-{slug}-gradient-border utility classes.

更新日志:

1.1.03 1.1.02 1.1.01 1.1.0 1.0.18 1.0.17 1.0.0