Compare commits

..

1 commit

Author SHA1 Message Date
Niels Lange
fdf6252518
fix/#1506 2019-10-09 16:05:33 +07:00
9411 changed files with 207946 additions and 617838 deletions

View file

@ -1,111 +0,0 @@
# Themes to be ignored when deploying to the WordPress.org theme repository
appleton
arbutus
artly
assembler
attar
awburn
azur
barnett
barnsbury23
beep
bennett
blank-canvas-3
block-canvas
blogorama
boxedbio
calvin
calyx
chanson
cortado
covr
craftfully
creatio-2
creatio
curriculum
dorna
dos
entry
epi
erma
eventual
exmoor
farrow
foam
grammerone
hall
hari
heiwa
ici
indice
infield
iotix
issue
jackson
kansei
kaze
kingsley
kiosko
lativ
loic
lois
luce
lynx
marl
masu
meraki
messagerie
montagna
mpho
muscat
mysa
nested
nook
organizer
otis
overlaid
perenne
pieria
poesis
pomme
programme
raw
reverie
ritratto
russell
screenplay
shhh
snd
spearhead-blocks
spiel
stage
startfit
sten
strand
sunderland
tenaz
texty
the-jazzers
the-menu
tu
twentytwentytwo-blue
twentytwentytwo-mint
twentytwentytwo-pink
twentytwentytwo-red
twentytwentytwo-swiss
verso
vetro
winkel
xanadu
# General paths to be ignored when deploying to the WordPress.org theme repository
inc/headstart
node_modules
package.json
.git
*.DS_Store
*.sh
*.map
*wpcom*
*.zip
postcss.config.js

View file

@ -10,5 +10,5 @@
[What you expected to happen.]
* User report: [shortlink to chat/forum thread/ticket, ie 12345-hc]
* Follow-up ticket: [shortlink to ticket, ie 12345-zen]
* User report: [shortlink to chat/forum thread/ticket, ie #12345-hc]
* Follow-up ticket: [shortlink to ticket, ie #12345-zd]

View file

@ -1,109 +0,0 @@
name: Bug Report
description: Report issues with one of our products.
labels: [ 'Needs triage', '[Type] Bug' ]
body:
- type: markdown
attributes:
value: |
### Thanks for contributing!
Please write a clear title, then fill in the fields below and submit.
Please **do not** link to image hosting services such as Cloudup, Droplr, Imgur, etc…
Instead, directly embed screenshot(s) or recording(s) in any of the text areas below: click, then drag and drop.
- type: markdown
attributes:
value: |
---
## Core Information
- type: textarea
id: summary
attributes:
label: Quick summary
- type: textarea
id: steps
attributes:
label: Steps to reproduce
placeholder: |
1. Start at `site-domain.com/blog`.
2. Click on any blog post.
3. Click on the 'Like' button.
4. ...
validations:
required: true
- type: textarea
id: expected
attributes:
label: A clear and concise description of what you expected to happen.
placeholder: |
eg. Post should be liked.
- type: textarea
id: actual
attributes:
label: What actually happened
placeholder: |
eg. Clicking the button does nothing visibly.
- type: dropdown
id: users-affected
attributes:
label: Impact
description: Approximately how many users are impacted?
options:
- One
- Some (< 50%)
- Most (> 50%)
- All
validations:
required: true
- type: dropdown
id: workarounds
attributes:
label: Available workarounds?
options:
- No and the platform is unusable
- No but the platform is still usable
- Yes, difficult to implement
- Yes, easy to implement
- There is no user impact
validations:
required: true
- type: markdown
attributes:
value: |
<br>
- type: textarea
id: workaround-detail
attributes:
label: If the above answer is "Yes...", outline the workaround.
placeholder: |
Provide details of the specific steps to take that resolve the issue, e.g.:
- Open "Setting X".
- Toggle "Option Y".
- Click "Button Z".
- type: markdown
attributes:
value: |
<br>
## Optional Information
The following section is optional.
- type: dropdown
id: site-type
attributes:
label: Platform (Simple and/or Atomic)
description: (You may select more than one)
options:
- Simple
- Atomic
- Self-hosted
multiple: true
- type: textarea
id: logs
attributes:
label: Logs or notes
placeholder: |
Add any information that may be relevant, such as:
- Browser/Platform
- Theme
- Logs/Errors

View file

@ -1,15 +0,0 @@
name: DotCom theme launch checklist
description: Checklist used to keep track of theme launches on DotCom.
title: '[DotCom Launch]: <theme name>'
body:
- type: markdown
attributes:
value: |
### DotCom launch checklist
- [ ] Test the theme on dotCom
- [ ] Create demo site
- [ ] Create theme showcase
- [ ] Theme launch post
- [ ] Launch theme
Remember to add a label to this issue, or creating it if it doesn't exist. Format: [Theme] _<theme name>_

View file

@ -1,114 +0,0 @@
/*
* This function creates a WordPress Playground blueprint JSON string for a theme.
*
* @param {string} themeSlug - The slug of the theme to create a blueprint for.
* @param {string} branch - The branch where the theme changes are located.
* @returns {string} - A JSON string representing the blueprint.
*/
function createBlueprint(themeSlug, branch) {
const template = {
steps: [
{
step: 'login',
username: 'admin',
password: 'password',
},
{
step: 'installTheme',
themeZipFile: {
resource: 'url',
url: `https://github-proxy.com/proxy.php?action=partial&repo=Automattic/themes&directory=${themeSlug}&branch=${branch}`,
},
},
{
step: 'activateTheme',
themeFolderName: themeSlug,
},
],
};
return JSON.stringify(template);
}
/*
* This function creates a comment on a PR with preview links for the changed themes.
* It is used by `preview-theme` workflow.
*
* @param {object} github - An authenticated instance of the GitHub API.
* @param {object} context - The context of the event that triggered the action.
* @param {string} changedThemeSlugs - A space-separated string of theme slugs that have changed.
*/
async function createPreviewLinksComment(github, context, changedThemeSlugs) {
const changedThemes = changedThemeSlugs.split(',');
const previewLinks = changedThemes
.map((theme) => {
const [themeName, themeDir] = theme.split(':');
const themeSlug = themeDir.split('/')[0];
const parentThemeSlug = themeName.split('_childof_')[1];
return `- [Preview changes for **${
themeName.split('_childof_')[0]
}**](https://playground.wordpress.net/#${createBlueprint(
themeSlug,
context.payload.pull_request.head.ref
)})${parentThemeSlug ? ` (child of **${parentThemeSlug}**)` : ''}`;
})
.join('\n');
const includesChildThemes = previewLinks.includes('child of');
const comment = `
I've detected changes to the following themes in this PR: ${changedThemes
.map(
(changedThemes) => changedThemes.split(':')[0].split('_childof_')[0]
)
.join(', ')}.
You can preview these changes by following the links below:
${previewLinks}
I will update this comment with the latest preview links as you push more changes to this PR.
** Note:** The preview sites are created using [WordPress Playground](https://wordpress.org/playground/). You can add content, edit settings, and test the themes as you would on a real site, but please note that changes are not saved between sessions.
${
includesChildThemes
? '\n**⚠️ Note:** Child themes are dependent on their parent themes. You will have to install the parent theme as well for the preview to work correctly.'
: ''
}
`;
const repoData = {
owner: context.repo.owner,
repo: context.repo.repo,
};
// Check if a comment already exists and update it if it does
const { data: comments } = await github.rest.issues.listComments({
issue_number: context.payload.pull_request.number,
...repoData,
});
const existingComment = comments.find(
(comment) =>
comment.user.login === 'github-actions[bot]' &&
comment.body.startsWith('### Preview changes')
);
const commentObject = {
body: `### Preview changes\n${comment}`,
...repoData,
};
if (existingComment) {
await github.rest.issues.updateComment({
comment_id: existingComment.id,
...commentObject,
});
return;
}
// Create a new comment if one doesn't exist
github.rest.issues.createComment({
issue_number: context.payload.pull_request.number,
...commentObject,
});
}
module.exports = createPreviewLinksComment;

View file

@ -1,16 +0,0 @@
name: Deploy Themes to Dotorg
on:
push:
branches: [ trunk, automate/dotorgdeploy ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- run: ./deploy-dotorg.sh
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}

View file

@ -1,47 +0,0 @@
name: Repo gardening
on:
pull_request_target: # When a PR is opened or closed
types: [opened, closed]
issues: # For auto-triage of issues.
types: [opened, labeled, reopened, edited, closed]
issue_comment: # To gather support references in issue comments.
types: [created]
concurrency:
# For pull_request_target, cancel any concurrent jobs with the same type (e.g. "opened", "labeled") and branch.
# Don't cancel any for other events, accomplished by grouping on the unique run_id.
group: gardening-${{ github.event_name }}-${{ github.event.action }}-${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.ref || github.run_id }}
cancel-in-progress: true
jobs:
repo-gardening:
name: 'Perform automated triage tasks on PRs and issues'
runs-on: ubuntu-latest
if: github.event_name == 'pull_request_target' || github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Wait for prior instances of the workflow to finish
uses: softprops/turnstyle@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Run gardening action'
uses: automattic/action-repo-gardening@trunk
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
slack_token: ${{ secrets.SLACK_TOKEN }}
slack_team_channel: ${{ secrets.SLACK_TEAM_CHANNEL }}
slack_he_triage_channel: ${{ secrets.SLACK_HE_TRIAGE_CHANNEL }}
slack_quality_channel: ${{ secrets.SLACK_QUALITY_CHANNEL }}
triage_projects_token: ${{ secrets.PROJECT_AUTOMATION_TOKEN }}
project_board_url: ${{ secrets.PROJECT_BOARD_URL }}
tasks: 'cleanLabels,flagOss,triageIssues,gatherSupportReferences,replyToCustomersReminder,updateBoard'

View file

@ -1,23 +0,0 @@
name: Preview Theme Changes
on:
pull_request_target:
types: [opened, synchronize]
permissions:
pull-requests: write
jobs:
preview-theme-changes:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Preview Theme Changes
uses: vcanales/action-wp-playground-pr-preview@trunk
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.sha }}
base-branch: trunk

