Linux 软件免费装
Banner图

SLASHED

开发者 codeslash
更新时间 2026年7月2日 00:12
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

css gutenberg dark-mode bricks design-tokens

下载

0.4.20

详情介绍:

SLASHED loads a complete CSS framework on any WordPress site — no build step, no Node, no JavaScript on the frontend. You restyle the whole site by setting a handful of design tokens; the framework derives every color, dark-mode value, and fluid type and spacing scale from them in plain CSS. The plugin enqueues the framework and wires it into the editors you use, so you pick tokens and classes from a list instead of typing them by hand. Bricks Builder gets the full toolset; Gutenberg gets presets and a token panel. Design Settings A visual editor for every token — brand and status colors, typography, spacing, borders, shadows, fluid scales, z-index — built into WordPress at SLASHED → Design Settings, with a live light/dark preview. You only ever set validated token values; there is no raw-CSS field. Set six brand colors (primary, secondary, tertiary, action, neutral, base) and five status colors (success, warning, error, info, danger), each with an optional separate dark value, and the framework recolors itself. Hover and active states, tints, shades, and tonal steps are all computed for you. The same editor runs as a standalone web app at https://slashed.codeslash.dev/configurator for designing without logging in. "Open in configurator" launches it preloaded with your current tokens; "Import shared config" pulls a shared design back in from a code or link. Bricks Builder Enable the Bricks integration and the framework shows up natively in the builder: Gutenberg Enable the Gutenberg integration and you get: reBEMer and class autocomplete are Bricks-only. Dark mode, no JavaScript Dark mode runs entirely in CSS: A single dark section inside a light page — or the reverse — works with no script. CSS bundles Pick the bundle that fits the project on the settings page: All bundles ship with the plugin and load locally from the plugin's own folder — no external requests are made to render your site. New framework CSS arrives through normal plugin updates. Predictable overrides SLASHED puts every rule in a named CSS cascade layer with a fixed order, so a later layer always wins regardless of selector specificity. Your token overrides land in the top layer, so they beat framework defaults without !important or specificity hacks. Browser support SLASHED targets Chrome 125+, Safari 18.0+, and Firefox 129+. It uses light-dark(), relative-color oklch(), @property, and scroll-driven animations with no fallback. Older browsers are not supported. Open source The framework is developed at https://github.com/codeslash-dev/SLASHED.

安装:

  1. Install the plugin ZIP from Plugins → Add New → Upload Plugin, or upload the slashed folder to /wp-content/plugins/.
  2. Activate it.
  3. Open SLASHED in the admin menu and pick a CSS bundle — Optimal suits most sites.
  4. Enable the integrations you use (Bricks, Gutenberg, or both).
  5. Set your brand colors and other tokens under SLASHED → Design Settings.

常见问题:

Do I need Bricks or Gutenberg?

No. The framework CSS loads on any WordPress site, theme, or builder. The integrations are optional toggles.

How do I rebrand the framework?

Set the six brand colors (and optional dark values) under SLASHED → Design Settings, or in the standalone configurator. Everything else — hover and active states, tints, shades, tonal steps — derives from them automatically. Overrides land in the top cascade layer, so they win without specificity hacks.

What is reBEMer?

A BEM class manager in the Bricks structure panel. Select an element, name the block, and it generates block__element / block--modifier names across the whole subtree in one pass. It supports add, rename, replace, add-modifier, and migrate-ID-styles modes, and never deletes a global class. Bricks only.

How complete is the Gutenberg integration?

It loads the CSS, registers color, gradient, font-size, and spacing presets, bridges dark mode, and provides a token panel for applying colors and gradients, toggling classes, and copying variables. reBEMer and class autocomplete are Bricks-only.

Does it add any frontend JavaScript?

No. Dark mode, fluid scales, and color derivation all run in CSS. JavaScript loads only in the WordPress admin and the builders.

Where does the framework CSS come from?

It ships inside the plugin and is served locally from the plugin's own folder. The plugin makes no external requests to render your site, and new framework CSS arrives through normal plugin updates from WordPress.org.

What's the minimum browser?

Chrome 125+, Safari 18.0+, Firefox 129+.

更新日志:

0.4.20 0.4.19 0.4.18 0.4.17 0.4.16 0.4.15 0.4.14 0.4.13 0.4.12 0.4.11 0.4.10 0.4.9 0.4.8 0.4.7 0.4.6 0.4.5 0.4.4 0.4.3 0.4.2 0.4.1 0.4.0 0.3.15 0.3.14 0.3.8 0.3.7 0.3.6 0.3.5 0.3.0