Skip to content

Commit

Permalink
Merge pull request #32 from elmastudio/style-variations
Browse files Browse the repository at this point in the history
Update Font styles in Index and Header
  • Loading branch information
manuelesposito authored Nov 6, 2023
2 parents e926ae8 + b8a1af8 commit f2e5b3a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion patterns/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|9","right":"var:preset|spacing|9","bottom":"var:preset|spacing|9","left":"var:preset|spacing|9"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--9);padding-right:var(--wp--preset--spacing--9);padding-bottom:var(--wp--preset--spacing--9);padding-left:var(--wp--preset--spacing--9)"><!-- wp:group {"align":"wide","backgroundColor":"background-secondary","className":"site-header","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide site-header has-background-secondary-background-color has-background"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group"><!-- wp:site-title {"style":{"typography":{"fontStyle":"normal","fontWeight":"900"}},"fontSize":"text-xxl"} /-->
<div class="wp-block-group">

<!-- wp:site-title /-->

<!-- wp:navigation {"textColor":"text-primary","overlayBackgroundColor":"surface-primary","overlayTextColor":"text-secondary","style":{"spacing":{"blockGap":"var:preset|spacing|6"}}} /-->

Expand Down
10 changes: 5 additions & 5 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|14","bottom":"var:preset|spacing|14","left":"var:preset|spacing|9","right":"var:preset|spacing|9"}}},"className":"site-main","layout":{"type":"default"}} -->
<main class="wp-block-group site-main" style="padding-top:var(--wp--preset--spacing--14);padding-right:var(--wp--preset--spacing--9);padding-bottom:var(--wp--preset--spacing--14);padding-left:var(--wp--preset--spacing--9)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"right":"var:preset|spacing|default","bottom":"var:preset|spacing|12","left":"var:preset|spacing|default"}}},"className":"site-content","layout":{"type":"default"}} --><div class="wp-block-group alignwide site-content" style="padding-right:var(--wp--preset--spacing--default);padding-bottom:var(--wp--preset--spacing--12);padding-left:var(--wp--preset--spacing--default)">

<!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"600","lineHeight":"1.06","letterSpacing":"-2.75px"},"elements":{"link":{"color":{"text":"var:preset|color|text-primary"}}}},"textColor":"text-primary","fontSize":"text-4-xl"} -->
<p class="has-text-primary-color has-text-color has-link-color has-text-4-xl-font-size" style="font-style:normal;font-weight:600;letter-spacing:-2.75px;line-height:1.06">Hello fellow art lover!</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":1} -->
<h1 class="wp-block-heading">Hello fellow art lover!</h1>
<!-- /wp:heading -->

<!-- wp:paragraph {"style":{"spacing":{"padding":{"top":"var:preset|spacing|2"}}},"fontSize":"text-l"} -->
<p class="has-text-l-font-size" style="padding-top:var(--wp--preset--spacing--2)">Moog Magazine is a worldwide destination for art and culture.</p>
<!-- wp:paragraph {"style":{"spacing":{"padding":{"top":"var:preset|spacing|2"}}},"fontSize":"text-xl"} -->
<p class="has-text-xl-font-size" style="padding-top:var(--wp--preset--spacing--2)">Moog Magazine is a worldwide hub for art and culture.</p>
<!-- /wp:paragraph -->

</div>
Expand Down

0 comments on commit f2e5b3a

Please sign in to comment.