The Powder theme for WordPress offers designers and developers a versatile foundation with four colors: Base, Contrast, Primary, Neutral.
These colors, defined in theme.json, ensure balance and consistency, providing a solid foundation for building your website with a cohesive and professional design, while keeping the process simple and effortless.
Default Palette
{
"settings": {
"color": {
"palette": [
{
"color": "#ffffff",
"name": "Base",
"slug": "base"
},
{
"color": "#000000",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#400080",
"name": "Primary",
"slug": "primary"
},
{
"color": "#f5f5f5",
"name": "Neutral",
"slug": "neutral"
}
]
}
}
}
This code yields a set of preset variables for the colors:
--wp--preset--color--base: #ffffff;
--wp--preset--color--contrast: #000000;
--wp--preset--color--primary: #400080;
--wp--preset--color--neutral: #f5f5f5;