Skip to content

Commit

Permalink
Stageplay: Fixes following review
Browse files Browse the repository at this point in the history
  • Loading branch information
henriqueiamarino committed Jul 11, 2024
1 parent cc3c11b commit 1eceb70
Show file tree
Hide file tree
Showing 14 changed files with 76 additions and 31 deletions.
Binary file removed stageplay/assets/fonts/dm-mono_italic_500.ttf
Binary file not shown.
Binary file removed stageplay/assets/fonts/dm-mono_normal_500.ttf
Binary file not shown.
6 changes: 1 addition & 5 deletions stageplay/patterns/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@
<!-- /wp:column -->

<!-- wp:column {"width":"60%","layout":{"type":"constrained"}} -->
<div class="wp-block-column" style="flex-basis:60%"><!-- wp:paragraph {"fontSize":"medium"} -->
<p class="has-medium-font-size"><?php echo __('█████████████████████████<br>█▄─▄▄─█─▄▄─█▄─██─▄█▄─▄▄▀█<br>██─▄███─██─██─██─███─▄─▄█<br>▀▄▄▄▀▀▀▄▄▄▄▀▀▄▄▄▄▀▀▄▄▀▄▄▀<br>██████████<br>█─▄▄─█─█─█<br>█─██─█─▄─█<br>▀▄▄▄▄▀▄▀▄▀<br>█████████████████████████<br>█▄─▄▄─█─▄▄─█▄─██─▄█▄─▄▄▀█<br>██─▄███─██─██─██─███─▄─▄█<br>▀▄▄▄▀▀▀▄▄▄▄▀▀▄▄▄▄▀▀▄▄▀▄▄▀', 'stageplay');?></p>
<!-- /wp:paragraph -->

<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained","justifyContent":"right"}} -->
<div class="wp-block-column" style="flex-basis:60%"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained","justifyContent":"right"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60)"><!-- wp:heading {"level":1} -->
<h1 class="wp-block-heading"><?php echo __('Oops! That page CAN\'T be found.', 'stageplay');?></h1>
<!-- /wp:heading -->
Expand Down
2 changes: 1 addition & 1 deletion stageplay/patterns/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!-- wp:column {"verticalAlignment":"bottom","width":"60%"} -->
<div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:60%"><!-- wp:group {"align":"wide","layout":{"type":"constrained","justifyContent":"right"}} -->
<div class="wp-block-group alignwide"><!-- wp:heading {"textAlign":"left","level":1,"style":{"typography":{"textTransform":"none","lineHeight":"1.5"}},"fontSize":"medium"} -->
<h1 class="wp-block-heading has-text-align-left has-medium-font-size" style="line-height:1.5;text-transform:none"><?php echo __('TLDR: Two best friends, Proteus and Valentine, travel from Verona to Milan, where they fall in love with Silvia. Silvia loves Valentine, but Proteus pursues her despite the fact he has a girlfriend at home. After diverse misadventures followed by a sincere apology, Proteus and Valentine reconcile, Proteus loves his girlfriend again, and both couples marry.', 'stageplay');?></h1>
<h1 class="wp-block-heading has-text-align-left has-medium-font-size" style="line-height:1.5;text-transform:none"><?php echo __('Summary: Two best friends, Proteus and Valentine, travel from Verona to Milan, where they fall in love with Silvia. Silvia loves Valentine, but Proteus pursues her despite the fact he has a girlfriend at home. After diverse misadventures followed by a sincere apology, Proteus and Valentine reconcile, Proteus loves his girlfriend again, and both couples marry.', 'stageplay');?></h1>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
Expand Down
10 changes: 0 additions & 10 deletions stageplay/patterns/hidden-no-results-content.php

This file was deleted.

6 changes: 3 additions & 3 deletions stageplay/patterns/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
<!-- wp:group {"style":{"border":{"bottom":{"width":"1px","style":"dotted"}},"spacing":{"padding":{"top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"},"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="border-bottom-style:dotted;border-bottom-width:1px;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0"><!-- wp:post-title {"level":1,"isLink":true} /-->

<!-- wp:post-content {"layout":{"type":"constrained","justifyContent":"left"}} /--></div>
<!-- /wp:group -->
<!-- wp:post-content {"layout":{"type":"constrained","justifyContent":"left"}} /-->

<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","style":{"color":[]}} /-->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","style":{"color":[]}} /--></div>
<!-- /wp:group -->
<!-- /wp:post-template -->

<!-- wp:group {"style":{"spacing":{"padding":{"top":"2rem","bottom":"2rem"}}},"layout":{"type":"constrained"}} -->
Expand Down
55 changes: 55 additions & 0 deletions stageplay/styles/misty-night.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#1e1b27",
"name": "Base",
"slug": "base"
},
{
"color": "#cfd0d8",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#cfd0d8",
"name": "Primary",
"slug": "primary"
},
{
"color": "#cfd0d8",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#17141f",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/avatar": {
"filter": {
"duotone": "var(--wp--preset--duotone--mistynight)"
}
},
"core/image": {
"filter": {
"duotone": "var(--wp--preset--duotone--mistynight)"
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--mistynight)"
}
}
}
},
"title": "Misty Night",
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}
28 changes: 16 additions & 12 deletions stageplay/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@
],
"name": "Viking Child",
"slug": "vikingchild"
},
{
"colors": [
"#1E1B27",
"#CFD0D8"
],
"name": "Misty Night",
"slug": "mistynight"
}
],
"palette": [
Expand Down Expand Up @@ -162,15 +170,15 @@
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/aFTU7PB1QTsUX8KYhhiaBYyMcKw.woff2"
"file:./assets/fonts/dm-mono_normal_400.woff2"
]
},
{
"fontFamily": "\"DM Mono\"",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/aFTW7PB1QTsUX8KYth-QBK6JYKzkXw.woff2"
"file:./assets/fonts/dm-mono_italic_400.woff2"
]
}
],
Expand All @@ -185,31 +193,31 @@
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxhS2f3ZGMZpg.woff2"
"file:./assets/fonts/dm-sans_normal_400.woff2"
]
},
{
"fontFamily": "\"DM Sans\"",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat-JDW32RmYJpso5.woff2"
"file:./assets/fonts/dm-sans_italic_400.woff2"
]
},
{
"fontFamily": "\"DM Sans\"",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat9uCm32RmYJpso5.woff2"
"file:./assets/fonts/dm-sans_italic_700.woff2"
]
},
{
"fontFamily": "\"DM Sans\"",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwARZthS2f3ZGMZpg.woff2"
"file:./assets/fonts/dm-sans_normal_700.woff2"
]
}
],
Expand Down Expand Up @@ -437,16 +445,12 @@
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"letterSpacing": "0rem",
"lineHeight": "1",
"textTransform": "uppercase"
}
},
"core/navigation-link": {
"typography": {
"fontSize": "0.8rem"
}
},
"core/paragraph": {
"spacing": {
"margin": {
Expand Down Expand Up @@ -817,7 +821,7 @@
"fontFamily": "var(--wp--preset--font-family--dm-sans)",
"fontSize": "var(--wp--preset--font-size--small)",
"letterSpacing": "0rem",
"lineHeight": "1.4"
"lineHeight": "1.5"
}
},
"templateParts": [
Expand Down

0 comments on commit 1eceb70

Please sign in to comment.