Skip to content

Commit

Permalink
Artly: add theme (#7212)
Browse files Browse the repository at this point in the history
* add theme from zip

* delete unused patterns

* delete unused images

* version bump

* removing unused css

* theme uri
  • Loading branch information
matiasbenedetto authored Jul 7, 2023
1 parent b8be69a commit 982d0f5
Show file tree
Hide file tree
Showing 34 changed files with 2,429 additions and 0 deletions.
Binary file added artly/assets/fonts/commissioner_italic_300.otf
Binary file not shown.
Binary file added artly/assets/fonts/commissioner_italic_400.otf
Binary file not shown.
Binary file added artly/assets/fonts/commissioner_italic_700.ttf
Binary file not shown.
Binary file added artly/assets/fonts/commissioner_normal_300.ttf
Binary file not shown.
Binary file added artly/assets/fonts/commissioner_normal_400.ttf
Binary file not shown.
Binary file added artly/assets/fonts/commissioner_normal_700.ttf
Binary file not shown.
Binary file added artly/assets/fonts/fira-code_normal_300.ttf
Binary file not shown.
Binary file added artly/assets/fonts/fira-code_normal_600.ttf
Binary file not shown.
Binary file added artly/assets/fonts/fira-sans_italic_300.ttf
Binary file not shown.
Binary file added artly/assets/fonts/fira-sans_italic_600.ttf
Binary file not shown.
Binary file added artly/assets/fonts/fira-sans_italic_700.ttf
Binary file not shown.
Binary file added artly/assets/fonts/fira-sans_normal_300.ttf
Binary file not shown.
Binary file added artly/assets/fonts/fira-sans_normal_600.ttf
Binary file not shown.
Binary file added artly/assets/fonts/fira-sans_normal_700.ttf
Binary file not shown.
Binary file added artly/assets/fonts/newsreader_italic_400.ttf
Binary file not shown.
Binary file added artly/assets/fonts/newsreader_italic_700.ttf
Binary file not shown.
Binary file added artly/assets/fonts/newsreader_normal_400.ttf
Binary file not shown.
Binary file added artly/assets/fonts/newsreader_normal_700.ttf
Binary file not shown.
60 changes: 60 additions & 0 deletions artly/functions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php
/**
* Artly functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Artly
* @since Artly 1.0
*/


if ( ! function_exists( 'artly_support' ) ) :

/**
* Sets up theme defaults and registers support for various WordPress features.
*
* @since Artly 1.0
*
* @return void
*/
function artly_support() {

// Enqueue editor styles.
add_editor_style( 'style.css' );

// Make theme available for translation.
load_theme_textdomain( 'artly' );
}

endif;

add_action( 'after_setup_theme', 'artly_support' );

if ( ! function_exists( 'artly_styles' ) ) :

/**
* Enqueue styles.
*
* @since Artly 1.0
*
* @return void
*/
function artly_styles() {

// Register theme stylesheet.
wp_register_style(
'artly-style',
get_stylesheet_directory_uri() . '/style.css',
array(),
wp_get_theme()->get( 'Version' )
);

// Enqueue theme stylesheet.
wp_enqueue_style( 'artly-style' );

}

endif;

add_action( 'wp_enqueue_scripts', 'artly_styles' );
15 changes: 15 additions & 0 deletions artly/parts/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- wp:spacer {"height":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dspacing\u002d\u002d80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dspacing\u002d\u002d60)","bottom":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dspacing\u002d\u002d60)"}}}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group"><!-- wp:paragraph {"align":"left","style":{"typography":{"fontSize":"0.8rem"}}} -->
<p class="has-text-align-left" style="font-size:0.8rem">Designed with <a rel="nofollow" href="https://wordpress.org">WordPress</a></p>
<!-- /wp:paragraph -->

