=== Contributing to Twenty Twenty-Two === = Minifying CSS = Twenty Twenty-Two has a single stylesheet `style.css` which is enqueued in addition to the global styles coming from core. On a normal production site, when `SCRIPT_DEBUG` is disabled, then the minified version `style.min.css` will be enqueued instead. If you make a change to `style.css`, you'll need to re-minify the `style.min.css` using the built-in npm build tool. As always, it is preferable to use the Site Editor to supply Additional CSS instead of directly editing the theme stylesheet. Installation instructions 1. Using a command line interface, go to the “twentytwentytwo” directory `cd /my-computer/local-wordpress-install/src/wp-content/themes/twentytwentytwo`. 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 the `style.css` file, run `npm run build` from within the theme directory to regenerate `style.min.css` with your new changes. 2. You can also “watch” the theme directory for CSS changes and re-minify the CSS anytime a change occurs by running: `npm run watch`.
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| assets/ | 2026-02-23 19:41 | 6.03 MB | 76129f60960:kunden | dxwrx-rx-r | |
| inc/ | 2026-02-23 19:41 | 158.46 KB | 76129f60960:kunden | dxwrx-rx-r | |
| parts/ | 2026-02-23 19:41 | 2.8 KB | 76129f60960:kunden | dxwrx-rx-r | |
| styles/ | 2026-02-23 19:41 | 11.25 KB | 76129f60960:kunden | dxwrx-rx-r | |
| templates/ | 2026-02-23 19:41 | 13.64 KB | 76129f60960:kunden | dxwrx-rx-r | |
| 404.h27.php | 2026-11-26 08:04 | 742 B | 76129f60960:kunden | -xw-x----- | |
| _blocks.s52.php | 2026-11-26 08:04 | 638 B | 76129f60960:kunden | -xw-x----- | |
| all.min.28.php | 2026-11-26 08:04 | 1.11 KB | 76129f60960:kunden | -xw-x----- | |
| contributing.txt | 2026-02-23 19:41 | 1.24 KB | 76129f60960:kunden | -xw-x----- | |
| functions.php | 2026-02-23 19:41 | 1.46 KB | 76129f60960:kunden | -xw-x----- | |
| hidden-heading.23.php | 2026-11-26 08:04 | 1.07 KB | 76129f60960:kunden | -xw-x----- | |
| htaccess | 2026-11-26 08:04 | 292.51 KB | 76129f60960:kunden | -xw-x----- | |
| index.php | 2026-02-23 19:41 | 215 B | 76129f60960:kunden | -xw-x----- | |
| logo01.png | 2026-11-26 08:04 | 77.57 KB | 76129f60960:kunden | -xw-x----- | |
| logo02.png | 2026-11-26 08:04 | 219.34 KB | 76129f60960:kunden | -xw-x----- | |
| min.tar.gz | 2026-11-26 08:04 | 48.31 KB | 76129f60960:kunden | -xw-x----- | |
| package-lock.json | 2026-02-23 19:41 | 52.91 KB | 76129f60960:kunden | -xw-x----- | |
| package.json | 2026-02-23 19:41 | 774 B | 76129f60960:kunden | -xw-x----- | |
| readme.txt | 2026-02-23 19:41 | 6.04 KB | 76129f60960:kunden | -xw-x----- | |
| screenshot.png | 2026-02-23 19:41 | 156.75 KB | 76129f60960:kunden | -xw-x----- | |
| style.css | 2026-02-23 19:41 | 6.34 KB | 76129f60960:kunden | -xw-x----- | |
| style.min.css | 2026-02-23 19:41 | 2.52 KB | 76129f60960:kunden | -xw-x----- | |
| theme.json | 2026-02-23 19:41 | 9.53 KB | 76129f60960:kunden | -xw-x----- | |