woocommerce/plugins/woocommerce-admin/postcss.config.js

26 lines
577 B
JavaScript

module.exports = {
plugins: [
require( '@wordpress/postcss-themes' )( {
// @todo A default is required for now. Fix postcss-themes to allow no default
defaults: {
primary: '#0085ba',
secondary: '#11a0d2',
toggle: '#11a0d2',
button: '#0085ba',
outlines: '#007cba',
},
themes: {
'woocommerce-page': {
primary: '#7f54b3',
secondary: '#3858e9',
toggle: '#674399',
button: '#3858e9',
outlines: '#c9356e',
},
},
} ),
require( 'autoprefixer' )( { grid: true } ),
require( 'postcss-color-function' ),
],
};