<!-- wp:site-title /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
19 changes: 19 additions & 0 deletions artly/parts/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!-- wp:group {"style":{"border":{"color":null,"style":null,"width":null,"top":[],"right":[],"bottom":{"style":"none","width":"0px"},"left":[]}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="border-bottom-style:none;border-bottom-width:0px"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|50","top":"var:preset|spacing|50","right":"0","left":"0"}},"border":{"bottom":{"style":"none","width":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignfull" style="border-bottom-style:none;border-bottom-width:0px;padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0"><!-- wp:group {"layout":{"type":"flex","verticalAlignment":"center"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:site-title /--></div>
<!-- /wp:group -->

<!-- wp:site-tagline {"style":{"spacing":{"padding":{"bottom":"0rem"}}}} /--></div>
<!-- /wp:group -->

<!-- wp:navigation {"overlayMenu":"always","hasIcon":false,"overlayBackgroundColor":"background","overlayTextColor":"primary","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} -->
<!-- wp:page-list /-->
<!-- /wp:navigation --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:spacer {"height":"var(\u002d\u002dwp\u002d\u002dpreset\u002d\u002dspacing\u002d\u002d80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
35 changes: 35 additions & 0 deletions artly/parts/post-meta.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","right":"0","bottom":"var:preset|spacing|50","left":"0"},"blockGap":"0"},"typography":{"fontSize":"0.8rem","letterSpacing":"0.02em"}},"layout":{"type":"default"},"fontFamily":"fira-code"} -->
<div class="wp-block-group has-fira-code-font-family" style="padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0;font-size:0.8rem;letter-spacing:0.02em"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"0.86rem"},"blockGap":"var:preset|spacing|30"},"border":{"bottom":{"style":"none","width":"0px"}}},"layout":{"type":"flex"}} -->
<div class="wp-block-group alignfull" style="border-bottom-style:none;border-bottom-width:0px;padding-bottom:0.86rem"><!-- wp:paragraph -->
<p>Category:</p>
<!-- /wp:paragraph -->

<!-- wp:post-terms {"term":"category"} /--></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"typography":{"fontSize":"0.8rem","letterSpacing":"0.02em"},"spacing":{"blockGap":"var:preset|spacing|20","padding":{"bottom":"var:preset|spacing|40"}},"border":{"color":null,"style":null,"width":null,"top":[],"right":[],"bottom":{"color":"var:preset|color|primary","style":"solid","width":"1px"},"left":[]}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"top"},"fontFamily":"fira-code"} -->
<div class="wp-block-group has-fira-code-font-family" style="border-bottom-color:var(--wp--preset--color--primary);border-bottom-style:solid;border-bottom-width:1px;padding-bottom:var(--wp--preset--spacing--40);font-size:0.8rem;letter-spacing:0.02em"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0.6em"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p>By</p>
<!-- /wp:paragraph -->

<!-- wp:post-author {"showAvatar":false} /--></div>
<!-- /wp:group -->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"0.8rem"}},"fontFamily":"fira-code"} -->
<p class="has-fira-code-font-family" style="font-size:0.8rem">/</p>
<!-- /wp:paragraph -->

<!-- wp:post-date /--></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"0"},"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} -->
<div class="wp-block-group" style="padding-bottom:0"><!-- wp:post-time-to-read {"style":{"spacing":{"padding":{"bottom":"0"}}}} /-->

<!-- wp:paragraph -->
<p>read</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
32 changes: 32 additions & 0 deletions artly/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
=== Artly ===
Contributors: Automattic
Requires at least: 5.8
Tested up to: 6.2
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

== Description ==

Artly is a WordPress theme designed for blogs and magazines. Its modern, offset layout for posts and pages comes in three style variations, allowing you to showcase your content in a visually stunning and functional way. With Artly, you can display your content beautifully and efficiently, all in a package that is easy to use and customize.

== Changelog ==

= 1.0.0 =
* Initial release

== Copyright ==

Artly WordPress Theme, (C) 2023 Automattic
Artly is distributed under the terms of the GNU GPL.
Artly is based on Artly (), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)

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.
Binary file added artly/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions artly/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
Theme Name: Artly
Theme URI: https://wordpress.com/theme/artly
Author: Automattic
Author URI: https://automattic.com/
Description: Artly is a WordPress theme designed for blogs and magazines. Its modern, offset layout for posts and pages comes in three style variations, allowing you to showcase your content in a visually stunning and functional way. With Artly, you can display your content beautifully and efficiently, all in a package that is easy to use and customize.
Requires at least: 5.8
Tested up to: 6.2
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
Text Domain: artly
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, 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--background);
border-color: var(--wp--preset--color--secondary);
}

/*
* Link styles
* https://github.com/WordPress/gutenberg/issues/42319
*/
a {
text-decoration-thickness: .0625em !important;
text-underline-offset: .15em;
}
Loading

0 comments on commit 982d0f5

Please sign in to comment.