Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions src/utils/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { applyFilters } from '@wordpress/hooks';

// Global Block Prefix.
export const PREFIX = 'wdsblocks';

// Container Class (.container, .row, etc).
export const CONTAINER_CLASS = applyFilters(
`${ PREFIX }.container_class`,
`container`
);

// Theme Background Palette.
export const THEME_BKG_PALETTE = applyFilters(
`${ PREFIX }.theme_bkg_palette`,
[
{
name: 'Lavender',
slug: 'lavender',
color: '#E6E6FA',
},
{
name: 'Blue',
slug: 'blue',
color: '#6c97e0',
},
{
name: 'White',
slug: 'white',
color: '#ffffff',
},
]
);