You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To transition the LSX Design theme from CSS-based block styling to a more maintainable, flexible, and modern JSON-based setup using theme.json. This task includes updating various aspects of the theme to leverage WordPress' latest features, such as predefined block styles, typography sets, section styles, and accessibility enhancements.
Migrate block-specific CSS into JSON and store these in /lsx-design/styles/blocks/, reducing reliance on CSS for block styling.
Defining Block Styles via theme.json & custom block styles #189. Introduction: LSX Design doesn’t fully leverage the latest WordPress features introduced in versions 6.5 to 6.7, such as block variations, advanced template management, and typography presets.
Transitioning from CSS Block Styling to theme.json in LSX Design Theme #188. Current Setup Overview After reviewing the current approach to block styling in the LSX Design theme, it’s evident that the team has relied heavily on CSS for block-specific styles. This includes: Headings (heading.css): Font sizes, weights, and …
Sub-Tasks
Discussion 10: Implementing Section Styles
Define and implement section styles for core/group, core/columns, and other block types to improve layout modularity and flexibility.
Discussion 1: Typography Sets for LSX Design
Create new typography sets in /lsx-design/styles/typography/. Split the current typography setup into sets and introduce alternatives like Roboto Slab and Manrope.
Discussion 4: Adding Post Formats Support
Enable support for post formats in LSX Design for more flexible content representation, including formats like audio, quote, and gallery.
Accessibility Testing and ARIA Support
Expand accessibility features in theme.json by adding ARIA roles, labels, and focus styles. Use automated accessibility testing tools like Axe, Pa11y, or Lighthouse to ensure compliance with WCAG standards.
Adding Post Format Support #196 -WordPress now supports enabling post formats for block themes, offering flexibility in how different content types are styled.
Defining New Block Patterns and Categories for LSX Design theme #194
Current State LSX Design has block patterns, but they are not well-defined or categorised. Block patterns in LSX Design are not well-categorized, making it difficult for users to navigate through available patterns. WordPress 6.7 and previous ver…
Adding Post Format Support #196
Current State Post formats are currently disabled in LSX Design. WordPress now supports enabling post formats for block themes, offering flexibility in how different content types are styled. Issues No Post Formats: Post formats are not yet imple…
Complete transition of all block, typography, section, and color styles to theme.json.
Enhanced accessibility through focus states, ARIA support, and automated testing.
Fully restructured block patterns and categories for improved usability and flexibility.
Removal of redundant CSS files and full reliance on theme.json for style management.
Documentation on how to use these updates within the LSX Design theme for developers and users.
Dependencies
GitHub Discussions: Each of the sub-tasks has its own detailed discussion to guide the implementation of specific JSON updates. Ensure each task is linked appropriately.
Testing and QA: Automated tests and visual testing will be required to validate the transition from CSS to JSON.
Objective
To transition the LSX Design theme from CSS-based block styling to a more maintainable, flexible, and modern JSON-based setup using
theme.json
. This task includes updating various aspects of the theme to leverage WordPress' latest features, such as predefined block styles, typography sets, section styles, and accessibility enhancements./lsx-design/styles/blocks/
, reducing reliance on CSS for block styling.theme.json
in LSX Design Theme #188. Current Setup Overview After reviewing the current approach to block styling in the LSX Design theme, it’s evident that the team has relied heavily on CSS for block-specific styles. This includes: Headings (heading.css): Font sizes, weights, and …Sub-Tasks
Discussion 10: Implementing Section Styles
Define and implement section styles for
core/group
,core/columns
, and other block types to improve layout modularity and flexibility.Discussion 1: Typography Sets for LSX Design
Create new typography sets in
/lsx-design/styles/typography/
. Split the current typography setup into sets and introduce alternatives like Roboto Slab and Manrope.Discussion 2: Moving to WordPress Standard Spacing and Font Sizes
Transition from custom spacing and font size presets to WordPress standardized size values. Test these changes against the design system to ensure consistency.
Discussion 3: Implementing Color Palettes
Add color palettes using WordPress style variations and presets under
/lsx-design/styles/colors/
.Discussion 4: Adding Post Formats Support
Enable support for post formats in LSX Design for more flexible content representation, including formats like
audio
,quote
, andgallery
.Discussion 5: Registering Block Bindings for Copyright
Register block bindings to dynamically update the copyright footer via
theme.json
and callback functions.Discussion 6: Defining New Block Patterns and Categories
Create structured block patterns and categories in
theme.json
for better organization and usability.Accessibility Testing and ARIA Support
Expand accessibility features in
theme.json
by adding ARIA roles, labels, and focus styles. Use automated accessibility testing tools like Axe, Pa11y, or Lighthouse to ensure compliance with WCAG standards.Implementing Color Palettes in LSX Design #187 - color palettes allows for easier customization without affecting more
Exploring adding Block Variations for display WooCommerce Brands Plugin Shortcodes #186
Testing for Accessibility in LSX Design #198 - LSX Design lacks structured accessibility checks within its theme.json setup.
Adding Post Format Support #196 -WordPress now supports enabling post formats for block themes, offering flexibility in how different content types are styled.
Review the Template Parts in LSX Design #197 - Redundancy and overlap in header, footer, and other template parts, making maintenance difficult.
Defining New Block Patterns and Categories for LSX Design theme #194
Current State LSX Design has block patterns, but they are not well-defined or categorised. Block patterns in LSX Design are not well-categorized, making it difficult for users to navigate through available patterns. WordPress 6.7 and previous ver…
Adding Post Format Support #196
Current State Post formats are currently disabled in LSX Design. WordPress now supports enabling post formats for block themes, offering flexibility in how different content types are styled. Issues No Post Formats: Post formats are not yet imple…
Moving to WordPress Standard Spacing and Font Sizes #195 - adopt new WordPress standardized size values and units for fonts and spacing in recent releases.
Registering Block Bindings for Copyright #193 - Block bindings are a new feature in WordPress that allow for dynamic and flexible updates to block content.
Implementing Section Styles in LSX Design #192 - define section styles using theme.json, enabling greater flexibility and modularity for page layouts.
Implementing Color Palettes in LSX Design #187 - color palettes allows for easier customization.
Exploring adding Block Variations for display WooCommerce Brands Plugin Shortcodes #186 - The WooCommerce Brands plugin currently supports shortcode output for brand lists and thumbnails. We’re exploring the idea of creating block-based variations for a more modern WordPress editing experience.
Deliverables
theme.json
.theme.json
for style management.Dependencies
GitHub Discussions: Each of the sub-tasks has its own detailed discussion to guide the implementation of specific JSON updates. Ensure each task is linked appropriately.
Testing and QA: Automated tests and visual testing will be required to validate the transition from CSS to JSON.
Progress Tracking
The text was updated successfully, but these errors were encountered: