cgt-wp-theme/theme.json
2026-11-12 21:27:56 +01:00

159 lines
3.5 KiB
JSON

{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 3,
"settings": {
"appearanceTools": false,
"color": {
"custom": false,
"customGradient": false,
"defaultPalette": false,
"defaultGradients": false,
"palette": [
{
"name": "Rouge CGT",
"slug": "cgt-red",
"color": "#d20012"
},
{
"name": "Rouge CGT Foncé",
"slug": "cgt-red-dark",
"color": "#a8000e"
},
{
"name": "Fond Principal",
"slug": "bg-main",
"color": "#ffffff"
},
{
"name": "Fond Doux",
"slug": "bg-soft",
"color": "#f1f3f5"
},
{
"name": "Sombre Topbar & Footer",
"slug": "bg-topbar",
"color": "#1c1e21"
},
{
"name": "Texte Principal",
"slug": "text-main",
"color": "#1a1a1a"
},
{
"name": "Texte Secondaire",
"slug": "text-muted",
"color": "#4a5568"
},
{
"name": "Bordure Carte",
"slug": "border-card",
"color": "#cbd5e1"
}
]
},
"typography": {
"customFontSize": true,
"defaultFontSizes": false,
"fontFamilies": [
{
"name": "Système Moderne",
"slug": "system-sans",
"fontFamily": "system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif"
}
],
"fontSizes": [
{
"name": "Petit",
"slug": "small",
"size": "0.875rem"
},
{
"name": "Normal",
"slug": "medium",
"size": "1rem"
},
{
"name": "Grand",
"slug": "large",
"size": "1.25rem"
},
{
"name": "Très grand",
"slug": "xlarge",
"size": "1.75rem"
},
{
"name": "Titre Principal",
"slug": "xxlarge",
"size": "2.5rem"
}
]
},
"border": {
"radiusSizes": [
{
"name": "Bouton",
"slug": "button",
"size": "8px"
},
{
"name": "Carte",
"slug": "card",
"size": "12px"
},
{
"name": "Encart",
"slug": "panel",
"size": "14px"
},
{
"name": "Pilule",
"slug": "pill",
"size": "999px"
}
]
},
"layout": {
"contentSize": "820px",
"wideSize": "1160px"
}
},
"styles": {
"color": {
"background": "var(--wp--preset--color--bg-main)",
"text": "var(--wp--preset--color--text-main)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--system-sans)",
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.65"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--cgt-red)"
},
":hover": {
"color": {
"text": "var(--wp--preset--color--cgt-red-dark)"
}
}
},
"button": {
"color": {
"background": "var(--wp--preset--color--cgt-red)",
"text": "#ffffff"
},
"border": {
"radius": "8px"
},
":hover": {
"color": {
"background": "var(--wp--preset--color--cgt-red-dark)"
}
}
}
}
}
}