airfleet/airfleet-canvas-theme

Project releases

airfleet-canvas-theme

Release 0.8.0

Updated styling to use theme.json and WordPress tokens, added page templates and global styles, and removed obsolete code.

GitHub
View full changelog

Added

  • Added front-page and page block templates with header, post content, and footer template parts.
  • Added a brand style variation partial with an alternate palette and Plus Jakarta Sans typography setup.
  • Added light fill and outline button style variation partials with theme.json hover states.
  • Added expanded theme presets for border radii, aspect ratios, shadows, semantic spacing sizes, fluid spacing sizes, and transition custom tokens.
  • Added global theme styles for core button, code, navigation, preformatted, pullquote, separator, and table blocks.
  • Added link default, hover, and visited styles in theme.json.
  • Added .cursor/plans to ignored local tooling files.

Changed

  • Updated the theme color palette and gradient definitions to the latest brand token slugs and values.
  • Updated font size, heading, paragraph, button, spacing, block gap, and root padding styles in theme.json.
  • Moved button fill and outline defaults into theme.json core button variations, including shared transitions via theme custom tokens.
  • Renamed button style variations from dark/light primary/secondary/link variants to fill, outline, and link-oriented variations.
  • Updated the button block SCSS to only cover styles that theme.json cannot express, including icon-only button support.
  • Updated transition mixins to use WordPress-emitted --wp--custom--transition--* tokens instead of local --afs-trs-* variables.
  • Updated block style documentation to reflect theme.json-first style variations and the current token names.
  • Updated the editor entry bundle to remove the example style registration side-effect import.
  • Updated the index template markup to the current block editor query template structure.

Removed

  • Removed JavaScript-based example block style registration and the unused heading/paragraph example stylesheets.
  • Removed heading and paragraph style variation JSON partials now handled by global theme typography styles.
  • Removed obsolete primary and secondary button style variation partials.
airfleet-canvas-theme

Release 0.7.0

Adds new button styles, a purple primary color, and SCSS design tokens while removing secondary color support and example files.

GitHub
View full changelog

Added

  • Six button block style variations with button- slug prefix to avoid is-style-{slug} collisions across block types: button-primary-dark/-light, button-secondary-dark/-light, button-link-dark/-light
  • Shared button geometry on styles.elements.button so variations inherit common chrome
  • Color palette and gradients aligned with the Figma style guide
  • Overused Grotesk and Area Variable font family registrations (Inter fallback; font files pending license)
  • SCSS design tokens at src/scss/base/_root.scss (--afs-trs-sm, --afs-trs-timing-function)
  • SCSS mixins: hover, hover-capable, transition
  • Per-block stylesheet src/scss/blocks/core-button.scss for variation hover states

Changed

  • --wp--preset--color--primary now resolves to the new brand purple
  • Lint: at-rule-empty-line-before granted the same first-nested exception as rule-empty-line-before
  • Block style variations grouped into per-block subfolders: styles/buttons/, styles/headings/, styles/paragraphs/ (WP scans /styles recursively, so registration is unchanged)

Removed

  • --wp--preset--color--secondary and the secondary / subtle gradient slugs (no analog in the new palette)
  • styles/example.json and styles/example-button-large.json placeholder examples (the authored variations are the reference now)
airfleet-canvas-theme

Release 0.6.0

Added native Gutenberg block example style for the large button.

GitHub
View full changelog

Added

  • Added native Gutenberg block example style for the large button
airfleet-canvas-theme

Release 0.5.0

Added example styles and documentation for block styles, and removed an unused SCSS file.

GitHub
View full changelog

Added

  • Added core block heading and core block paragraph example styles so developers can use them as examples.
  • Added two example approaches. Using JS approach src/js/editor-extensions/style-variations.js and using theme.json approach styles/example.json.
  • Added doc docs/blocks/block-styles.md that explains two approaches developers can use to add block styles.

Removed

  • Removed src/scss/blocks/core-buttons.scss as it is no longer used as an example.
airfleet-canvas-theme

Release 0.4.1

Excludes the src folder from the release package

GitHub
View full changelog

Fixed

  • Exclude src folder from release package
airfleet-canvas-theme

Release 0.4.0

Updates include bumping a dependency, modifying release workflows, and excluding development files.

GitHub
View full changelog

Changed

  • Internal: Bump npm dependency @airfleet/wordpress-dev to ^4.10.2
  • Internal: Update release workflows to use new afwp release command
  • Internal: Release now excludes dotfiles/dotfolders plus docs, tests, thoughts, markdown, and common development-only manifest/config files
airfleet-canvas-theme

Release 0.3.1

Added a file_exists guard for blocks-manifest.php to prevent a notice when no custom blocks exist.

GitHub
View full changelog

Fixed

  • Block registration: add file_exists guard for blocks-manifest.php to prevent WP_Block_Metadata_Registry::register_collection notice when no custom blocks exist
airfleet-canvas-theme

Release 0.3.0

Updated test workflows, browserslist configurations, fixed formatting errors, and bumped the WordPress dev dependency.

GitHub
View full changelog

Changed

  • Updated test-wordpress.yml to run test command in PHP matrix
  • Updated browserslist to use @airfleet/browserslist-config shared configuration
  • Updated browserslist to exclude UC Browser for Android
  • Fixed dprint fmt error when no files to format in lint-staged
  • Bump npm dependency @airfleet/wordpress-dev to ^4.9.0
airfleet-canvas-theme

Release 0.2.0

Adds block style enqueue automation and extensive theme.json configuration for design tokens, along with padding adjustments.

GitHub
View full changelog

Changed

  • parts/header.html: padding 30px→32px, spacer 50px→48px
  • parts/footer.html: bottom padding 30px→32px

Added

  • Block style enqueue automation (BlockStyles.php): wp_enqueue_block_style() for WordPress core block SCSS overrides; webpack compiles src/scss/blocks/core-{name}.scss to build/css/blocks/core-{name}.css and emits block-styles-manifest.php (manifest is a tracked webpack asset, managed across clean/watch/dev-server builds); PHP reads the manifest and enqueues each for block core/{name}; styles load on-demand when the block is rendered (frontend and editor)
  • theme.json: color palette (base, contrast, primary, secondary), gradients (primary, secondary, subtle)
  • theme.json: spacing presets (8px rhythm: 8–96px) + fluid presets (fluid-sm through fluid-3xl)
  • theme.json: typography scale (H1–H6, paragraph, lead, small) with fluid sizes for headings
  • theme.json: border radius presets (small, medium, large, full)
  • theme.json: shadow presets (subtle, medium, strong)
  • theme.json: aspect ratio presets (1:1, 4:3, 16:9, 3:2, 2:1, 21:9, 9:16, 3:4)
  • theme.json: root styles (colors, typography, responsive padding), element styles (heading hierarchy h1–h6)
  • theme.json: layout contentSize 1080px, wideSize 1280px
  • Asset enqueue setup (Enqueue.php) for main and editor entry points
airfleet-canvas-theme

Release 0.1.1

Fixed the upload of the theme zip to GitHub Releases.

GitHub
View full changelog

Fixed

  • Release: Fixed theme zip not being uploaded to GitHub Releases