Changelog

1.2.1

  • Dynamic link values, such as #ska-link--front-page can now be used as blocks’ custom attribute values.

1.2

  • Use Tailwind 4.
  • Use LightningCSS instead of PostCSS.
  • Presets and variations now use plugin options rather than custom post types.
  • Added support for inset-ring, inset-shadow, font-stretch.
  • Added support for rotate/scale/translate in 3D space.
  • Added support for perspective, perspective origin, backface visibility, transition behavior.
  • Added support for transition behavior.
  • Added support for container queries.
  • Added missing support for margin/padding/inset/etc inline-start/end.
  • Added experimental support for linear/conic/radial gradients.
  • Functionality moved to theme: formats, template select, toolbar, device preview, grouping with element block.
  • Move important modifier ! to the end, not the beginning.
  • Gallery block images now have a simpler image class alongside the wp-block-ska-gallery__image class.
  • Experimental: use native CSS nesting for sandboxing blocks’ CSS, with a toggle in Advanced Inspector Controls.
  • Primary/secondary/plain colors light and dark variants now use values derived with color-mix by default.
  • Menu block now supports anchor, custom class name and attributes.
  • Menu block can now render WC Layered Nav widget and active filters.
  • Classes can be now moved to the parent block directly, without specifying a selector.
  • Image block now has role options.
  • Added Query filters for WC product categories, Sample blog posts and Sample testimonials.
  • Slider block with “Controls outside” option now renders wrapper in the block editor not just front end.
  • Added utility function ska_blocks_preset($slug) which loads preset’s CSS and returns its’ class name.

1.1.4

  • Permissions and capabilities management.
  • Condition block now uses a whitelist for callable PHP functions.
  • Fix variations not persisting for server-side registered blocks.

1.1.3

  • Increase editor: variant specificity.
  • Added “Cover” option for Image block which effectively applies w-full h-full object-cover rounded-[inherit] aspect-[inherit] to a wrapped image.
  • Menu block can now render Taxonomies.
  • Menu block can now render as an Accordion.
  • Gallery block with lazyloading enabled can specify how many images from the start to load eagerly.
  • Language switcher block uses available languages in the editor.
  • Transforming Post title block to Post data block now retains the HTML heading tag.
  • Updated device preview button styles to be more subtle and have a larger hitbox.
  • Added “Cut selector” menu item for selectors.
  • Added editor-selected variant which should be used in combination with editor variant, e.g. hidden editor:editor-selected:block.
  • Try default grid place-items-center size-6 for Icon block instead of w-6 h-auto.
  • Fix updating Font size arbitrary value when no line height is selected.
  • Added a select for selecting a page template quickly.
  • Automatically order screen variants from smallest to largest when adding them.

1.1.2

  • Lightbox block now works with core Gallery and Image blocks.
  • Added option to lazyload images in Gallery block.
  • Updated available Google fonts.
  • Fixed bug with wrong class names generated for variables in nested selectors.
  • Code block now supports displaying a header, language label and copy button.
  • Compatible core blocks now retain Tailwind attributes when transforming from one block to another.
  • Added ability to wrap blocks in a Lightbox block by using a transform.
  • Adding a selector now navigates to it automatically.
  • Render custom class names in block label for Element and Text blocks.
  • Transforming Heading block to Text block now retains the tag name.
  • Added option to disable block appender for Element, Conditions, Condition, Slider, Slide and Lightbox blocks.
  • Fix Post data block not rendering in template editor.
  • Make front page active in the menu block in the editor.
  • Featured image block can now optionally override image ID from post meta.
  • Deprecated QueryOverrides in favor of QueryFilters.
  • Added style caching.
  • Remove ska-blocks related attributes from WC blocks HTML markup.
  • Added “Placeholder” setting to “ska/text” block.
  • Added generic block setting to not render the block on the front end.
  • Added generic block setting to hide the block in the editor when it’s not selected.

1.1.1

  • Defer Google fonts by default with an option to not defer.
  • Added option to swap Google Fonts URLs with Bunny Fonts.
  • Fix warning when displaying an image with a lightbox when the media file has been deleted.

1.1.0

  • Public release.