View file

@ -1,28 +0,0 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
- cron: '0 */2 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
remove-issue-stale-when-updated: true
ascending: true
days-before-stale: 30
days-before-close: -1
stale-issue-message: "As a part of this repositorys maintenance, this issue is being marked as stale due to inactivity. Please feel free to comment on it in case we missed something."
stale-issue-label: '[Status] Stale'

View file

@ -1,132 +0,0 @@
name: Version bump themes
on:
workflow_dispatch:
inputs:
theme-slug:
description: 'Theme slug'
required: false
default: 'all'
jobs:
version-bump:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: trunk
- name: Create branch
id: create-branch
run: |
BRANCH_NAME="automated-version-bump/${{ github.run_number }}"
git checkout -b $BRANCH_NAME
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 19
- name: Install node dependencies
run: npm install
- name: Version bump
id: version-bump
run: |
if [ "${{ github.event.inputs.theme-slug }}" == 'all' ]; then
npm run deploy:version-bump
else
# Check if theme exists
theme_exists=false
target_theme_slug=${{ github.event.inputs.theme-slug }}
# Loop through each subdirectory in the themes directory
for dir in ./*/; do
# Get the name of the directory (theme name)
theme_dir_name=$(basename "$dir")
# Check if the directory name matches the target theme name and if it contains a style.css file
if [[ "$theme_dir_name" == "$target_theme_slug" && -f "$dir/style.css" ]]; then
theme_exists=true
fi
done
# Error out if theme does not exist
if [ "$theme_exists" == false ]; then
echo "Theme `${{ github.event.inputs.theme-slug }}` does not exist"
exit 1
fi
npm run deploy:version-bump -- ${{ github.event.inputs.theme-slug }}
fi
- name: Check if there are changes
id: check-changes
run: |
if [ "$(git diff --cached --name-only)" ]; then
echo "HAS_CHANGES=true" >> $GITHUB_ENV
# Get list of changed directory names for staged changes
changed_dirs=$(git diff --cached --name-only | xargs -I {} dirname {} | sort | uniq)
# Initialize an array for CHANGED_THEMES
changed_themes=()
# Iterate over the changed directories
for dir in $changed_dirs; do
if [ -f "$dir/style.css" ]; then
# Append the directory to changed_themes array
changed_themes+=("$dir")
fi
done
# Join array elements into a string
CHANGED_THEMES=$(IFS=,; echo "${changed_themes[*]}")
echo "CHANGED_THEMES=$CHANGED_THEMES" >> $GITHUB_ENV
echo "Themes with changes: $CHANGED_THEMES"
else
echo "HAS_CHANGES=false" >> $GITHUB_ENV
fi
- name: Commit changes
if: env.HAS_CHANGES == 'true'
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "Version bump & changelog update" --no-verify
git push --set-upstream origin ${{ env.BRANCH_NAME }}
- name: Create Pull Request
if: env.HAS_CHANGES == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHANGED_THEMES: ${{ env.CHANGED_THEMES }}
run: |
echo "Creating PR for themes: $CHANGED_THEMES"
THEMES_LIST=$(echo "$CHANGED_THEMES" | tr ',' '\n')
PR_BODY=$(cat <<-EOF
## [Automation] Themes Version Bump
This PR was automatically created by the version bump workflow.
### Updated Themes
The following themes are being updated due to changes since the last git tag:
$THEMES_LIST
### Why These Updates?
This script bumps the version of themes that have changes since the last git tag. This ensures that any updates or fixes are properly versioned and deployed.
### Disclaimer
This is an automated process. Please review the changes carefully.
EOF
)
gh pr create \
--title "[Automation] Themes version bump" \
--base trunk \
--head ${{ env.BRANCH_NAME }} \
--body "$PR_BODY"

372
.gitignore vendored
View file

@ -1,375 +1,3 @@
node_modules
deploy/
twentynineteen/
theme-dev-utils/
theme-dev-utils
vendor/
*.DS_Store
.DS_Store
*.zip
*.rej
**/*.map
.ignore
.svnignore
.svn
.sandbox-config
.github_token
.wp-env.override.json
.pub-git-hash
.idea
#Ignoring headstart files
*/inc/headstart/*
*/languages/*
!*/languages/*.pot
#Generated themes not tracked in git
antin/
bantry/
bingley/
glen/
jones/
laporte/
miller/
pollard/
sigler/
#Retired themes we do not track in git
able/
academica/
adaption/
adelle/
adventure-journal/
afterlight-2/
afterlight/
albeo/
almost-spring/
ambiru/
andrea/
andreas04/
andreas09/
apostrophe/
argent/
ari/
ascetica/
autofocus/
babylog/
baker/
balan/
balloons/
banana-smoothie/
baskerville-2/
baskerville/
beach/
benevolence/
big-brother/
black-letterhead/
blask/
blaskan/
blissful-blog/
blix/
blogum/
blue-green/
boardwalk/
bold-life/
bonpress/
book-lite/
bosco/
bouquet/
bradford/
brand-new-day/
bueno/
bushwick/
business/
/button/
canape/
capoverso/
celsius/
cerauno/
chalkboard/
chaostheory/
chaoticsoul/
chateau/
cheer/
choco/
chunk/
circa/
classic/
clean-home/
coherent/
colinear/
cols/
comet/
confit/
connections/
contempt/
coraline/
crafty/
cubic/
cyanotype/
dark-wood/
daydream/
delicacy/
demo/
depo-masthead/
depo-square/
dev/
digg3/
duotone/
dusk-to-dawn/
dusk/
duster/
dyad/
ecto/
edda/
edin/
editor/
eighties/
elegant-grunge/
emire/
enterprise/
escutcheon/
espied/
esquire/
eventbrite-event/
eventbrite-venue/
ever-after/
expound/
extinct/
fadtastic/
fanwood-light/
fauna/
fictive/
fiore/
fjords/
fleur/
flounder/
flower-power/
fontfolio/
forever/
franklin/
fredrickson/
fresh-and-clean/
fresh-bananas/
freshy/
fruit-shake/
fusion/
garland/
gateway/
girl/
goran/
green-marinee/
greenery-10/
greyzed/
grid-focus/
grisaille/
harmonic/
hatch/
hemingway-rewritten/
hemingway/
hero/
hew/
hexa/
highwind/
hum/
iceburgg/
ideation-and-intent/
imbalance2/
inactive/
independent-publisher/
inove/
intergalactic/
inuit-types/
isola/
itheme2/
jentri/
journalist-13/
journalist/
k2/
kelly/
koi/
kubrick/
libre/
light/
lingonberry/
liquorice/
lovebirds/
lovecraft/
lyretail/
manifest/
matala/
mckinley/
minileven/
minimalizine/
minnow/
misty-lake/
mistylook/
mixfolio/
modularity-lite/
monochrome/
monotone/
monster/
motif/
motion/
museum/
my-life/
mystique/
neat/
neo-sapien-05/
neutra/
newsworthy/
next-saturday/
nishita/
notepad/
notesil/
nucleare/
nuntius/
ocadia/
ocean-mist/
origin/
orvis/
oulipo/
overton/
oxygen/
p2/
p2-breathe/
p2-hub/
p2020/
pachyderm/
panel/
paperpunch/
parament/
partner-annotum-base/
partner-annotum-sans/
paxton/
penscratch/
piano-black/
pictorico/
pilcrow/
pink-touch-2/
plane/
pool/
prologue/
publish/
quadra/
quentin/
quintus/
radcliffe/
reddle/
redoable-lite/
refresh-2019/
regulus/
resonar/
responsive/
retro-fitted/
retro-mac-os/
revelar/
rivet/
rounded/
rowling/
rubric/
runo-lite/
rusty-grunge/
ryu/
saga/
san-kloud/
sandbox-10/
sandbox-161/
sandbox-162/
sandbox/
sapor/
sapphire/
satellite/
scrawl/
sela/
selecta/
sempress/
sequential/
shaan/
shine-on/
sidekick/
sidespied/
sight/
silesia/
silver-black/
simpla/
singl/
skeptical/
skylark/
snaps/
sobe/
solipsus/
something-fishy/
sorbet/
spectrum/
spirit/
splendio/
springloaded/
spun/
stay/
steira/
strange-little-town/
structure/
suburbia/
suits/
sunburn/
sundance/
sunspot/
superhero/
supposedly-clean/
sweet-blossoms/
syntax/
tarski/
taylor/
the-columnist/
themorningafter/
thirteen/
timepiece/
titan/
together/
tonal/
toni/
toolbox/
treba/
triton-lite/
truly-minimal/
trvl/
tt1-blocks/
twenty-eight/
twentyeleven/
twentyfifteen/
twentyfourteen/
twentynineteen/
twentynineteen-sb/
twentyseventeen/
twentysixteen/
twentyten/
twentythirteen/
twentytwelve/
twentytwenty/
twentytwentyone/
twentytwentyone-blocks/
twentytwentytwo/
twentytwentythree/
twentytwentyfour/
typo/
under-the-influence/
unsleepable/
untitled/
vermilion-christmas/
vertigo/
vesta/
vigilance/
vintage-camera/
visual/
vostok/
whiteasmilk/
widely/
wilson/
wp-mobile/
wptouch/
writr/
wu-wei/
yoko/
zbench/
zoren/

1
.husky/_/.gitignore vendored
View file

@ -1 +0,0 @@
*

View file

@ -1,5 +0,0 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged
node pre-commit-hook.js

2
.npmrc
View file

@ -1,2 +0,0 @@
engine-strict = true
lockfile-version = 3

1
.nvmrc
View file

@ -1 +0,0 @@
18

View file

@ -1,28 +0,0 @@
.git
.github
.github_token
.gitignore
.github_token
.sandbox-config
.sandbox-ignore
.svn
.vscode
.wp-env.*
*.code-workspace
block-canvas/
package-lock.json
sandbox.sh
sandbox-git.sh
theme-utils.mjs
vendor
node_modules
theme-utils.mjs
deploy-dotorg.sh
**/*.zip
variations
variations/**
inc/headstart
languages
*.map
.DS_Store
**/*/twentytwentythree/screenshot.png

