Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version bump #1

Merged
merged 121 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
7f45932
📝 update README
retlehs Aug 11, 2022
7bafa7c
Fix broken doc URL (#3086)
ya-luotao Sep 19, 2022
dec43c4
⬆️ Bump Bud to v6.4.1 (#3087)
renovate[bot] Sep 20, 2022
5544c50
⬆️ Bump Bud to v6.4.2 (#3089)
renovate[bot] Sep 23, 2022
7332184
⬆️ Bump Bud to v6.4.3 (#3090)
renovate[bot] Sep 24, 2022
972f4cd
improve: set `theme.json` colors in tailwind conf
kellymears Mar 5, 2022
fb8de9a
🔧 account for #3002
retlehs Mar 9, 2022
a2bd26a
🚧 theme.json generator updates
retlehs Sep 23, 2022
8e37498
🔧 theme.json generator - move Tailwind to end
retlehs Sep 24, 2022
74bad62
🔧 Remove test color
retlehs Sep 24, 2022
b063fa0
🔧 Generated theme.json
retlehs Sep 24, 2022
1b79a94
Merge pull request #2999 from roots/feat-bud-config
kellymears Sep 25, 2022
2e05b35
⬆️ Bump Bud to v6.4.4 (#3091)
renovate[bot] Sep 28, 2022
3d7dc7a
🔖 v10.3.0
retlehs Sep 28, 2022
c326d50
🔧 10.x-dev
retlehs Sep 28, 2022
634e1f3
🔧 Update Renovate config
retlehs Oct 4, 2022
05be790
👷 CI: Run Pint (#3088)
retlehs Oct 4, 2022
b0adc8b
chore(deps): ⬆️ bump bud to v6.4.5 (#3094)
renovate[bot] Oct 4, 2022
6235f2f
🔖 v10.3.1
retlehs Oct 4, 2022
20f92eb
🔧 10.x-dev
retlehs Oct 4, 2022
026e1e5
🔥 Remove default duotone filters from theme.json (#3101)
joshuafredrickson Nov 4, 2022
3d767ac
chore(deps): ⬆️ bump bud to v6.6.0 (#3096)
renovate[bot] Nov 16, 2022
fd72d7a
chore(deps): ⬆️ bump bud to v6.6.1 (#3102)
renovate[bot] Nov 17, 2022
2aef9a2
chore(deps): ⬆️ bump bud to v6.6.2 (#3103)
renovate[bot] Nov 20, 2022
c7d5324
💡 Update WordPress documentation links (#3107)
joshuafredrickson Dec 1, 2022
009298f
✨ improve: .editorconfig `quote_type`
kellymears Dec 23, 2022
8a62486
✨ improve: jsconfig.json
kellymears Dec 23, 2022
8865b86
sage as esm; bump to 6.6.6
kellymears Dec 23, 2022
f4474ec
bud.config.mjs -> bud.config.js
kellymears Dec 23, 2022
fe2885d
✨ improve: js boilerplate
kellymears Dec 23, 2022
0f0fd69
📦 yarn.lock
kellymears Dec 23, 2022
fce1ab7
📦 update: 6.6.8
kellymears Dec 31, 2022
d23fcfb
6.6.9
kellymears Jan 3, 2023
b63f877
Merge pull request #3111 from roots/km-6.6.6
kellymears Jan 3, 2023
8e310ae
🩹 Fix badge
retlehs Jan 3, 2023
4c93089
🔖 v10.4.0
retlehs Jan 4, 2023
cd52858
🔧 10.x-dev
retlehs Jan 4, 2023
7eb78a0
📝 Update README
retlehs Jan 10, 2023
d644887
📝 Update README
retlehs Jan 23, 2023
353a607
🔍️ Posts: Use latest h-entry microformat (#3115)
retlehs Jan 24, 2023
9aa9c00
chore(deps): ⬆️ bump bud to v6.7.1 (#3106)
renovate[bot] Jan 24, 2023
6f2b46d
chore(deps): ⬆️ bump bud to v6.7.2 (#3116)
renovate[bot] Jan 25, 2023
e0f9f7c
chore(deps): ⬆️ bump bud to v6.7.3 (#3117)
renovate[bot] Jan 26, 2023
3b4b261
🔖 v10.4.1
retlehs Jan 26, 2023
523c99c
🔧 10.x-dev
retlehs Jan 26, 2023
03386f0
🔧 Acorn v3 (Laravel 9.x), drop PHP 7.4 support (#3097)
retlehs Jan 27, 2023
d5f5fbe
🔖 v10.5.0
retlehs Jan 27, 2023
51d60f9
🔧 10.x-dev
retlehs Jan 27, 2023
07f2807
🧑‍💻 Check that the Acorn bootloader exists before booting (#3121)
Log1x Feb 3, 2023
7129b9b
⬆️ Bump Bud to v6.8.0 (#3120)
renovate[bot] Feb 4, 2023
40dedd6
🔖 v10.5.1
retlehs Feb 5, 2023
eb41bd8
🔧 10.x-dev
retlehs Feb 5, 2023
e99867d
📝 Update README, update requirement for Acorn v3 (#3124)
dsturm Feb 6, 2023
d22e393
🔧 Bump required PHP version in style.css (#3125)
joshuafredrickson Feb 6, 2023
d1e1c8e
chore(deps): ⬆️ bump bud to v6.9.0 (#3123)
renovate[bot] Feb 8, 2023
d6e6e21
🔧 Use `wp i18n update-po` for updating PO files (#3081)
strarsis Feb 22, 2023
41c7f2c
📝 Update README
retlehs Feb 28, 2023
46e0a84
📝 Update README [ci skip]
retlehs Mar 8, 2023
fe34ad8
chore(deps): ⬆️ bump bud to v6.11.0 (#3126)
renovate[bot] Mar 9, 2023
102778a
📝 Update README [ci skip]
retlehs Mar 25, 2023
cc94b1b
bump: [email protected] & improvements (#3128)
kellymears Apr 5, 2023
a2c29f4
chore(deps): ⬆️ bump bud to v6.12.1 (#3134)
renovate[bot] Apr 28, 2023
505c310
chore(deps): ⬆️ bump bud to v6.12.2 (#3135)
renovate[bot] May 3, 2023
27a63ec
🩹 fix: core/button block style (#3130)
kellymears May 9, 2023
3159cad
🔖 v10.6.0
retlehs May 9, 2023
c0d3dd8
🔧 10.x-dev
retlehs May 9, 2023
1bbd32b
📦 deps: upgrade @roots/bud to 6.16.1 (#3146)
kellymears Sep 27, 2023
b022da2
chore(deps): ⬆️ bump squizlabs/php_codesniffer to v3.7.2 (#3127)
renovate[bot] Sep 27, 2023
b123a6b
chore(deps): ⬆️ bump actions/setup-node action to v3 (#3084)
renovate[bot] Sep 27, 2023
3c366a8
chore(deps): ⬆️ bump actions/checkout action to v4 (#3147)
renovate[bot] Sep 27, 2023
c6e9191
fix: update default app.css tailwind syntax to use @tailwind (#3149) …
talss89 Sep 27, 2023
14f2f9a
🔖 v10.7.0
retlehs Sep 27, 2023
806993d
🔧 10.x-dev
retlehs Sep 27, 2023
be730d9
📝 Update README [ci skip]
retlehs Sep 27, 2023
be5281c
📝 Update README [ci skip]
retlehs Oct 11, 2023
285a273
📝 Update README [ci skip]
retlehs Dec 7, 2023
00691cb
💡 Update links in bud.config.js (#3154)
adrianenriquez Dec 8, 2023
2208c11
🌐 Include `theme.json`; `patterns/` in translation scan command (#3076)
strarsis Dec 8, 2023
4495474
chore(deps): ⬆️ bump stefanzweifel/git-auto-commit-action action to v…
renovate[bot] Dec 8, 2023
f53aee2
chore(deps): ⬆️ bump actions/setup-node action to v4 (#3156)
renovate[bot] Dec 8, 2023
8109f7d
♻️ Check `wp_link_pages` before rendering in `content-single.blade.ph…
blift Dec 8, 2023
588297f
📝 Update README [ci skip]
retlehs Dec 11, 2023
dd114a4
🎨 Move default theme markup to the `app` layout
Log1x Dec 19, 2023
b94e545
🔧 Remove `index.php` from the Tailwind config
Log1x Dec 19, 2023
aa2d276
🎨 Run Pint
Log1x Dec 19, 2023
3c07fae
👷 Stop the madness (#3168)
Log1x Dec 19, 2023
66a3982
🚨 Run phpcbf
Log1x Dec 19, 2023
5cd2c43
✨ Editor: Add background image support (#3169)
retlehs Dec 19, 2023
94a1787
🩹 Move `get_header` hook above `wp_head()` (Fixes #3171)
Log1x Jan 4, 2024
5b07f46
🎨 Make the Alert component anonymous
Log1x Jan 4, 2024
6f46605
🎨 Move default theme markup to the `app` layout (#3167)
Log1x Jan 5, 2024
f57d9aa
🎨 Make the Alert component anonymous (#3173)
Log1x Jan 5, 2024
6bb5325
🔥 Remove Soil features (#3172)
retlehs Jan 16, 2024
cca3ffa
chore(deps): ⬆️ bump bud to v6.20.0 (#3137)
renovate[bot] Jan 18, 2024
eccb8ba
🔧 Bump minimum Node.js version to v20 (#3175)
retlehs Jan 18, 2024
bf4c775
🔧 Bump minimum PHP version to 8.1 (#3176)
retlehs Jan 18, 2024
f44d6b8
Use `npm` for translate scripts execution (#3174)
strarsis Jan 18, 2024
4301b28
chore(deps): ⬆️ bump squizlabs/php_codesniffer to v3.8.1 (#3163)
renovate[bot] Jan 18, 2024
a3807c7
chore(deps): ⬆️ bump actions/labeler action to v5 (#3164)
renovate[bot] Jan 18, 2024
e27af62
👷 Replace phpcs with Pint (#3161)
Log1x Jan 18, 2024
ad93e8b
👷 Fix labeler action (#3177)
retlehs Jan 18, 2024
c72f14c
🎨 Move comment logic into a dedicated Composer (#3162)
Log1x Jan 18, 2024
e5b06d3
Fix for multiple .po files (#3155)
sandrowuermli Jan 18, 2024
8bbc14e
🩹 Comments title: Fix make-pot warning (#3178)
retlehs Jan 18, 2024
c841a02
chore(deps): ⬆️ bump actions/cache action to v4 (#3180)
renovate[bot] Jan 18, 2024
0365fb2
♿️ Add accessible names to nav elements (#3179)
retlehs Jan 18, 2024
2e17f81
🔧 Remove sage-svg suggestion
retlehs Jan 26, 2024
6889872
🔧 Build
retlehs Jan 30, 2024
c6ff216
🔖 v10.8.0
retlehs Jan 30, 2024
f0c5224
🔧 10.x-dev
retlehs Jan 30, 2024
0fe7047
🔧 Bump minimum PHP version to 8.1 in `style.css` (#3181)
dsturm Feb 1, 2024
4ff19c7
🩹 Fix exception being thrown when listing comments (#3182)
Log1x Feb 1, 2024
947831a
🔖 v10.8.1
retlehs Feb 1, 2024
3932435
🔧 10.x-dev
retlehs Feb 1, 2024
a86946e
👷 Fix deprecation errors in CI Action (#3183)
dr5hn Feb 2, 2024
308cc20
🩹 Fix the comment list output (#3184)
Log1x Feb 2, 2024
081782f
🔖 v10.8.2
retlehs Feb 6, 2024
5693139
🔧 10.x-dev
retlehs Feb 6, 2024
56a1211
📝 Update README [ci skip]
retlehs Apr 4, 2024
d58fcc7
🩹 Add missing text domain to skip link (#3190)
marcelo2605 May 29, 2024
f1b9646
📝 Update README [ci skip]
retlehs Jun 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
quote_type = single

[*.md]
trim_trailing_whitespace = false
Expand Down
38 changes: 22 additions & 16 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
build:
- .eslintrc.js
- .prettierrc
- .stylelintrc
- bud.config.js
- tsconfig.json

- changed-files:
- any-glob-to-any-file:
- .eslintrc.js
- .prettierrc
- .stylelintrc
- bud.config.js
- tsconfig.json
dependencies:
- yarn.lock

- changed-files:
- any-glob-to-any-file:
- yarn.lock
javascript:
- resources/scripts/**/*.js

- changed-files:
- any-glob-to-any-file:
- resources/scripts/**/*.js
php:
- functions.php
- app/**/*.php
- resources/views/**/*.php

- changed-files:
- any-glob-to-any-file:
- functions.php
- app/**/*.php
- resources/views/**/*.php
views:
- index.php
- resources/views/**/*.php
- changed-files:
- any-glob-to-any-file:
- index.php
- resources/views/**/*.php
14 changes: 7 additions & 7 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"baseBranches": ["main"],
"commitMessageAction": "Bump",
"commitMessageTopic": "📦 update {{depName}}",
"extends": ["config:base", "schedule:daily"],
"commitMessageAction": "⬆️ Bump",
"commitMessageTopic": "{{depName}}",
"extends": ["config:base", "schedule:weekly"],
"packageRules": [
{
"automerge": true,
"matchUpdateTypes": ["minor", "patch", "pin"]
},
{
"groupName": "roots",
"matchPackagePrefixes": ["@roots/"]
"groupName": "Bud",
"matchPackagePrefixes": ["@roots/"],
"schedule": ["at any time"]
}
],
"timezone": "America/Los_Angeles"
"timezone": "America/Chicago"
}
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
31 changes: 11 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,20 @@ jobs:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
node: ['16']
node: ['20']

steps:
- name: Checkout the project
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup the Node ${{ matrix.node }} environment on ${{ runner.os }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Restore the Yarn cache directory
id: yarncache
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v3
with:
path: ${{ steps.yarncache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-${{ matrix.node }}-yarn-

- name: Install dependencies using Yarn
run: yarn install --frozen-lockfile

Expand All @@ -53,25 +44,25 @@ jobs:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
php: ['7.4', '8.0', '8.1']
php: ['8.1', '8.2']

steps:
- name: Checkout the project
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup the PHP ${{ matrix.php }} environment on ${{ runner.os }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Restore the Composer cache directory
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
Expand All @@ -80,5 +71,5 @@ jobs:
- name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader --no-suggest

- name: Execute the PHP lint script
run: composer run-script lint
- name: Run Pint
run: vendor/bin/pint --test
68 changes: 0 additions & 68 deletions CHANGELOG.md

This file was deleted.

123 changes: 20 additions & 103 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,133 +5,50 @@
</p>

<p align="center">
<a href="LICENSE.md">
<img alt="MIT License" src="https://img.shields.io/github/license/roots/sage?color=%23525ddc&style=flat-square" />
</a>

<a href="https://packagist.org/packages/roots/sage">
<img alt="Packagist" src="https://img.shields.io/packagist/v/roots/sage.svg?style=flat-square" />
<img alt="Packagist Installs" src="https://img.shields.io/packagist/dt/roots/sage?label=projects%20created&colorB=2b3072&colorA=525ddc&style=flat-square">
</a>

<a href="https://github.com/roots/sage/actions">
<img alt="Build Status" src="https://img.shields.io/github/workflow/status/roots/sage/Main?style=flat-square" />
<a href="https://github.com/roots/sage/actions/workflows/main.yml">
<img alt="Build Status" src="https://img.shields.io/github/actions/workflow/status/roots/sage/main.yml?branch=main&logo=github&label=CI&style=flat-square">
</a>

<a href="https://twitter.com/rootswp">
<img alt="Follow Roots" src="https://img.shields.io/twitter/follow/rootswp.svg?style=flat-square&color=1da1f2" />
<img alt="Follow Roots" src="https://img.shields.io/badge/follow%20@rootswp-1da1f2?logo=twitter&logoColor=ffffff&message=&style=flat-square">
</a>
</p>

<p align="center">
<strong>WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow</strong>
</p>
<p align="center">Advanced WordPress starter theme with Tailwind CSS and Laravel Blade</p>

<p align="center">
<a href="https://roots.io/"><strong><code>Website</code></strong></a> &nbsp;&nbsp; <a href="https://docs.roots.io/sage/10.x/installation/"><strong><code>Documentation</code></strong></a> &nbsp;&nbsp; <a href="https://github.com/roots/sage/releases"><strong><code>Releases</code></strong></a> &nbsp;&nbsp; <a href="https://discourse.roots.io/"><strong><code>Support</code></strong></a>
<a href="https://roots.io/sage/">Website</a> &nbsp;&nbsp; <a href="https://roots.io/sage/docs/installation/">Documentation</a> &nbsp;&nbsp; <a href="https://github.com/roots/sage/releases">Releases</a> &nbsp;&nbsp; <a href="https://discourse.roots.io/">Community</a>
</p>

## Sponsors

**Sage** is an open source project and completely free to use.

However, the amount of effort needed to maintain and develop new features and products within the Roots ecosystem is not sustainable without proper financial backing. If you have the capability, please consider [sponsoring Roots](https://github.com/sponsors/roots).

<p align="center"><a href="https://github.com/sponsors/roots"><img height="32" src="https://img.shields.io/badge/sponsor%20roots-525ddc?logo=github&logoColor=ffffff&message=" alt="Sponsor Roots"></a></p>
Sage is an open source project and completely free to use. If you've benefited from our projects and would like to support our future endeavors, please consider [sponsoring Roots](https://github.com/sponsors/roots).

<div align="center">
<a href="https://k-m.com/"><img src="https://cdn.roots.io/app/uploads/km-digital.svg" alt="KM Digital" width="148" height="111"></a> <a href="https://carrot.com/"><img src="https://cdn.roots.io/app/uploads/carrot.svg" alt="Carrot" width="148" height="111"></a> <a href="https://www.c21redwood.com/"><img src="https://cdn.roots.io/app/uploads/c21redwood.svg" alt="C21 Redwood Realty" width="148" height="111"></a> <a href="https://wordpress.com/"><img src="https://cdn.roots.io/app/uploads/wordpress.svg" alt="WordPress.com" width="148" height="111"></a>

<a href="https://icons8.com/"><img src="https://cdn.roots.io/app/uploads/icons8.svg" alt="Icons8" width="148" height="111"></a> <a href="https://generodigital.com/"><img src="https://cdn.roots.io/app/uploads/genero.svg" alt="Genero" width="148" height="111"></a> <a href="https://40q.agency/"><img src="https://cdn.roots.io/app/uploads/40q.svg" alt="40Q" width="148" height="111"></a> <a href="https://pantheon.io/"><img src="https://cdn.roots.io/app/uploads/pantheon.svg" alt="Pantheon" width="148" height="111"></a>
<a href="https://k-m.com/"><img src="https://cdn.roots.io/app/uploads/km-digital.svg" alt="KM Digital" width="120" height="90"></a> <a href="https://carrot.com/"><img src="https://cdn.roots.io/app/uploads/carrot.svg" alt="Carrot" width="120" height="90"></a> <a href="https://wordpress.com/"><img src="https://cdn.roots.io/app/uploads/wordpress.svg" alt="WordPress.com" width="120" height="90"></a> <a href="https://worksitesafety.ca/careers/"><img src="https://cdn.roots.io/app/uploads/worksite-safety.svg" alt="Worksite Safety" width="120" height="90"></a> <a href="https://40q.agency/"><img src="https://cdn.roots.io/app/uploads/40q.svg" alt="40Q" width="120" height="90"></a> <a href="https://www.itineris.co.uk/"><img src="https://cdn.roots.io/app/uploads/itineris.svg" alt="Itineris" width="120" height="90"></a>
</div>

## Overview

## Features

- Harness the power of [Laravel](https://laravel.com) and its available packages thanks to [Acorn](https://github.com/roots/acorn).
- Clean, efficient theme templating utilizing [Laravel Blade](https://laravel.com/docs/master/blade).
- Lightning fast frontend development workflow powered by [Bud](https://bud.js.org/).
- Out of the box support for [Tailwind CSS](https://tailwindcss.com/).

## Requirements

Make sure all dependencies have been installed before moving on:

- [Acorn](https://docs.roots.io/acorn/2.x/installation/) v2
- [WordPress](https://wordpress.org/) >= 5.9
- [PHP](https://secure.php.net/manual/en/install.php) >= 7.4.0 (with [`php-mbstring`](https://secure.php.net/manual/en/book.mbstring.php) enabled)
- [Composer](https://getcomposer.org/download/)
- [Node.js](http://nodejs.org/) >= 16
- [Yarn](https://yarnpkg.com/en/docs/install)

## Theme installation

Install Sage using Composer from your WordPress themes directory (replace `your-theme-name` below with the name of your theme):

```sh
# @ app/themes/ or wp-content/themes/
$ composer create-project roots/sage your-theme-name
```

To install the latest development version of Sage, add `dev-main` to the end of the command:

```sh
$ composer create-project roots/sage your-theme-name dev-main
```

Make sure that you have [Acorn installed](https://docs.roots.io/acorn/2.x/installation/).

## Theme structure

```sh
themes/your-theme-name/ # → Root of your Sage based theme
├── app/ # → Theme PHP
│ ├── Providers/ # → Service providers
│ ├── View/ # → View models
│ ├── filters.php # → Theme filters
│ └── setup.php # → Theme setup
├── composer.json # → Autoloading for `app/` files
├── public/ # → Built theme assets (never edit)
├── functions.php # → Theme bootloader
├── index.php # → Theme template wrapper
├── node_modules/ # → Node.js packages (never edit)
├── package.json # → Node.js dependencies and scripts
├── resources/ # → Theme assets and templates
│ ├── fonts/ # → Theme fonts
│ ├── images/ # → Theme images
│ ├── scripts/ # → Theme javascript
│ ├── styles/ # → Theme stylesheets
│ └── views/ # → Theme templates
│ ├── components/ # → Component templates
│ ├── forms/ # → Form templates
│ ├── layouts/ # → Base templates
│ ├── partials/ # → Partial templates
└── sections/ # → Section templates
├── screenshot.png # → Theme screenshot for WP admin
├── style.css # → Theme meta information
├── vendor/ # → Composer packages (never edit)
└── bud.config.js # → Bud configuration
```

## Theme setup

Edit `app/setup.php` to enable or disable theme features, setup navigation menus, post thumbnail sizes, and sidebars.

## Theme development

- Run `yarn` from the theme directory to install dependencies
- Update `bud.config.js` with your local dev URL
Sage is a WordPress starter theme with block editor support.

### Build commands
- Harness the power of [Laravel](https://laravel.com) and its available packages thanks to [Acorn](https://github.com/roots/acorn)
- Clean, efficient theme templating utilizing [Laravel Blade](https://laravel.com/docs/master/blade)
- Modern frontend development workflow powered by [Bud](https://bud.js.org/)
- Out of the box support for [Tailwind CSS](https://tailwindcss.com/)

- `yarn dev` — Compile assets when file changes are made, start Browsersync session
- `yarn build` — Compile assets for production
## Getting Started

## Community
See the [Sage installation documentation](https://roots.io/sage/docs/installation/).

Keep track of development and community news.
## Stay Connected

- Join us on Discord by [sponsoring us on GitHub](https://github.com/sponsors/roots)
- Participate on the [Roots Discourse](https://discourse.roots.io/)
- Participate on [Roots Discourse](https://discourse.roots.io/)
- Follow [@rootswp on Twitter](https://twitter.com/rootswp)
- Read and subscribe to the [Roots Blog](https://roots.io/blog/)
- Subscribe to the [Roots Newsletter](https://roots.io/subscribe/)
- Read the [Roots Blog](https://roots.io/blog/)
- Subscribe to the [Roots Newsletter](https://roots.io/newsletter/)
Loading
Loading