1.2.1

  • Added “Archive title” option for Post data block – can render blog, archive or search title.
  • Button presets now use CSS variables for simpler customization and inheritance.
  • Added “No results” template part, used in query loops.
  • Default “Wide size” setting is now 64rem down from 90rem, as alignwide is generally meant to be used in Prose which is about 46rem wide by default.

1.2

  • Update for Tailwind 4.
  • Remove heading text color.
  • Link styles moved from theme.json to style.css with lower specificity.
  • Custom CSS from theme options is now loaded last in the <head>.
  • Added “Global CSS variables” preset, Container preset now uses --gutter variable from “Global CSS variables” preset for inline padding.
  • WC notice styles moved to “Store notices” preset, legacy message styles gated behind “Legacy notice styles” theme option.
  • Added WC order preset.
  • Added WC shop table preset.
  • Added icons to My account page menu.
  • Added flags to WC country selects.
  • Base font size and line height options now accept strings rather than numbers, this allows setting a fluid font size such as clamp(14px, 2vw, 18px).
  • Content size and Wide size options now accept strings rather than numbers and use rem instead of px by default.
  • Paragraph default spacing specificity reduced.
  • Button preset is now inline-flex rather than inline-block.
  • Button and Icon button variations no longer include Outline button preset by default.
  • Edit site admin bar menu item now also links to WC settings when WC is active, provided that the “Tools -> Edit site” theme option is enabled.
  • Contact Form 7 wpautop is disabled by default, CF7 forms are now display: grid by default.
  • Added placeholder for Contact Form 7 for when the plugin is not installed, but its’ block is used.
  • Query block now has Sample blog posts and Sample testimonials patterns.
  • Added polyfill for requestIdleCallback.

1.1.3

  • Updated Accordion module to be smooth. Breaking change: accordion content element ([x-bind="content"]) can no longer have padding, wrap the contents in an element that has padding instead.
  • Added Toasts.
  • Updated Consent dialog to use Accept/Reject buttons by default with WP Consent API and Google Site Kit integration.
  • Added “Products per page” select for WooCommerce archives.
  • Use Loading preset with jQuery block UI.
  • Use correct font in TinyMCE, load theme.json styles.
  • Added options to modify Up-sells, Related products and Cross-sells amount.
  • Variation swatches now render placeholders.

1.1.2

  • Added option to always include “Shop” page in WooCommerce breadcrumbs.
  • Added option to disable comments.
  • Improve core/gallery styles.
  • Update mobile menu and search overlay accessibility.
  • Fix bug where WC “Order received” page hijacks menu item title value.
  • Prose headings now use Heading text color from Tailwind configuration Site palette by default.
  • Added preset for password form on password protected pages.
  • Automatically load child theme style.css from parent.
  • Fix Slider block .use-default-nav class not working when using “Controls outside” option.
  • Lower fetch priority of WC product hover images.
  • Fixed opening hover dropdown on mobile requiring 2 touches.
  • Added “Dialog” preset.
  • Added ska/language-switcher and ska/cart blocks.
  • Deprecated ska-langs shortcode in favor of ska/language-switcher block, removed “Language switcher” template part.
  • Removed “Primary button” variation, “Button” variation now has “Button”, “Primary button” and “Outline button” presets applied by default.
  • Added “Icon button” variation.
  • “Button” preset now has “not-prose” class applied by default to render correctly in prose.
  • Added “Search” module, updated “Search dialog” template to include autocomplete.

1.1.1

  • Update templates, template parts and presets.
  • Apply do_blocks and do_shortcode to WC additional product tabs content via ska_theme_wc_tab_content filter.
  • Fix potential PHP warning when applying dropdown preset to menu.
  • Removed scroll position tracking by default and added theme option “Track scroll position” to enable it.
  • Added “Body” preset to provide a permanent vertical scrollbar for the body element to prevent layout shift when moving between pages with various amounts of content.
  • Moved motion-safe:[html:has(&)]:scroll-smooth class from “Layout” to “Body” preset as it makes more sense there.
  • Apply “Loop product” preset to product categories as well.
  • Remove “Blank” template as it’s very simple to just create from scratch when actually needed.

1.1.0

  • Public release.