Skapade stöd för default logo och bakgrund
This commit is contained in:
21
theme.json
21
theme.json
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user