All notable changes to TailPress will be documented in this file.
- Tailwind font sizes are now set as defined in
theme.json
. - Breakpoints now based on WordPress defaults (https://developer.wordpress.org/block-editor/reference-guides/packages/packages-viewport/#usage).
- Providing
w-content
,max-w-content
,w-wide
andmax-w-wide
utility classes. - Content width is now actually the width as defined in
theme.json
. - Fixing align wide, width as defined in
theme.json
. - Updating Tailwind CSS to version 3.1.0.
- Fix issues package.json scripts on Windows.
- Updating Tailwind to 3.0.0.
- The TailPress installer (^0.2.0) now allows you to use Laravel Mix instead of esbuild by setting --compiler=mix.
- You may now also set dbname, dbuser, dbpass and dbhost.
- Switching to Tailwind CLI and esbuild instead of LaraveL Mix.
- Removing
theme
subdirectory setup as it is no longer needed with the new build setup. - Removing
TailPress
class and it's functions (tailpress()->get_header()
etc.) throughout the theme. - New
tailpress_asset
function to get the URL of an asset (previouslytailpress_mix
). tailpress_asset
function thaty appends atime
parameter if wp_get_environment_type() does not returnproduction
for cache busting (instead of the previously used versioned assets throughmix-manifest.json
).- Update screenshot.png.
- Remove
block-editor.css
, only useeditor-style.css
. - Moving
editor-style.css
from root tocss
directory. - Update readme.
- Replace
tailpress.json
withtheme.json
as used by WordPress core. - Move template files into
theme
subdirectory. - Move tailwind plugin to a separate repository.
- Update readme and adding section on using installer.
- No longer depending on jQuery.
- Fixes text color classes for the Block Editor.
- Use safelist.txt to prevent WP classes from being purged.
- Readme changes.
- MIT License.
- Updating to Tailwind CSS v2.1 which includes the JIT engine in core among other things.
- Using TailwindCSS JIT for way faster compiling.
- Updated readme.
- Fix loading styling in block editor.
- Check if mix-manifest.json file exists to prevent warning message.
- Adding the option to apply submenu_class to the wp_nav_menu args.
- Adding the option to apply classes on li_class and submenu_class on specific depths, like: li_class_0.
- Fixes issue on Windows.
- Set selectors on single line since this seems to cause issues (nested CSS) with production build (#241a612).
- Add nested CSS support for PostCSS.
- Minor readme changes.
- Update Laravel Mix from version 5^ to 6^.
- Removing Laravel Mix Tailwind, defining plugins within webpack.mix.js instead.
- Switching from Sass to PostCSS for faster compiling.
- Moved TailPress colors and font size settings to tailpress.json file.
- Use tailpress.json to populate editor-color-palette and editor-font-sizes theme support automatically.
- New screenshot.
- Update readme.
- Other minor fixes and improvements.
- Adding basic support for the block editor Gutenberg by generating alignment, font size and color classes. Contains four theme colors out of the box, being primary, secondary, dark and light. This is adjustable of course.
- Loading a editor-style.css.
- Removing double slashes on resulting manifest asset URLs.
- Modified template files to have a better starting point (including horizontal main navigation, footer always at the bottom for short pages).
- Added a basic 404 page template.
- Init release.