| 开发者 | codeslash |
|---|---|
| 更新时间 | 2026年7月2日 00:12 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
.is-* state classes under "SLASHED State". The list is read from the CSS bundle you actually loaded, so it always matches.block__element / block--modifier names across the whole subtree in one pass. It supports add, rename, replace, add-modifier, and migrate-ID-styles modes, auto-numbers colliding siblings, and won't shadow reserved SLASHED classes. It never deletes a global class.data-theme="dark" forces dark for an element and its descendants.data-theme="light" carves a light section out of a dark page.!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.
slashed folder to /wp-content/plugins/.No. The framework CSS loads on any WordPress site, theme, or builder. The integrations are optional toggles.
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.
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.
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.
No. Dark mode, fluid scales, and color derivation all run in CSS. JavaScript loads only in the WordPress admin and the builders.
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.
Chrome 125+, Safari 18.0+, Firefox 129+.
admin-app/src/) with framework PRs #460/#461 — saved themes, motion panel overhaul, base color palette and live semantic preview — which had silently failed to land.release.yml now commits the configurator sync (admin-app/src/, .vendored-manifest.json, framework-css/, assets/admin-app/) back to the default branch instead of discarding it after each release build..syncignore entries for files no longer divergent from upstream SLASHED#443.require_once-ing the deleted class-token-sanitizer.php and class-tab-registry.php (fatal error on standalone activation)cubic-bezier(), linear(), steps()) and scroll-timeline range (entry 0%, cover 30%) values in Slashed_CSS_Generator::validate_override_value() so motion-panel overrides are no longer silently droppedSlashed_CSS_Generator::has_overrides() with the emitter by validating values, so a stored invalid value no longer reports overrides while emitting no CSSaria-labels to the modular-scale ratio preset select and custom ratio input in ClampField.svelte