View file

@ -1,3 +0,0 @@
{
"extends": [ "@wordpress/stylelint-config/scss" ]
}

View file

@ -1,5 +0,0 @@
{
"themes": [
"."
]
}

View file

@ -1,108 +0,0 @@
# Guide to Contributing Code
The following guide will help you through the process of contributing code to the themes repo.
By contributing code to our free themes, you grant its use under the [GNU General Public License v2 (or later)](LICENSE).
## Prerequisites
Our repo is a [monorepo](https://en.wikipedia.org/wiki/Monorepo) which stores all the themes maintained by the Automattic Theme Team. We use [Node.js](https://nodejs.org/) to run utility functions from the top-level directory, and also to run commands for some themes, such as building the CSS files. We are currently using Node version 16.
We recommend using the [Node Version Manager](https://github.com/nvm-sh/nvm) (nvm) since it is the easiest way to install and manage Node for macOS, Linux, and Windows 10. See the Node.js site for additional installation instructions.
Also make sure you have an updated version of git installed on your computer, as well as a GitHub account.
## Local Environment Setup
We recommend setting up a local WordPress environment to test any changes.
You can use the [wp-env package](https://github.com/WordPress/gutenberg/blob/trunk/packages/env/README.md) for setting up a WordPress environment locally. You'll need to install Docker to use wp-env.
As an alternative to Docker setup, you can use [Local](https://localwp.com/), [WampServer](http://www.wampserver.com/en/), or [MAMP](https://www.mamp.info/), or even use a remote server.
## Local Themes Setup
Clone the repo locally and then install the dependencies:
```bash
$ git clone git@github.com:Automattic/themes.git
$ cd themes
$ npm install
```
## Coding Standards
Themes code should adhere to the [WordPress coding standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/). This repo contains a pre-commit hook which enables you to detect and fix code that doesn't follow the standards.
To set this up follow these instructions:
1. Run `npm install` in the root of the repo.
2. Run `composer install`
Now when you commit changes to a file PHPCBF will attempt to fix any issues with the file.
This will also install the [WordPress-standard Prettier Configuration](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-prettier-config/) which can (optionally) be used in your IDE or command-line to format your code via [Prettier](https://prettier.io/docs/en/editors.html).
### Browser Support
We support the same browsers as WordPress Core, [listed here](https://make.wordpress.org/core/handbook/best-practices/browser-support/).
## Contributing CSS
A great way to get started with contributing to our themes is to pick up a CSS fix or patch.
A lot of our themes use SASS for styling, and then use Node to compile the final CSS. Usually, these themes will have a `sass` directory ([example](https://github.com/Automattic/themes/tree/trunk/varia/sass)), and there will also be a `package.json` file at the root of the theme ([example](https://github.com/Automattic/themes/blob/trunk/varia/package.json)).
In order to change the styles in these themes, you need to edit the SASS file first, and then run a build command to compile the CSS. Here is the process in most cases, using Varia as an example:
1. Change to the theme's directory `cd varia`
2. Find the `.scss` file you need to edit in the `sass` directory
3. Make your changes
4. Run the build command using `npm run build`
5. You should see your updates in the newly built `.css` file/s
If you are unsure what to do, leave us a comment so that we can improve documentation for other themes that may work differently.
### Best Practices
We use the latest features from the CSS, HTML and JS specifications, where our browser support will allow it. [Caniuse.com](https://caniuse.com/) is a great way to check if a feature is supported.
We use intrinsic web design in our themes where possible. [Every Layout](https://every-layout.dev/rudiments/boxes/) is a good resource for this.
## Workflow
Here is a quick summary of our workflow:
1. Create a pull request with your changes
2. Request a review of your PR
3. The Themes Team will provide feedback or approve your PR
4. The team will merge and deploy your PR (to both .com and .org)
### Creating a pull request
When your changes are ready for review you should create a pull request. Here are a couple tips for crafting a great pull request:
* Include the purpose of your PR. Be explicit about the idea or issue your PR solves.
* Reference any existing issues that relate to your PR. This allows everyone to easily see all related discussions.
The Themes Team will be notified when a new pull request is opened and we triage new issues and PRs regularly. Another good way to request a review is to add the team as Reviewers to your PR using the team handle, @Automattic/theam.
Once your PR has been approved, the Themes Team will merge and deploy your change to both .com and .org. **Please note that merging a PR does not automatically deploy a change.**
## Deployments
The easiest way to deploy a change is to let the Themes Team handle it! This is because not everyone has a sandbox or the appropriate commit rights to handle a deployment.
Deploying changes is part of the team's daily processes. We try to deploy approved changes as soon as possible, often multiple times a day. Please leave a comment if you have any questions or you want us to trigger a deploy.
### Triggering a deployment
If you have a sandbox and have the correct commit rights, you can use one of our sandbox tools to trigger your own deployment.
From the top-level directory, run `npm run deploy` and follow the prompts. Please make sure to test your changes on your sandbox before completing the deployment.
## Sandbox Tools
If you use a sandbox to test or develop your themes you can use a couple of utilities to operate on that sandbox.
- From the top-level directory, run `node ./theme-utils.mjs clean-sandbox` to bring the public themes GIT repository to a clean state. (This will only matter if your sandbox uses GIT such as how _WordPress.com_ is currently managed.) Alternately you can trigger that as an npm script: `npm run sandbox:clean`. `npm run sandbox:clean-all` will clean the entire sandbox.
- From the top-level directory, run `node ./theme-utils.mjs push-to-sandbox` to push your entire working copy to the public themes folder of your sandbox. Alternately you can trigger this as an npm script: `npm run deploy:push:all` This command will rsync your local copy with the exception of anything in the `.sandbox-ignore` file. You should clean your sandbox before pushing any changes to it. `node ./theme-utils.mjs push-changes-to-sandbox` or `npm run deploy:push:changes` alternatively will push only files that have changed since the last deployment.

339
LICENSE
View file

@ -1,339 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
{description}
Copyright (C) {year} {fullname}
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.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
{signature of Ty Coon}, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

View file

@ -1,52 +1,25 @@
# Automattic Themes
# Automattic's Free Themes
The development repository for themes maintained by the [Automattic Theme Team](https://themeshaper.com/about/).
## Maintainers
## What's Here
These themes are maintained by the [Automattic Theme Team](https://themeshaper.com/about/).
We're committed to imagining and creating the future of themes. Our latest themes are [block themes](https://developer.wordpress.org/block-editor/how-to-guides/themes/block-theme-overview/) — they depend on the latest features available in the [Gutenberg plugin](https://wordpress.org/plugins/gutenberg/). Read about our latest themes built to support full-site editing [here](https://wordpress.com/blog/2022/03/09/customize-your-entire-site-with-new-block-themes/).
## Submitting issues
<img width="1399" alt="A gallery of block themes with a variety of styles" src="https://user-images.githubusercontent.com/5375500/159330814-8f8883f3-1cd4-44a6-a404-05c8f800ac93.png">
Before submitting your issue, make sure it has not been discussed earlier. You can search for existing tickets [here](https://github.com/Automattic/themes/search).
## Contributing
Here are some tips to consider and to help you write a great report:
### Issues
* Themes support Microsoft Internet Explorer 11 and Edge, as well as the latest two versions of all other major browsers.
* Themes are backwards compatible with the two versions prior to the current stable version of WordPress.
* Themes use HTML5 markup.
* Translation files should not be included in PRs, as these are handled by WordPress.com. [See here for information on contributing to i18n efforts on WordPress.com](https://translate.wordpress.com/).
Before submitting your issue, please search for an existing or related ticket [here](https://github.com/Automattic/themes/search).
## Contributing code
Here are some tips to consider for writing a useful report:
Found a bug you can fix? Fantastic! Patches are always welcome. Here are a couple tips for crafting a great pull request:
* Share steps for replicating the issue.
* Add screenshots and videos where helpful.
* Share your environment details, including what version of WordPress and Gutenberg you're using
* Include the purpose of your PR. Be explicit about the issue your PR solves.
* Reference any existing issues that relate to your PR. This allows everyone to easily see all related discussions.
### Code
Patches and ideas in the form of code are always welcome! A great way to get started is to work on a [CSS fix](https://github.com/Automattic/themes/blob/trunk/CONTRIBUTING.md#contributing-css) or a [Good First Issue](https://github.com/Automattic/themes/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22). Please read our [full guide to contributing](https://github.com/Automattic/themes/blob/trunk/CONTRIBUTING.md) for more information.
### Testing pull requests
#### Using GitHub
1. Clone repository locally `git clone git@github.com:Automattic/themes.git`
2. [Identify the branch](https://cloudup.com/cAy1j0D8tvH) of the pull request, e.g. `update/#1889`
3. Check out featured branch of pull request, e.g. `git checkout update/#1889`
4. Symlink or copy affected theme OR zip affected theme and import into WordPress site
#### Manually download
1. Identify and visit [the branch](https://cloudup.com/cAy1j0D8tvH) of the pull request.
2. Change the `/tree/` part of the branch's URL to `archive`, and add a `.zip` to the end to download a zip of the branch. e.g. `https://github.com/Automattic/themes/tree/update/%231889` would become `https://github.com/Automattic/themes/archive/update/%231889.zip`
3. Unzip the zipped featured branch
4. Zip affected theme and import into WordPress site
**Note:** In case the affected theme already exists on the WordPress site, it needs to be deleted before the theme zip file gets uploaded.
### Packaging for WordPress.org Themes Showcase
The code in this repository mirrors the code needed for the theme to function correctly on _WordPress.com_. To prepare a theme.zip that passes the _WordPress.org_ theme review automated test, do the following:
- From the top-level directory, run `./package-dotorg.sh [theme-slug]`
- View the generated zip in the respective theme's sub-directory
Note that this script rebuilds the theme to strip it of .com-specific functionality, and discards any changes via git after doing so. _Make sure you have committed any working changes before running this script._
By contributing code to our free themes, you grant its use under the [GNU General Public License v2 (or later)](LICENSE).

View file

@ -1,27 +0,0 @@
#!/bin/bash
# Verify an argument is provided
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <directory>"
echo "Error: Directory argument missing."
exit 1
fi
# Directory containing PHP files, passed as an argument
DIRECTORY="$1"
# Loop over each PHP file in the specified directory
find "$DIRECTORY" -type f -name "*.php" | while read -r file; do
[ -n "$DEBUG" ] && echo "Processing file: $file"
# Check if the file contains the strict_types declaration
if ! grep -qE 'declare\s*\(\s*strict_types\s*=\s*1\s*\)\s*;' "$file"; then
[ -n "$DEBUG" ] && echo "Declaration not found in: $file"
# If not, prepend the strict_types declaration
{
echo '<?php declare( strict_types = 1 ); ?>'
cat "$file"
} > "$file.tmp" && mv "$file.tmp" "$file"
else
[ -n "$DEBUG" ] && echo "Declaration found in: $file"
fi
done

Binary file not shown.

Before

Width:  |  Height:  |  Size: 415 KiB

View file

@ -1,85 +0,0 @@
<?php
/**
* Adonay functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Adonay
* @since Adonay 1.0
*/
if ( ! function_exists( 'adonay_support' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* @since Adonay 1.0
*
* @return void
*/
function adonay_support() {
// Enqueue editor styles.
add_editor_style( 'style.css' );
// Make theme available for translation.
load_theme_textdomain( 'adonay' );
}
endif;
add_action( 'after_setup_theme', 'adonay_support' );
if ( ! function_exists( 'adonay_styles' ) ) :
/**
* Enqueue styles.
*
* @since Adonay 1.0
*
* @return void
*/
function adonay_styles() {
// Register theme stylesheet.
wp_register_style(
'adonay-style',
get_stylesheet_directory_uri() . '/style.css',
array(),
wp_get_theme()->get( 'Version' )
);
// Enqueue theme stylesheet.
wp_enqueue_style( 'adonay-style' );
}
endif;
add_action( 'wp_enqueue_scripts', 'adonay_styles' );
/**
* Register pattern categories.
*/
if ( ! function_exists( 'adonay_pattern_categories' ) ) :
/**
* Register pattern categories
*
* @since Adonay 1.0
* @return void
*/
function adonay_pattern_categories() {
register_block_pattern_category(
'page',
array(
'label' => _x( 'Pages', 'Block pattern category', 'adonay' ),
'description' => __( 'A collection of full page layouts.', 'adonay' ),
)
);
}
endif;
add_action( 'init', 'adonay_pattern_categories' );

View file

@ -1,11 +0,0 @@
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
<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(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:paragraph {"align":"left","style":{"typography":{"fontSize":"14px"}}} -->
<p class="has-text-align-left" style="font-size:14px">Designed with <a href="https://wordpress.org" rel="nofollow">WordPress</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

View file

@ -1,11 +0,0 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|60","top":"var:preset|spacing|60","right":"var:preset|spacing|50","left":"var:preset|spacing|50"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)"><!-- wp:site-title {"fontSize":"large"} /-->
<!-- wp:navigation {"ref":4,"overlayBackgroundColor":"base","overlayTextColor":"contrast","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

View file

@ -1,7 +0,0 @@
<!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"flex","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:post-date {"isLink":true,"fontSize":"small"} /-->
<!-- wp:post-terms {"term":"category","fontSize":"small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

View file

@ -1,16 +0,0 @@
<?php
/**
* Title: A 404 page
* Slug: adonay/404
* Inserter: no
*/
?>
<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large"} -->
<h1 class="has-text-align-center has-x-large-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can&rsquo;t be found.', 'adonay' ); ?></h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'adonay' ); ?></p>
<!-- /wp:paragraph -->

View file

@ -1,52 +0,0 @@
<?php
/**
* Title: Comments
* slug: adonay/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 -->

View file

@ -1,33 +0,0 @@
<?php
/**
* Title: Default footer
* Slug: adonay/footer
* Categories: footer
* Block Types: core/template-part/footer
*/
?>
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
<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 {"style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">
<?php
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'adonay' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( 'Designed with %1$s', 'adonay' ),
$wordpress_link
);
?>
</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

View file

@ -1,10 +0,0 @@
<?php
/**
* Title: Hidden No Results Content
* Slug: adonay/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', 'adonay' ); ?></p>
<!-- /wp:paragraph -->

View file

@ -1,51 +0,0 @@
<?php
/**
* Title: home
* Slug: adonay/home
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:columns {"lock":{"move":false,"remove":true},"style":{"spacing":{"blockGap":{"left":"0"}}}} -->
<div class="wp-block-columns"><!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-column" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} -->
<div class="wp-block-group" style="min-height:100%"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.3"},"spacing":{"margin":{"right":"var:preset|spacing|80"}}}} -->
<p style="margin-right:var(--wp--preset--spacing--80);line-height:1.3">Im a photographer and art director based in Manchester, United Kingdom. When Im not shooting weddings and portraits, you can find me posting on Instagram. Currently available for hire.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p><a href="#">Get in Touch</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#">Instagram</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#">X</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#">Youtube</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/adonay_image-1-scaled.jpg","id":149,"dimRatio":0,"overlayColor":"base","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","contentPosition":"bottom right","style":{"layout":{"selfStretch":"fit","flexSize":null},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"color":[]},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-custom-content-position is-position-bottom-right" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50);min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-149" alt="" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/adonay_image-1-scaled.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"right","placeholder":"Write title…","style":{"typography":{"fontSize":"14px"}}} -->
<p class="has-text-align-right" style="font-size:14px">Designed with WordPress</p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->

View file

@ -1,41 +0,0 @@
<?php
/**
* Title: Homepage with a small, rounded image
* Slug: adonay/homepage-with-a-small-rounded-image
* Categories: page
* Inserter: yes
*/
?>
<!-- wp:group {"style":{"dimensions":{"minHeight":"100%"},"spacing":{"padding":{"left":"5.1vw","right":"5.1vw","top":"5.1vh","bottom":"5.1vh"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"center"}} -->
<div class="wp-block-group" style="min-height:100%;padding-top:5.1vh;padding-right:5.1vw;padding-bottom:5.1vh;padding-left:5.1vw"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:image {"id":149,"width":"200px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"layout":{"flexSize":"13px","selfStretch":"fixed"}},"className":"is-style-rounded"} -->
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="https://linkinbioone.mystagingwebsite.com/wp-content/uploads/2023/11/adonay_image-1-scaled.jpg" alt="" class="wp-image-149" style="aspect-ratio:1;object-fit:cover;width:200px"/></figure>
<!-- /wp:image -->
<!-- wp:spacer {"height":"13px","style":{"layout":{"flexSize":"20px","selfStretch":"fixed"}}} -->
<div style="height:13px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2","fontSize":"38px"}}} -->
<p style="font-size:38px;line-height:1.2">Im a photographer and art director based in Manchester, United Kingdom. When Im not shooting weddings and portraits, you can find me posting on <a href="#">Instagram</a>. Currently available for hire.</p>
<!-- /wp:paragraph -->
<!-- wp:social-links {"iconColor":"contrast","iconColorValue":"#ffffff","size":"has-large-icon-size","className":"is-style-logos-only"} -->
<ul class="wp-block-social-links has-large-icon-size has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"instagram"} /-->
<!-- wp:social-link {"url":"#","service":"x"} /-->
<!-- wp:social-link {"url":"#","service":"youtube"} /--></ul>
<!-- /wp:social-links --></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->

View file

@ -1,51 +0,0 @@
<?php
/**
* Title: Homepage with a full height image
* Slug: adonay/homepage-with-a-full-height-image
* Categories: page
* Inserter: yes
*/
?>
<!-- wp:columns {"lock":{"move":false,"remove":true},"style":{"spacing":{"blockGap":{"left":"0"}}}} -->
<div class="wp-block-columns"><!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-column" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} -->
<div class="wp-block-group" style="min-height:100%"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.3"},"spacing":{"margin":{"right":"var:preset|spacing|80"}}}} -->
<p style="margin-right:var(--wp--preset--spacing--80);line-height:1.3">Im a photographer and art director based in Manchester, United Kingdom. When Im not shooting weddings and portraits, you can find me posting on Instagram. Currently available for hire.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p><a href="#">Get in Touch</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#">Instagram</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#">X</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#">Youtube</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:cover {"url":"https://linkinbioone.mystagingwebsite.com/wp-content/uploads/2023/11/adonay_image-1-scaled.jpg","id":149,"dimRatio":0,"overlayColor":"base","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","contentPosition":"bottom right","style":{"layout":{"selfStretch":"fit","flexSize":null},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"color":{}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-custom-content-position is-position-bottom-right" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50);min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-149" alt="" src="https://linkinbioone.mystagingwebsite.com/wp-content/uploads/2023/11/adonay_image-1-scaled.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"right","placeholder":"Write title…","style":{"typography":{"fontSize":"14px"}}} -->
<p class="has-text-align-right" style="font-size:14px">Designed with WordPress</p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->

View file

@ -1,62 +0,0 @@
=== Adonay ===
Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.4.1
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Adonay is crafted for single page websites that want to leave a stunning and memorable first impression. It also provides post and page templates for those looking to customize and broaden their website's functionality. Adonay comes with 3 distinctive style variations and 12 vibrant color options.
== Changelog ==
= 1.0.0 =
* Initial release
== Copyright ==
Adonay is based on Block Canvas (https://github.com/Automattic/themes/tree/trunk/block-canvas), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html) Block Canvas WordPress Theme, (C) 2022 Automattic Block Canvas 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.
BioRhyme Expanded Font
Copyright 2016 Aoife Mooney (aoifemooney@gmail.com www.aoifemooney.org)
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL
License URL: http://scripts.sil.org/OFL
Source: http://www.aoifemooney.org
-- End of BioRhyme Expanded Font credits --
Instrument Serif Font
Copyright 2022 The Instrument Serif Project Authors (https://github.com/Instrument/instrument-serif)
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
License URL: https://scripts.sil.org/OFL
Source: www.fragtypefoundry.xyz
-- End of Instrument Serif Font credits --
Public Sans Font
Copyright 2015 The Public Sans Project Authors (https://github.com/uswds/public-sans)
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL. The license for USWDSs Modified Version,...
License URL: SIL Open Font License, Version 1.1: https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL_web; USWDS Modified Version: https://github.com/uswds/public-sans/blob/master/LICENSE.md
-- End of Public Sans Font credits --
adonay_image-1-scaled.jpg
CC0 License
https://nappy.co/photo/435
Zilla Slab Font
Copyright 2017, The Mozilla Foundation
Source: http://www.typotheque.com
-- End of Zilla Slab Font credits --
Libre Caslon Condensed Font
Copyright 2020 The Libre Caslon Text Project Authors (https://github.com/thundernixon/Libre-Caslon)
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
License URL: https://scripts.sil.org/OFL
Source: https://fonts.google.com/
-- End of Libre Caslon Condensed Font credits --

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 KiB

View file

@ -1,35 +0,0 @@
/*
Theme Name: Adonay
Theme URI:
Author: Automattic
Author URI: https://automattic.com
Description: Adonay is crafted for single page websites that want to leave a stunning and memorable first impression. Nonetheless, the theme provides post and page templates for those looking to customize and broaden their website's functionality. Adonay comes with 3 distinctive style variations and an array of 12 vibrant color options.
Requires at least: 6.0
Tested up to: 6.4.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
Text Domain: adonay
Tags: one-column, two-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, template-editing, theme-options, threaded-comments, translation-ready
*/
/*
* 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--base);
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;
}

View file

@ -1,36 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#f1f1f1",
"name": "Base",
"slug": "base"
},
{
"color": "#171db7",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#171db7",
"name": "Primary",
"slug": "primary"
},
{
"color": "#171db7",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#ececec",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"title": "Accent Blue",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,36 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#000000",
"name": "Base",
"slug": "base"
},
{
"color": "#ffffff",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ffffff",
"name": "Primary",
"slug": "primary"
},
{
"color": "#d7d7d7",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#262626",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"title": "Black",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,67 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#feffcc",
"name": "Base",
"slug": "base"
},
{
"color": "#3f4b50",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#3f4b50",
"name": "Primary",
"slug": "primary"
},
{
"color": "#3f4b50",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#ffffe2",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "8rem",
"lineHeight": "1.2"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontStyle": "normal",
"fontWeight": "400"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontSize": "1.6rem",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"title": "Funky Serif Cream",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,67 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#232732",
"name": "Base",
"slug": "base"
},
{
"color": "#ffffff",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ffffff",
"name": "Primary",
"slug": "primary"
},
{
"color": "#ffffff",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#313846",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "8rem",
"lineHeight": "1.2"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontStyle": "normal",
"fontWeight": "400"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontSize": "1.6rem",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"title": "Funky Serif Indigo",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,67 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#ecdddd",
"name": "Base",
"slug": "base"
},
{
"color": "#853322",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#853322",
"name": "Primary",
"slug": "primary"
},
{
"color": "#853322",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#f4efef",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "8rem",
"lineHeight": "1.2"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontStyle": "normal",
"fontWeight": "400"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontSize": "1.6rem",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"title": "Funky Serif Pink",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,82 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#f3f3f3",
"name": "Base",
"slug": "base"
},
{
"color": "#ab18d0",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ab18d0",
"name": "Primary",
"slug": "primary"
},
{
"color": "#ab18d0",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#ebebeb",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0px"
}
},
"core/cover": {
"filter": {
"duotone": "var(--wp--preset--duotone--duotone-2)"
}
},
"core/image": {
"filter": {
"duotone": "var(--wp--preset--duotone--duotone-2)"
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--duotone-2)"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "8rem",
"lineHeight": "1.2"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontStyle": "normal",
"fontWeight": "400"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontSize": "1.6rem",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"title": "Funky Serif Purple",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,95 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#542723",
"name": "Base",
"slug": "base"
},
{
"color": "#ffdef7",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ffdef7",
"name": "Primary",
"slug": "primary"
},
{
"color": "#ffdef7",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#6d3731",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": null,
"left": {
"style": "none",
"width": "0px"
},
"radius": "100px",
"right": {
"style": "none",
"width": "0px"
},
"style": null,
"top": {
"style": "none",
"width": "0px"
},
"width": null
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/search": {
"border": {
"radius": "100px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme-expanded)",
"fontSize": "3.6rem"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontStyle": "normal",
"fontWeight": "700"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--zilla-slab)",
"fontSize": "1.5rem",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.3"
}
},
"title": "Funky Slab Brown",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,95 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#f5c1ad",
"name": "Base",
"slug": "base"
},
{
"color": "#24101f",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#24101f",
"name": "Primary",
"slug": "primary"
},
{
"color": "#24101f",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#eab39d",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": null,
"left": {
"style": "none",
"width": "0px"
},
"radius": "100px",
"right": {
"style": "none",
"width": "0px"
},
"style": null,
"top": {
"style": "none",
"width": "0px"
},
"width": null
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/search": {
"border": {
"radius": "100px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme-expanded)",
"fontSize": "3.6rem"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontStyle": "normal",
"fontWeight": "700"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--zilla-slab)",
"fontSize": "1.5rem",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.3"
}
},
"title": "Funky Slab Desert",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,110 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#feeee8",
"name": "Base",
"slug": "base"
},
{
"color": "#11620a",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#11620a",
"name": "Primary",
"slug": "primary"
},
{
"color": "#11620a",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#f8e0d8",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": null,
"left": {
"style": "none",
"width": "0px"
},
"radius": "100px",
"right": {
"style": "none",
"width": "0px"
},
"style": null,
"top": {
"style": "none",
"width": "0px"
},
"width": null
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/cover": {
"filter": {
"duotone": "var(--wp--preset--duotone--duotone-1)"
}
},
"core/image": {
"filter": {
"duotone": "var(--wp--preset--duotone--duotone-1)"
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--duotone-1)"
}
},
"core/search": {
"border": {
"radius": "100px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme-expanded)",
"fontSize": "3.6rem"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontStyle": "normal",
"fontWeight": "700"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--zilla-slab)",
"fontSize": "1.5rem",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.3"
}
},
"title": "Funky Slab Linen",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,95 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#5b5b39",
"name": "Base",
"slug": "base"
},
{
"color": "#fffb83",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#fffb83",
"name": "Primary",
"slug": "primary"
},
{
"color": "#fffb83",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#535332",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": null,
"left": {
"style": "none",
"width": "0px"
},
"radius": "100px",
"right": {
"style": "none",
"width": "0px"
},
"style": null,
"top": {
"style": "none",
"width": "0px"
},
"width": null
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/search": {
"border": {
"radius": "100px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme-expanded)",
"fontSize": "3.6rem"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontStyle": "normal",
"fontWeight": "700"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--zilla-slab)",
"fontSize": "1.5rem",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.3"
}
},
"title": "Funky Slab Olive",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,36 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#fefefe",
"name": "Base",
"slug": "base"
},
{
"color": "#1a1a1a",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#1a1a1a",
"name": "Primary",
"slug": "primary"
},
{
"color": "#555555",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#eeeeee",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"title": "White",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,17 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"var:preset|spacing|50","margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)"><!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide"><!-- wp:heading {"textAlign":"left","level":1,"fontSize":"large"} -->
<h1 class="wp-block-heading has-text-align-left has-large-font-size" id="oops-that-page-can-t-be-found">Oops! That page cant be found.</h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>It looks like nothing was found at this location. Maybe try a search?</p>
<!-- /wp:paragraph -->
<!-- wp:search {"label":""} /--></div>
<!-- /wp:group --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,33 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:query {"queryId":1,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-query"><!-- wp:query-title {"type":"archive","textAlign":"left","align":"wide","style":{"spacing":{"margin":{"bottom":"100px"}}},"fontSize":"large"} /-->
<!-- wp:post-template {"align":"wide"} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|60"}}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"auto"} /-->
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"post-meta"} /-->
<!-- wp:post-title {"textAlign":"left","isLink":true} /--></div>
<!-- /wp:group -->
<!-- wp:post-excerpt /-->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide"><!-- wp:query-pagination {"paginationArrow":"chevron","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

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

View file

@ -1,31 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:query {"queryId":1,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-query"><!-- wp:post-template {"align":"wide"} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|60"}}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"auto"} /-->
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"post-meta"} /-->
<!-- wp:post-title {"textAlign":"left","isLink":true} /--></div>
<!-- /wp:group -->
<!-- wp:post-excerpt /-->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide"><!-- wp:query-pagination {"paginationArrow":"chevron","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,19 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"layout":{"type":"constrained"}} -->
<main class="wp-block-group"><!-- wp:post-featured-image {"aspectRatio":"3/2","align":"wide"} /-->
<!-- wp:spacer {"height":"30px"} -->
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-title {"textAlign":"left","align":"wide","fontSize":"x-large"} /--></main>
<!-- /wp:group -->
<!-- wp:group {"lock":{"move":false,"remove":true},"align":"full","layout":{"type":"default"}} -->
<div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignfull" style="padding-right:0;padding-left:0"><!-- wp:post-content {"lock":{"move":false,"remove":false},"align":"full","layout":{"type":"constrained"}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,41 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:query-title {"type":"search","fontSize":"large"} /-->
<!-- wp:search {"showLabel":false} /-->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- wp:query {"queryId":1,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-query"><!-- wp:post-template {"align":"wide"} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|60"}}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"auto"} /-->
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"post-meta"} /-->
<!-- wp:post-title {"textAlign":"left","isLink":true} /--></div>
<!-- /wp:group -->
<!-- wp:post-excerpt /-->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide"><!-- wp:query-pagination {"paginationArrow":"chevron","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,61 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"layout":{"type":"constrained"}} -->
<main class="wp-block-group"><!-- wp:template-part {"slug":"post-meta","align":"wide"} /-->
<!-- wp:post-title {"textAlign":"left","align":"wide","fontSize":"x-large"} /-->
<!-- wp:spacer {"height":"30px"} -->
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-featured-image {"aspectRatio":"auto","align":"wide"} /--></main>
<!-- /wp:group -->
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignfull" style="padding-right:0;padding-left:0"><!-- wp:post-content {"lock":{"move":false,"remove":false},"align":"full","layout":{"type":"constrained"}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:spacer {"height":"4rem"} -->
<div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- 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 {"style":{"spacing":{"blockGap":"0.5em"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<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 {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}},"layout":{"type":"flex"}} -->
<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 {"paginationArrow":"chevron","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->
<!-- wp:post-comments-form /--></div>
<!-- /wp:comments --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,733 +0,0 @@
{
"settings": {
"appearanceTools": true,
"color": {
"duotone": [
{
"colors": [
"#4F9249",
"#FEEEE8"
],
"name": "Green",
"slug": "duotone-1"
},
{
"colors": [
"#BC2BE0",
"#F3F3F3"
],
"name": "Purple",
"slug": "duotone-2"
}
],
"palette": [
{
"color": "#ce0808",
"name": "Base",
"slug": "base"
},
{
"color": "#ffffff",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ffffff",
"name": "Primary",
"slug": "primary"
},
{
"color": "#ffffff",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#b80c0c",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"layout": {
"contentSize": "800px",
"wideSize": "800px"
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"fluid": true,
"fontFamilies": [
{
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
},
{
"fontFace": [
{
"fontFamily": "BioRhyme Expanded",
"fontStyle": "normal",
"fontWeight": "800",
"src": [
"file:./assets/fonts/biorhyme-expanded_normal_800.ttf"
]
}
],
"fontFamily": "BioRhyme Expanded",
"slug": "biorhyme-expanded"
},
{
"fontFace": [
{
"fontFamily": "Instrument Serif",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/instrument-serif_italic_400.ttf"
]
},
{
"fontFamily": "Instrument Serif",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/instrument-serif_normal_400.ttf"
]
}
],
"fontFamily": "Instrument Serif",
"slug": "instrument-serif"
},
{
"fontFace": [
{
"fontFamily": "Public Sans",
"fontStyle": "normal",
"fontWeight": "200",
"src": [
"file:./assets/fonts/public-sans_normal_200.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/public-sans_normal_300.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/public-sans_normal_400.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/public-sans_normal_500.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/public-sans_normal_600.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/public-sans_normal_700.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "italic",
"fontWeight": "200",
"src": [
"file:./assets/fonts/public-sans_italic_200.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "italic",
"fontWeight": "300",
"src": [
"file:./assets/fonts/public-sans_italic_300.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/public-sans_italic_400.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/public-sans_italic_500.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/public-sans_italic_600.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/public-sans_italic_700.ttf"
]
}
],
"fontFamily": "Public Sans",
"slug": "public-sans"
},
{
"fontFace": [
{
"fontFamily": "BioRhyme",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/biorhyme_normal_400.ttf"
]
},
{
"fontFamily": "BioRhyme",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/biorhyme_normal_700.ttf"
]
}
],
"fontFamily": "BioRhyme",
"slug": "biorhyme"
},
{
"fontFace": [
{
"fontFamily": "Zilla Slab",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/zilla-slab_normal_300.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "italic",
"fontWeight": "300",
"src": [
"file:./assets/fonts/zilla-slab_italic_300.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/zilla-slab_normal_400.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/zilla-slab_italic_400.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/zilla-slab_normal_500.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/zilla-slab_italic_500.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/zilla-slab_normal_600.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/zilla-slab_italic_600.ttf"
]
}
],
"fontFamily": "Zilla Slab",
"slug": "zilla-slab"
},
{
"fontFace": [
{
"fontFamily": "Libre Caslon Condensed",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/libre-caslon-condensed_normal_400.otf"
]
},
{
"fontFamily": "Libre Caslon Condensed",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/libre-caslon-condensed_italic_400.otf"
]
},
{
"fontFamily": "Libre Caslon Condensed",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/libre-caslon-condensed_normal_700.otf"
]
},
{
"fontFamily": "Libre Caslon Condensed",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/libre-caslon-condensed_italic_700.otf"
]
}
],
"fontFamily": "Libre Caslon Condensed",
"slug": "libre-caslon-condensed"
}
],
"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": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": "var(--wp--preset--color--contrast)",
"left": {
"style": "none",
"width": "0px"
},
"radius": "0.25rem",
"right": {
"style": "none",
"width": "0px"
},
"style": "solid",
"top": {
"style": "none",
"width": "0px"
},
"width": "2px"
},
"color": {
"background": "var(--wp--preset--color--tertiary)"
},
"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-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-terms": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"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": "normal",
"fontWeight": "400",
"lineHeight": "1.4",
"textTransform": "none"
}
},
"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--contrast)"
}
},
"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": "2.9rem",
"fontStyle": "normal",
"fontWeight": "600"
}
}
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"css": "a:any-link {\ncursor: auto;\n text-decoration-thickness: .02em !important;\n text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n text-decoration: none;\n}",
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
},
"outline": {
"color": "var(--wp--preset--color--primary)",
"offset": "2px",
"style": "dotted",
"width": "1px"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--base)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h3": {
"typography": {
"fontSize": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 0.4808)), 1.75rem)"
}
},
"h4": {
"typography": {
"fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--public-sans)",
"fontStyle": "normal",
"fontWeight": "500",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--secondary)"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)",
"padding": {
"bottom": "0",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--public-sans)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.5"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 951 KiB

View file

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

View file

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

View file

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

View file

@ -1 +0,0 @@
<!-- wp:pattern {"slug":"adventurer/post-meta"} /-->

View file

@ -1 +0,0 @@
<!-- wp:pattern {"slug":"adventurer/secondary-header"} /-->

Some files were not shown because too many files have changed in this diff Show more