Skip to content

Commit

Permalink
Use Tailwind CSS 3.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyvr committed Dec 9, 2021
1 parent b067bb6 commit 5f42503
Show file tree
Hide file tree
Showing 6 changed files with 527 additions and 934 deletions.
8 changes: 1 addition & 7 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ You will be asked if you would like to have WordPress installed as well. Keep in

TailPress uses the [Tailwind CLI](https://tailwindcss.com/docs/installation#using-tailwind-cli), [PostCSS](https://postcss.org) and [esbuild](https://esbuild.github.io).

[Tailwind CSS JIT](https://tailwindcss.com/docs/just-in-time-mode#enabling-jit-mode) is used to allow for fast compiling.

You will find the editable CSS and Javascript files within the `/resources` folder.

Before you use your theme in production, make sure you run `npm run production`.
Expand Down Expand Up @@ -78,11 +76,7 @@ To make the editing experience within the block editor more in line with the fro

### Define theme colors and font sizes

Several colors and font sizes are defined from the beginning. You can modify the colors in `theme.json`.

## PurgeCSS

By default, PurgeCSS is enabled. You can modify or disable it by changing the settings in the `tailwind.config.js` file. There are several [PurgeCSS options](https://tailwindcss.com/docs/optimizing-for-production#purge-css-options).
Several colors and font sizes are defined from the beginning. You can modify them in `theme.json`.

## Links

Expand Down
2 changes: 1 addition & 1 deletion css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/editor-style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5f42503

Please sign in to comment.