mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-19 01:43:44 +03:00
![]() Adding the `button` mixin into `input[type="submit"] caused conflicts with the other button classes (`.button-primary`) due to specificity. The button classes should be used on all buttons instead. This also updates which button on the Manage Pledge form is the "primary" action, since it's easy to skip the Update button when it's not primary. |
||
---|---|---|
.. | ||
css | ||
images | ||
js | ||
template-parts | ||
404.php | ||
archive-5ftf_pledge.php | ||
archive.php | ||
footer.php | ||
functions.php | ||
Gruntfile.js | ||
header.php | ||
index.php | ||
package-lock.json | ||
package.json | ||
page.php | ||
README.md | ||
screenshot.png | ||
search.php | ||
searchform.php | ||
single-5ftf_pledge.php | ||
single.php | ||
style.css |
WordPress.org Five for the Future theme
WordPress theme for the Five for the Future subsite.
Developing
npm install
grunt watch
Make CSS changes in the css/
folder, and css/style.css
will be rebuilt automatically.
Committing
Before committing changes to css/
, please run grunt build
to keep the file size down.
Miscellaneous
The canonical source for this project is github.com/WordPress/five-for-the-future. The contents are synced to the dotorg SVN repo to run on production, because we don't deploy directly from GitHub, for reliability reasons.
The production copy lives in themes/
instead of themes/pub
, because it's already open in GitHub, and we don't want to clutter the Meta repo logs and Slack channels with noise from "Syncing w/ Git repository..." commits.