Compare commits

...

2 Commits

Author SHA1 Message Date
ed50a5a34b define more block styles 2025-04-02 16:58:02 +05:00
903e2c150a adjust gradient 2025-04-02 16:57:49 +05:00
2 changed files with 68 additions and 10 deletions

View File

@ -4,15 +4,13 @@ html {
body { body {
background: radial-gradient( background: radial-gradient(
50% 50% /* The size of the gradient: 50% wide, 50% tall */ circle at right 15%, /* Position circle at right edge, 65% down */
at 50% 65%, /* Position of the center point: centered horizontally and 65% down */ rgba(142, 154, 236, 0.4) 0%, /* Starting color at center */
rgba(142, 154, 236, 0.4) 0%, /* Starting color: blue-purple at 40% opacity, begins at center */ rgba(142, 154, 236, 0) 25% /* Ending color at 50% distance */
rgba(142, 154, 236, 0) 100% /* Ending color: same blue-purple but fully transparent, ends at edge */
), ),
radial-gradient( radial-gradient(
50% 50% /* The size of the gradient: 50% wide, 50% tall */ circle at left 85%, /* Position circle at left edge, 85% down */
at 50% 85%, /* Position of the center point: centered horizontally and 85% down */ rgba(142, 154, 236, 0.4) 0%, /* Starting color at center */
rgba(142, 154, 236, 0.4) 0%, /* Starting color: blue-purple at 40% opacity, begins at center */ rgba(142, 154, 236, 0) 25% /* Ending color at 50% distance */
rgba(142, 154, 236, 0) 100% /* Ending color: same blue-purple but fully transparent, ends at edge */
); );
} }

View File

@ -2,6 +2,7 @@
"version": 3, "version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json", "$schema": "https://schemas.wp.org/trunk/theme.json",
"settings": { "settings": {
"useRootPaddingAwareAlignments": true,
"appearanceTools": true, "appearanceTools": true,
"color": { "color": {
"defaultDuotone": false, "defaultDuotone": false,
@ -202,7 +203,7 @@
"fluid": false, "fluid": false,
"name": "medium", "name": "medium",
"size": "16px", "size": "16px",
"slug": "small" "slug": "medium"
}, },
{ {
"fluid": false, "fluid": false,
@ -219,13 +220,72 @@
} }
}, },
"styles": { "styles": {
"spacing": {
"padding": {
"top": "0",
"bottom": "0",
"left": "0",
"right": "0"
}
},
"color": { "color": {
"background": "var(--wp--preset--color--background)", "background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)" "text": "var(--wp--preset--color--foreground)"
}, },
"typography": { "typography": {
"fontFamily": "var(--wp--preset--font-family--sora)", "fontFamily": "var(--wp--preset--font-family--sora)",
"fontSize": "var(--wp--preset--font-size--medium)" "fontWeight": "300",
"fontSize": "var(--wp--preset--font-size--standard)"
},
"blocks": {
"core/image": {
"border": {
"color": "#FFF",
"width": "1px",
"style": "solid",
"radius": "12px"
}
},
"core/heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--eb-garamond)",
"fontSize": "var(--wp--preset--font-size--x-large)",
"fontWeight": "700",
"lineHeight": "1.0"
}
},
"core/paragraph": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--sora)",
"fontWeight": "300",
"fontSize": "var(--wp--preset--font-size--standard)"
}
},
"core/button": {
"color": {
"background": "transparent",
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textTransform": "uppercase",
"fontFamily": "var(--wp--preset--font-family--jura)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "700"
},
"border": {
"width": "1px",
"style": "solid",
"radius": "0.85em"
},
"spacing": {
"padding": {
"bottom": ".5em",
"top": ".5em",
"left": ".75em",
"right": ".75em"
}
}
}
} }
}, },
"templateParts": [ "templateParts": [