Skip to content

Commit

Permalink
Set WP_Duotone_Gutenberg CSS_VAR_PREFIX to private
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Lende <alex@lende.xyz>
  • Loading branch information
jeryj and Alex Lende authored Mar 17, 2023
1 parent 8cfa88a commit dd80152
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/class-wp-duotone-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ class WP_Duotone_Gutenberg {
*/
private static $output = array();

const CSS_VAR_PREFIX = '--wp--preset--duotone--';
/**
* Prefix used for generating and referencing duotone CSS custom properties.
*/
private const CSS_VAR_PREFIX = '--wp--preset--duotone--';

/**
* Get all possible duotone presets from global and theme styles and store as slug => [ colors array ]
Expand Down

0 comments on commit dd80152

Please sign in to comment.