Powder offers a beautiful palette of five colors inspired by Tailwind CSS: Base, Contrast, Primary, Secondary, and Neutral.
Base
Contrast
Primary
Secondary
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": "#4d179a",
"name": "Primary",
"slug": "primary"
},
{
"color": "#c4b4ff",
"name": "Secondary",
"slug": "secondary"
},
{
"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: #4d179a;
--wp--preset--color--secondary: #c4b4ff;
--wp--preset--color--neutral: #f5f5f5;