-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Jason Crist <[email protected]>
- Loading branch information
Showing
53 changed files
with
2,039 additions
and
0 deletions.
There are no files selected for viewing
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.
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.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?php | ||
/** | ||
* Dawson functions and definitions | ||
* | ||
* @link https://developer.wordpress.org/themes/basics/theme-functions/ | ||
* | ||
* @package Dawson | ||
* @since Dawson 1.0 | ||
*/ | ||
|
||
|
||
if ( ! function_exists( 'dawson_support' ) ) : | ||
|
||
/** | ||
* Sets up theme defaults and registers support for various WordPress features. | ||
* | ||
* @since Dawson 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function dawson_support() { | ||
|
||
// Enqueue editor styles. | ||
add_editor_style( 'style.css' ); | ||
|
||
// Make theme available for translation. | ||
load_theme_textdomain( 'dawson' ); | ||
} | ||
|
||
endif; | ||
|
||
add_action( 'after_setup_theme', 'dawson_support' ); | ||
|
||
if ( ! function_exists( 'dawson_styles' ) ) : | ||
|
||
/** | ||
* Enqueue styles. | ||
* | ||
* @since Dawson 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function dawson_styles() { | ||
|
||
// Register theme stylesheet. | ||
wp_register_style( | ||
'dawson-style', | ||
get_stylesheet_directory_uri() . '/style.css', | ||
array(), | ||
wp_get_theme()->get( 'Version' ) | ||
); | ||
|
||
// Enqueue theme stylesheet. | ||
wp_enqueue_style( 'dawson-style' ); | ||
|
||
} | ||
|
||
endif; | ||
|
||
add_action( 'wp_enqueue_scripts', 'dawson_styles' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- wp:pattern {"slug":"dawson/footer" } /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- wp:group {"style":{"spacing":{"blockGap":"0.2rem"}}} --> | ||
<div class="wp-block-group"><!-- wp:site-title /--> | ||
|
||
<!-- wp:site-tagline /--></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:spacer {"height":"40px"} --> | ||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"}} /--> | ||
|
||
<!-- wp:spacer {"height":"40px"} --> | ||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- wp:group {"layout":{"type":"default"}} --> | ||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"flex"}} --> | ||
<div class="wp-block-group"><!-- wp:post-author {"showAvatar":false,"fontSize":"small"} /--> | ||
|
||
<!-- wp:post-date {"isLink":true,"fontSize":"small"} /--> | ||
|
||
<!-- wp:post-terms {"term":"category","fontSize":"small"} /--> | ||
|
||
<!-- wp:post-terms {"term":"post_tag","fontSize":"small"} /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
/** | ||
* Title: Footer | ||
* Slug: dawson/footer | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:group {"align":"full","layout":{"type":"flex","justifyContent":"left","flexWrap":"wrap"}} --> | ||
<div class="wp-block-group alignfull"> | ||
<!-- wp:paragraph {"style":{"typography":{"fontSize":"0.7rem"}}} --> | ||
<p style="font-size:0.7rem"><?php echo esc_html__( 'Designed with', 'dawson' ); ?> <a rel="nofollow" href="https://wordpress.org">WordPress</a> </p> | ||
<!-- /wp:paragraph --> | ||
</div> | ||
<!-- /wp:group --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
/** | ||
* Title: Hidden No Results Content | ||
* Slug: dawson/hidden-no-results-content | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:paragraph --> | ||
<p><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'dawson' ); ?></p> | ||
<!-- /wp:paragraph --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
=== Dawson === | ||
Contributors: Automattic | ||
Requires at least: 5.8 | ||
Tested up to: 5.9 | ||
Requires PHP: 5.7 | ||
License: GPLv2 or later | ||
License URI: http://www.gnu.org/licenses/gpl-2.0.html | ||
|
||
== Description == | ||
|
||
Dawson is a WordPress portfolio theme specifically tailored for photography. With a two column layout, the theme is ideal for those looking to build a portfolio website. Additionally, Dawson offers five distinct style variations, providing a wide range of aesthetic options to choose from. | ||
|
||
== Changelog == | ||
|
||
= 1.0.0 = | ||
* Initial release | ||
|
||
== Copyright == | ||
|
||
Dawson WordPress Theme, (C) 2023 Automattic | ||
Dawson is distributed under the terms of the GNU GPL. | ||
Dawson is based on Dana (), (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. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
Theme Name: Dawson | ||
Theme URI: | ||
Author: Automattic | ||
Author URI: https://automattic.com | ||
Description: Dawson is a WordPress portfolio theme specifically tailored for photography. With a two column layout, the theme is ideal for those looking to build a portfolio website. Additionally, Dawson offers five distinct style variations, providing a wide range of aesthetic options to choose from. | ||
Requires at least: 5.8 | ||
Tested up to: 5.9 | ||
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: dawson | ||
Tags: photography, portfolio, grid-layout, one-column, two-columns, three-columns, wide-blocks, block-patterns, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, theme-options, threaded-comments, translation-ready, portfolio, photography | ||
*/ | ||
|
||
/* | ||
* 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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
{ | ||
"settings": { | ||
"color": { | ||
"palette": [ | ||
{ | ||
"color": "#ffffff", | ||
"name": "Primary", | ||
"slug": "primary" | ||
}, | ||
{ | ||
"color": "#ffffff", | ||
"name": "Secondary", | ||
"slug": "secondary" | ||
}, | ||
{ | ||
"color": "#ffffff", | ||
"name": "Foreground", | ||
"slug": "foreground" | ||
}, | ||
{ | ||
"color": "#90562c", | ||
"name": "Background", | ||
"slug": "background" | ||
}, | ||
{ | ||
"color": "#7e4923", | ||
"name": "Tertiary", | ||
"slug": "tertiary" | ||
} | ||
] | ||
} | ||
}, | ||
"styles": { | ||
"blocks": { | ||
"core/button": { | ||
"border": { | ||
"bottom": { | ||
"style": "none", | ||
"width": "0px" | ||
}, | ||
"left": { | ||
"style": "none", | ||
"width": "0px" | ||
}, | ||
"radius": "2px", | ||
"right": { | ||
"style": "none", | ||
"width": "0px" | ||
}, | ||
"top": { | ||
"style": "none", | ||
"width": "0px" | ||
} | ||
}, | ||
"color": { | ||
"background": "var:preset|color|primary", | ||
"text": "var:preset|color|background" | ||
}, | ||
"spacing": { | ||
"padding": { | ||
"bottom": "var:preset|spacing|30", | ||
"left": "var:preset|spacing|40", | ||
"right": "var:preset|spacing|40", | ||
"top": "var:preset|spacing|30" | ||
} | ||
}, | ||
"typography": { | ||
"fontSize": "0.8rem", | ||
"fontStyle": "normal", | ||
"fontWeight": "400", | ||
"letterSpacing": "0.06rem", | ||
"textTransform": "uppercase" | ||
} | ||
}, | ||
"core/navigation": { | ||
"typography": { | ||
"fontSize": "var:preset|font-size|medium", | ||
"fontStyle": "normal", | ||
"fontWeight": "300", | ||
"lineHeight": 0.3, | ||
"textTransform": "lowercase" | ||
} | ||
}, | ||
"core/paragraph": { | ||
"typography": { | ||
"textTransform": "lowercase" | ||
} | ||
}, | ||
"core/post-content": { | ||
"typography": { | ||
"textTransform": "lowercase" | ||
} | ||
}, | ||
"core/post-navigation-link": { | ||
"typography": { | ||
"fontSize": "var:preset|font-size|medium", | ||
"textTransform": "lowercase" | ||
} | ||
}, | ||
"core/query-pagination": { | ||
"typography": { | ||
"textTransform": "lowercase" | ||
} | ||
}, | ||
"core/site-tagline": { | ||
"typography": { | ||
"fontSize": "var:preset|font-size|medium", | ||
"fontStyle": "normal", | ||
"fontWeight": "300" | ||
} | ||
}, | ||
"core/site-title": { | ||
"typography": { | ||
"fontSize": "var:preset|font-size|medium", | ||
"fontStyle": "normal", | ||
"fontWeight": "500", | ||
"letterSpacing": "0.2rem", | ||
"textTransform": "uppercase" | ||
} | ||
} | ||
}, | ||
"elements": { | ||
"heading": { | ||
"typography": { | ||
"textTransform": "lowercase" | ||
} | ||
} | ||
}, | ||
"typography": { | ||
"fontFamily": "var:preset|font-family|labrada", | ||
"fontSize": "var:preset|font-size|small" | ||
} | ||
}, | ||
"title": "Coconut 2", | ||
"version": 2, | ||
"$schema": "https://schemas.wp.org/trunk/theme.json" | ||
} |
Oops, something went wrong.