This commit is contained in:
2025-08-21 13:50:07 +02:00
commit 58d71ad38b
51 changed files with 15313 additions and 0 deletions

83
tailwind.css Normal file
View File

@@ -0,0 +1,83 @@
/**
* This file outputs to `style.css`, your main front-end style sheet, and to
* `style-editor.css`, for the WordPress editor.
*
* You probably wont need to edit this file. Youre more likely to want to
* edit `./tailwind/tailwind-theme.css`, which contains your projects custom
* design tokens, or files in the `./tailwind/custom` folder.
*
* The comments in this file outline the intended usage for files in the
* `./tailwind/custom` folder.
*/
/**
* Add the WordPress file header.
*/
@import "./tailwind/custom/file-header.css";
/**
* Add Tailwinds default theme and your custom theme.
*/
@import "tailwindcss/theme";
@import "./tailwind/tailwind-theme.css";
/**
* Add custom `@font-face` rules.
*/
@import "./tailwind/custom/fonts.css";
/**
* Add Tailwinds Preflight styles.
*/
@if $target != editor {
@import "tailwindcss/preflight";
} @else {
/**
* In the editor, we only want to apply Preflight to descendents of an
* element with the `not-prose` class.
*/
:where(.not-prose) {
@import "tailwindcss/preflight";
}
}
/**
* Add your custom base styles.
*/
@import "./tailwind/custom/base.css";
/**
* Add your custom component styles.
*
* As used below, `@import-glob` imports all CSS files from the
* `./tailwind/components` directory. This makes it easier to style things like
* WordPress plugins or JavaScript components via separate files for each
* plugin or library.
*
* Please note that because these files are added alphabetically, you must
* ensure that CSS precedence isnt affected by the order in which the files are
* included. The intended use case is for, e.g., a `woocommerce.css` file to
* add styles for WooCommerce using WooCommerce-specific class names, ensuring
* that files for other WordPress plugins or JavaScript components could be
* included in any order because they also use library-specific class names.
*/
@import-glob "./tailwind/custom/components/**/*.css";
/**
* Add styles exclusively for the WordPress editor.
*/
@if $target == editor {
@import "./tailwind/tailwind-editor.css";
}
/**
* Add Tailwind Typography.
*/
@import "./tailwind/tailwind-typography.css";
/**
* Add Tailwinds utility classes and any utility classes registered by
* plugins, then add custom utility classes.
*/
@import "tailwindcss/utilities";
@import "./tailwind/custom/utilities.css";