PHP 8.1.33
Preview: contributing.txt Size: 1.20 KB
/home/jambtst2015/www/wp-content/themes/twentynineteen/contributing.txt

=== Contributing to Twenty Nineteen ===

= Compiling SCSS =

Twenty Nineteen relies on Sass, which allows us to more easily share code between multiple stylesheets (style.css, style-editor.css, etc.). To compile Sass files (.scss), use the built-in npm build tool. The build tool will make sure that your compiled CSS code stays in sync and has the correct formatting.

Installation instructions

1. Using a command line interface, go to the “twentynineteen” directory `cd /my-computer/local-wordpress-install/src/wp-content/themes/twentynineteen`.

2. Type `npm install` into the command line, and press the [return] key, to install all Node.js dependencies.

3. The dependencies may take a few minutes to download but once it completes, you’re done.

Usage instructions

1. After making a change to a .scss file, run `npm run build` from within the theme directory to build the CSS files with your new changes. You may need to run the build command twice to update style-rtl.css (because the RTL process might update from style.css before that is updated from Sass file changes).

2. You can also “watch” the theme directory for Sass changes and rebuild the CSS anytime a change occurs by running: `npm run watch`.

Directory Contents

Dirs: 7 × Files: 28

Name Size Perms Modified Actions
classes DIR
- drwxr-xr-x 2024-11-22 17:53:05
Edit Download
fonts DIR
- drwxr-xr-x 2024-11-22 17:53:05
Edit Download
images DIR
- drwxr-xr-x 2024-11-22 17:53:05
Edit Download
inc DIR
- drwxr-xr-x 2024-11-22 17:53:05
Edit Download
js DIR
- drwxr-xr-x 2024-11-22 17:53:05
Edit Download
sass DIR
- drwxr-xr-x 2024-11-22 17:53:05
Edit Download
- drwxr-xr-x 2024-11-22 17:53:05
Edit Download
123 B lrw-r--r-- 2024-11-22 17:53:05
Edit Download
846 B lrw-r--r-- 2024-11-22 17:53:05
Edit Download
1.21 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
3.91 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
1.20 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
1.58 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
10.05 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
1.84 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
2.81 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
1.04 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
107.88 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
1.47 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
766 B lrw-r--r-- 2024-11-22 17:53:05
Edit Download
219 B lrw-r--r-- 2024-11-22 17:53:05
Edit Download
3.86 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
3.24 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
3.14 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
171.42 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
1.33 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
1.75 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
159 B lrw-r--r-- 2024-11-22 17:53:05
Edit Download
158 B lrw-r--r-- 2024-11-22 17:53:05
Edit Download
72.96 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
17.41 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
220.13 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
220.32 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
15.35 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download
2.77 KB lrw-r--r-- 2024-11-22 17:53:05
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).