Lois: add theme (#6908)

* Initial commit.

* review and fix issues

* remove comments and use patterns

* add screenshot

* update tags

* fix templates and template-parts

---------

Co-authored-by: madhusudhand <madhusudhan.dollu@gmail.com>
This commit is contained in:
Jeff Ong 2023-04-11 03:46:04 -04:00 committed by GitHub
parent 59aca31d69
commit 8d34881ab3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 1162 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

60
lois/functions.php Normal file
View file

@ -0,0 +1,60 @@
<?php
/**
* Lois functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Lois
* @since Lois 1.0
*/
if ( ! function_exists( 'lois_support' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* @since Lois 1.0
*
* @return void
*/
function lois_support() {
// Enqueue editor styles.
add_editor_style( 'style.css' );
// Make theme available for translation.
load_theme_textdomain( 'lois' );
}
endif;
add_action( 'after_setup_theme', 'lois_support' );
if ( ! function_exists( 'lois_styles' ) ) :
/**
* Enqueue styles.
*
* @since Lois 1.0
*
* @return void
*/
function lois_styles() {
// Register theme stylesheet.
wp_register_style(
'lois-style',
get_stylesheet_directory_uri() . '/style.css',
array(),
wp_get_theme()->get( 'Version' )
);
// Enqueue theme stylesheet.
wp_enqueue_style( 'lois-style' );
}
endif;
add_action( 'wp_enqueue_scripts', 'lois_styles' );

1
lois/parts/footer.html Normal file
View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"lois/footer"} /-->

11
lois/parts/header.html Normal file
View file

@ -0,0 +1,11 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:spacer {"height":"3rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:3rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:site-title {"style":{"typography":{"lineHeight":"1.4","letterSpacing":"4px","textTransform":"uppercase"}},"fontSize":"small","fontFamily":"figtree"} /-->
<!-- wp:spacer {"height":"4rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->

View file

@ -0,0 +1,9 @@
<!-- wp:group {"style":{"spacing":{"blockGap":"1rem","margin":{"top":"0px","bottom":"0px"},"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:post-date /-->
<!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"medium"} -->
<p class="has-medium-font-size" style="font-style:normal;font-weight:700">·</p>
<!-- /wp:paragraph -->
<!-- wp:post-terms {"term":"category","style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"medium"} /--></div>
<!-- /wp:group -->

1
lois/parts/sidebar.html Normal file
View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"lois/sidebar"} /-->

44
lois/patterns/404.php Normal file
View file

@ -0,0 +1,44 @@
<?php
/**
* Title: A 404 page
* Slug: lois/404
* Inserter: no
*/
?>
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"align":"wide"} -->
<main class="wp-block-group alignwide"><!-- wp:spacer {"height":"4rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"width":"66.66%","style":{"spacing":{"padding":{"right":"3rem"}}}} -->
<div class="wp-block-column" style="padding-right:3rem;flex-basis:66.66%"><!-- wp:heading {"level":1} -->
<h1><?php echo esc_html__( 'Sorry, this page is not here.', 'lois' ); ?></h1>
<!-- /wp:heading -->
<!-- wp:spacer {"height":"4rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"style":{"spacing":{"blockGap":"2rem"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p><?php echo esc_html__( 'This is a 404 error.', 'lois' ); ?><br><?php echo esc_html__( 'It looks like nothing was found at this location.', 'lois' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:search {"showLabel":false,"placeholder":"<?php echo esc_attr__( 'Try a search...', 'lois' ); ?>","buttonText":"<?php echo esc_html__( 'Search', 'lois' ); ?>","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"width":"0px","style":"none","radius":"4px"}},"backgroundColor":"secondary","textColor":"primary","fontSize":"medium","fontFamily":"libre-franklin"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"33.33%"} -->
<div class="wp-block-column" style="flex-basis:33.33%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:spacer {"height":"3rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:3rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></main>
<!-- /wp:group --></div>
<!-- /wp:group -->

View file

@ -0,0 +1,52 @@
<?php
/**
* Title: Comments
* slug: lois/comments
* inserter: no
*/
?>
<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
<div class="wp-block-comments wp-block-comments-query-loop">
<!-- wp:comments-title {"level":3} /-->
<!-- wp:comment-template -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)">
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"},"style":{"spacing":{"blockGap":"0.5em"}}} -->
<div class="wp-block-group">
<!-- wp:avatar {"size":40,"style":{"spacing":{"margin":{"top":"0.5em"}}}} /-->
<!-- wp:group -->
<div class="wp-block-group">
<!-- wp:comment-author-name /-->
<!-- wp:group {"layout":{"type":"flex"},"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
<!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /-->
<!-- wp:comment-edit-link /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:comment-content /-->
<!-- wp:comment-reply-link /-->
</div>
<!-- /wp:group -->
<!-- /wp:comment-template -->
<!-- wp:comments-pagination -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-numbers /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->
<!-- wp:post-comments-form /-->
</div>
<!-- /wp:comments -->

41
lois/patterns/footer.php Normal file
View file

@ -0,0 +1,41 @@
<?php
/**
* Title: Default footer
* Slug: lois/footer
* Categories: footer
* Block Types: core/template-part/footer
*/
?>
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:spacer {"height":"3rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:3rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:columns {"verticalAlignment":"center","align":"wide","style":{"spacing":{}}} -->
<div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"66.7%","layout":{"type":"default"}} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:66.7%"><!-- wp:group {"style":{"spacing":{"blockGap":"2.5rem"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:site-title {"style":{"typography":{"lineHeight":"1.4","letterSpacing":"4px","textTransform":"uppercase"}},"fontSize":"small","fontFamily":"figtree"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"33.3%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:33.3%"><!-- wp:paragraph {"align":"left","style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"small","fontFamily":"libre-franklin"} -->
<p class="has-text-align-left has-libre-franklin-font-family has-small-font-size" style="font-style:normal;font-weight:700">
<?php
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'lois' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( 'Designed with %1$s', 'lois' ),
$wordpress_link
);
?>
</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:spacer {"height":"12rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:12rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->

View file

@ -0,0 +1,60 @@
<?php
/**
* Title: Post list
* Slug: lois/post-list
* Inserter: no
*/
?>
<!-- wp:query {"query":{"perPage":"5","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":{"category":[6]}}} -->
<div class="wp-block-query"><!-- wp:post-template {"align":"wide"} -->
<!-- wp:columns {"verticalAlignment":"top","align":"wide","style":{"spacing":[]}} -->
<div class="wp-block-columns alignwide are-vertically-aligned-top"><!-- wp:column {"verticalAlignment":"top","width":"66.7%","style":{"spacing":{"padding":{"right":"0"}}}} -->
<div class="wp-block-column is-vertically-aligned-top" style="padding-right:0;flex-basis:66.7%"><!-- wp:post-title {"level":1,"isLink":true,"style":{"color":{"text":"#ffffff","link":"#ffffff"}}} /--></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"top","width":"33.3%","style":{"spacing":{"padding":{"top":"0px","right":"1rem","bottom":"0px","left":"0px"}}}} -->
<div class="wp-block-column is-vertically-aligned-top" style="padding-top:0px;padding-right:1rem;padding-bottom:0px;padding-left:0px;flex-basis:33.3%"><!-- wp:post-excerpt {"showMoreOnNewLine":false,"style":{"spacing":{"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0px"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:spacer {"height":"1rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:post-date /-->
<!-- wp:paragraph {"fontSize":"medium"} -->
<p class="has-medium-font-size">·</p>
<!-- /wp:paragraph -->
<!-- wp:post-terms {"term":"category","style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"medium"} /--></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"1rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:spacer {"height":"6rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:6rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"style":{"typography":{"fontStyle":"normal","fontWeight":"700","fontSize":"4.6rem","letterSpacing":"-2px"}},"fontFamily":"libre-franklin"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
<!-- wp:query-no-results {"style":{"typography":{"fontStyle":"normal","fontWeight":"700","fontSize":"4.6rem","letterSpacing":"-2px"}},"fontFamily":"libre-franklin"} -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'lois' ); ?></p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results --></div>
<!-- /wp:query -->

30
lois/patterns/sidebar.php Normal file
View file

@ -0,0 +1,30 @@
<?php
/**
* Title: Site updates
* Slug: lois/sidebar
* Inserter: no
*/
?>
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:heading {"level":3,"style":{"typography":{"letterSpacing":"0px","fontSize":"2.3rem"}}} -->
<h3 style="font-size:2.3rem;letter-spacing:0px"><?php echo esc_html__( 'Get updates', 'lois' ); ?></h3>
<!-- /wp:heading -->
<!-- wp:spacer {"height":"1.5rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:1.5rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:paragraph {"fontSize":"medium"} -->
<p class="has-medium-font-size"><?php echo esc_html__( 'From art exploration to the latest archeological findings, all here in our weekly newsletter.', 'lois' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"700","textDecoration":"underline"}},"fontSize":"small","fontFamily":"libre-franklin"} -->
<p class="has-libre-franklin-font-family has-small-font-size" style="font-style:normal;font-weight:700;text-decoration:underline"><?php echo esc_html__( 'Subscribe', 'lois' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"6rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:6rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

45
lois/readme.txt Normal file
View file

@ -0,0 +1,45 @@
=== Lois ===
Contributors: Automattic
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
A theme in homage to George Lois, visionary American Art Director, and author. We will all miss your big ideas. Rest in Peace, George. From the Creative People of Automattic.
== Changelog ==
= 1.0.0 =
* Initial release
== Copyright ==
Lois WordPress Theme, (C) 2022 Dotorg Themes Design
Lois is distributed under the terms of the GNU GPL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
This theme bundles the following third-party resources:
Figtree font from Google Fonts, Open Font License (https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL)
https://fonts.google.com/specimen/Figtree
Fraunces font from Google Fonts, Open Font License (https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL)
https://fonts.google.com/specimen/Fraunces
Libre Franklin font from Google Fonts, Open Font License (https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL)
https://fonts.google.com/specimen/Libre+Franklin
TeX Gyre Schola font, GUST e-foundry License (http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt)
https://www.fontsquirrel.com/fonts/tex-gyre-schola

BIN
lois/screenshot.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

59
lois/style.css Normal file
View file

@ -0,0 +1,59 @@
/*
Theme Name: Lois
Theme URI: https://wordpress.com/theme/lois/
Author: Automattic
Author URI: https://wordpress.org/themes/
Description: A theme in homage to George Lois, visionary American Art Director, and author. We will all miss your big ideas. Rest in Peace, George. From the Creative People of Automattic.
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template:
Text Domain: lois
Tags: two-columns, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks, auto-loading-homepage
*/
/*
* Control the hover stylings of outline block style.
* Unnecessary once block styles are configurable via theme.json
* https://github.com/WordPress/gutenberg/issues/42794
*/
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
background-color: var(--wp--preset--color--secondary);
color: var(--wp--preset--color--foreground);
border-color: var(--wp--preset--color--secondary);
}
/**
* Currently table styles are only available with 'wp-block-styles'
* theme support (block css) thus the following needs to be included
* since 'wp-block-styles' aren't used for this theme.
* https://github.com/WordPress/gutenberg/issues/45065
*/
.wp-block-table thead {
border-bottom: 3px solid;
}
.wp-block-table tfoot {
border-top: 3px solid;
}
.wp-block-table td,
.wp-block-table th {
padding: var(--wp--preset--spacing--30);
border: 1px solid;
word-break: normal;
}
.wp-block-table figcaption {
font-size: var(--wp--preset--font-size--small);
text-align: center;
}
/*
* Link styles
* https://github.com/WordPress/gutenberg/issues/42319
*/
a {
text-decoration-thickness: .0625em !important;
text-underline-offset: .15em;
}

93
lois/styles/light.json Normal file
View file

@ -0,0 +1,93 @@
{
"settings": {
"appearanceTools": true,
"color": {
"custom": true,
"customGradient": true,
"palette": [
{
"color": "#131020",
"name": "Primary",
"slug": "primary"
},
{
"color": "#f4f4f3",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#131020",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#f4f4f3",
"name": "Background",
"slug": "background"
},
{
"color": "#f4f4f3",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"color": {
"background": "var:preset|color|secondary",
"text": "var:preset|color|primary"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
"color": {
"background": "var:preset|color|primary",
"text": "var:preset|color|secondary"
}
},
"heading": {
"color": {
"text": "var:preset|color|foreground"
}
},
"link": {
"color": {
"text": "var:preset|color|primary"
},
":hover": {
"color": {
"text": "var:preset|color|primary"
}
}
}
}
},
"title": "Light",
"version": 2,
"$schema": "https://schemas.wp.org/wp/6.1/theme.json"
}

5
lois/templates/404.html Normal file
View file

@ -0,0 +1,5 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:pattern {"slug":"lois/404"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,27 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"align":"wide"} -->
<main class="wp-block-group alignwide"><!-- wp:spacer {"height":"4rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"type":"constrained"},"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|60"}}}} -->
<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:query-title {"type":"archive","style":{"spacing":{"margin":{"bottom":"100px"}}}} /-->
</div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"2rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:2rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:pattern {"slug":"lois/post-list"} /-->
<!-- wp:spacer {"height":"6rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:6rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></main>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

17
lois/templates/index.html Normal file
View file

@ -0,0 +1,17 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"align":"wide"} -->
<main class="wp-block-group alignwide"><!-- wp:spacer {"height":"4rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:pattern {"slug":"lois/post-list"} /-->
<!-- wp:spacer {"height":"6rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:6rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></main>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

33
lois/templates/page.html Normal file
View file

@ -0,0 +1,33 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"align":"wide"} -->
<main class="wp-block-group alignwide"><!-- wp:spacer {"height":"4rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"width":"66.66%","style":{"spacing":{"padding":{"right":"3rem"}}}} -->
<div class="wp-block-column" style="padding-right:3rem;flex-basis:66.66%"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"right":"6rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="padding-right:6rem"><!-- wp:post-title {"level":1,"align":"wide"} /-->
<!-- wp:spacer {"height":"3rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:3rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- wp:post-content {"lock":{"move":false,"remove":false},"align":"wide","layout":{"type":"constrained","justifyContent":"left"}} /--></div>
<!-- /wp:column -->
<!-- wp:column {"width":"33.33%"} -->
<div class="wp-block-column" style="flex-basis:33.33%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:spacer {"height":"3rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:3rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></main>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,25 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:search {"showLabel":false,"buttonText":"Search","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"width":"0px","style":"none","radius":"4px"}},"backgroundColor":"secondary","textColor":"primary","fontSize":"medium","fontFamily":"libre-franklin"} /-->
<!-- wp:spacer {"height":"2rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:2rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"align":"wide"} -->
<main class="wp-block-group alignwide"><!-- wp:spacer {"height":"4rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:pattern {"slug":"lois/post-list"} /-->
<!-- wp:spacer {"height":"6rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:6rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></main>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,45 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"align":"wide"} -->
<main class="wp-block-group alignwide"><!-- wp:spacer {"height":"4rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"width":"66.66%","style":{"spacing":{"padding":{"right":"2rem"}}}} -->
<div class="wp-block-column" style="padding-right:2rem;flex-basis:66.66%"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"blockGap":"0px","margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:post-title {"level":1,"align":"wide","style":{"typography":{"fontSize":"2.3rem","letterSpacing":"0px"}}} /-->
<!-- wp:spacer {"height":"3rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:3rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"post-meta"} /-->
<!-- wp:post-content {"lock":{"move":false,"remove":false},"align":"wide","layout":{"type":"constrained","justifyContent":"left"}} /-->
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide"><!-- wp:spacer {"height":"4rem"} -->
<div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:pattern {"slug":"lois/comments"} /-->
</div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"33.33%"} -->
<div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:template-part {"slug":"sidebar"} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- wp:spacer {"height":"3rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
<div style="margin-top:0px;margin-bottom:0px;height:3rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></main>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

504
lois/theme.json Normal file
View file

@ -0,0 +1,504 @@
{
"settings": {
"appearanceTools": true,
"color": {
"custom": true,
"customGradient": true,
"palette": [
{
"color": "#131020",
"name": "Primary",
"slug": "primary"
},
{
"color": "#f4f4f3",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#131020",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#f4f4f3",
"name": "Background",
"slug": "background"
},
{
"color": "#f4f4f3",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"layout": {
"contentSize": "1080px",
"wideSize": "1080px"
},
"spacing": {
"units": ["%", "px", "em", "rem", "vh", "vw"]
},
"typography": {
"customFontSize": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Libre Franklin",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/libre-franklin_700.ttf"
]
},
{
"fontFamily": "Libre Franklin",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/libre-franklin_regular.ttf"
]
},
{
"fontFamily": "Libre Franklin",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/libre-franklin_italic.ttf"
]
},
{
"fontFamily": "Libre Franklin",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/libre-franklin_700italic.ttf"
]
}
],
"fontFamily": "Libre Franklin",
"slug": "libre-franklin"
},
{
"fontFace": [
{
"fontFamily": "Figtree",
"fontStyle": "normal",
"fontWeight": "700",
"src": ["file:./assets/fonts/figtree_700.ttf"]
}
],
"fontFamily": "Figtree",
"slug": "figtree"
},
{
"fontFace": [
{
"fontFamily": "TeX Gyre Schola",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/tex-gyre-schola_italic_400.woff"
]
},
{
"fontFamily": "TeX Gyre Schola",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/tex-gyre-schola_normal_700.woff"
]
},
{
"fontFamily": "TeX Gyre Schola",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/tex-gyre-schola_italic_700.woff"
]
},
{
"fontFamily": "TeX Gyre Schola",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/tex-gyre-schola_normal_400.woff"
]
}
],
"fontFamily": "TeX Gyre Schola",
"slug": "tex-gyre-schola"
}
],
"fontSizes": [
{
"fluid": {
"max": "1.0625rem",
"min": "0.825rem"
},
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.25rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.125rem",
"slug": "medium"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
},
"name": "Large",
"size": "1.75rem",
"slug": "large"
},
{
"fluid": {
"max": "3rem",
"min": "2.5rem"
},
"name": "Extra Large",
"size": "3rem",
"slug": "x-large"
}
]
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/code": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"radius": "0.25rem",
"style": "solid",
"width": "2px"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontFamily": "monospace"
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-date": {
"color": {
"text": "var:preset|color|secondary"
},
"elements": {
"link": {
"color": {
"text": "var:preset|color|secondary"
},
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "700"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"style": "solid",
"width": "1px 0"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "italic"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontStyle": "normal"
}
},
"core/search": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.6"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--foreground)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontWeight": "700"
}
}
},
"color": {
"background": "var:preset|color|primary",
"text": "var:preset|color|secondary"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--foreground)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--foreground)"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--foreground)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var:preset|color|background",
"text": "var:preset|color|primary"
},
"typography": {
"fontSize": "clamp(0.825rem, 0.825rem + ((1vw - 0.48rem) * 0.458), 1.0625rem)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"h1": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "4.6rem",
"letterSpacing": "-2px",
"lineHeight": 1.1
}
},
"h2": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "3.6rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-2px"
}
},
"h3": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "2rem",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-1px",
"textTransform": "none"
}
},
"h4": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"h5": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"h6": {
"typography": {
"fontFamily": "Libre Franklin",
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"heading": {
"color": {
"text": "var:preset|color|background"
},
"typography": {
"fontFamily": "Libre Franklin",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"color": {
"text": "var:preset|color|background"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var:preset|color|secondary"
}
}
},
"spacing": {
"blockGap": "var:preset|spacing|50",
"padding": {
"bottom": "0px",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0px"
}
},
"typography": {
"fontFamily": "var:preset|font-family|tex-gyre-schola",
"fontSize": "var:preset|font-size|medium",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": 1.4
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/wp/6.1/theme.json"
}