Skapade stöd för default logo och bakgrund

This commit is contained in:
2026-04-12 14:10:50 +02:00
parent dfffc61285
commit 3088197123
4 changed files with 25 additions and 8 deletions

View File

@@ -3,7 +3,11 @@
"version": 3,
"settings": {
"appearanceTools": true,
"appearanceTools": true,
"custom": {
"defaultLogo": "assets/images/logo.png",
"transition": "all 0.3s ease"
},
"color": {
"palette": [
{ "slug": "background-primary", "name": "Background Primary", "color": "#0E0F12" },
@@ -102,19 +106,20 @@
"shadow": "0 0 12px rgba(0,0,0,0.6)"
}
]
},
"custom": {
"transition": "all 0.3s ease"
}
},
"styles": {
"css": "body { \
background-image: url('/wp-content/themes/wp-theme-crille2026/assets/images/background.webp'); \
background-size: cover; \
background-position: center; \
background-repeat: no-repeat; \
background-attachment: fixed; \
}",
"color": {
"background": "var(--wp--preset--color--background-primary)",
"background": "transparent",
"text": "var(--wp--preset--color--text-primary)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--inter)",
"fontSize": "var(--wp--preset--font-size--normal)"