theme buttons

This commit is contained in:
Aadil Ayub 2024-04-25 16:17:15 +05:00
parent 56951c500b
commit c7c28b2d26

View File

@ -2,29 +2,29 @@
"settings": { "settings": {
"appearanceTools": true, "appearanceTools": true,
"color": { "color": {
"defaultPalette": false,
"defaultGradients": false,
"defaultDuotone": false, "defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
"palette": [ "palette": [
{ {
"slug": "primary",
"color": "#12326E", "color": "#12326E",
"name": "Primary" "name": "Primary",
"slug": "primary"
}, },
{ {
"slug": "secondary",
"color": "#A80000", "color": "#A80000",
"name": "Secondary" "name": "Secondary",
"slug": "secondary"
}, },
{ {
"slug": "body-text",
"color": "#333333", "color": "#333333",
"name": "Primary light" "name": "Primary light",
"slug": "body-text"
}, },
{ {
"slug": "white",
"color": "#FFF", "color": "#FFF",
"name": "White" "name": "White",
"slug": "white"
} }
] ]
}, },
@ -35,9 +35,6 @@
"typography": { "typography": {
"fontFamilies": [ "fontFamilies": [
{ {
"name": "Lato",
"slug": "lato",
"fontFamily": "Lato",
"fontFace": [ "fontFace": [
{ {
"fontFamily": "Lato", "fontFamily": "Lato",
@ -99,32 +96,23 @@
"fontWeight": "250", "fontWeight": "250",
"src": "file:./assets/fonts/Lato-Thin.ttf" "src": "file:./assets/fonts/Lato-Thin.ttf"
} }
] ],
"fontFamily": "Lato",
"name": "Lato",
"slug": "lato"
} }
] ]
} }
}, },
"styles": { "styles": {
"css": "", "blocks": {
"elements": { "core/button": {
"button": { "border": {
"typography": { "radius": "0"
"fontFamily": "var(--wp--preset--font-family--lato)"
}
}, },
"caption": { "color": {
"typography": { "background": "var(--wp--preset--color--secondary)",
"fontFamily": "var(--wp--preset--font-family--lato)" "text": "var(--wp--preset--color--white)"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--lato)"
}
},
"link": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--lato)"
} }
} }
}, },