lightspeedwp / tour-operator

The LSX Tour Operators Plugin provides 3 post types (Accommodations, Destinations and Tours) that are the core of any Tour Operator. Use them to build day-by-day itineraries for tours.
https://lsx.design/products/tour-operator/
GNU General Public License v3.0
10 stars 0 forks source link

Dashicons - Custom Icons for Custom Blocks #409

Open ZaredRogers opened 5 days ago

ZaredRogers commented 5 days ago

Description:

We need to identify and select appropriate dashicons for use throughout the plugin. If any required icons are missing, alternative icons should be found that maintain the same aesthetic as the standard dashicons to ensure consistency. Each icon should be labelled with its intended usage. If an icon is needed that is not a dashicon, we will need to add them via svg.

Requirements:

Icon Implementation:

javascript
   wp.blocks.updateCategory( 'plugin-category', {
       icon: 'dashicon-slug'
   } );
javascript
Copy code
wp.blocks.updateCategory( 'plugin-category', {
    icon: wp.element.createElement( 'svg', {/* SVG code here */} )
} );

Acceptance Criteria:

Additional Notes:

Resources: