Init
This commit is contained in:
11
tailwind/custom/base.css
Normal file
11
tailwind/custom/base.css
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Custom styles to immediately follow Tailwind’s `base` layer
|
||||
*/
|
||||
|
||||
/**
|
||||
* This uses the background and foreground colors declared in the `theme.json`
|
||||
* file and is applied both to the front end and in the block editor.
|
||||
*/
|
||||
body {
|
||||
@apply bg-background text-foreground font-sans;
|
||||
}
|
||||
56
tailwind/custom/components/components.css
Normal file
56
tailwind/custom/components/components.css
Normal file
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* Custom styles to immediately follow Tailwind’s `components` layer
|
||||
*
|
||||
* “Add more opinionated, complex classes like buttons, form controls, alerts,
|
||||
* etc; the sort of pre-built components you often see in other frameworks that
|
||||
* you might need to override with utility classes.”
|
||||
*
|
||||
* — from https://tailwindcss.com/docs/plugins#adding-components
|
||||
*/
|
||||
|
||||
/**
|
||||
* Post title styles
|
||||
*
|
||||
* These will be applied to all headings with a `page-title` or `entry-title`
|
||||
* class on the frontend and to the post title in the block editor.
|
||||
*
|
||||
* The supplied styles are meant to match the default `h1` classes from
|
||||
* Tailwind Typography.
|
||||
*/
|
||||
.page-title,
|
||||
.entry-title {
|
||||
@apply max-w-content mx-auto mb-6 text-3xl font-extrabold text-neutral-900;
|
||||
}
|
||||
|
||||
/**
|
||||
* Layout styles for centered content areas
|
||||
*
|
||||
* If you are controlling the width of your content area with styles applied
|
||||
* to its container, you can delete the following styles whose selectors begin
|
||||
* with `.page-content >` and `.entry-content >`. For more details, please see
|
||||
* the following:
|
||||
*
|
||||
* https://make.wordpress.org/core/2021/06/29/on-layout-and-content-width-in-wordpress-5-8/
|
||||
*/
|
||||
.page-content > *,
|
||||
.entry-content > * {
|
||||
/* Content width from the `theme.json` file */
|
||||
@apply max-w-content mx-auto;
|
||||
}
|
||||
|
||||
.entry-content > .alignwide {
|
||||
/* Wide width from the `theme.json` file */
|
||||
@apply max-w-wide;
|
||||
}
|
||||
|
||||
.entry-content > .alignfull {
|
||||
@apply max-w-none;
|
||||
}
|
||||
|
||||
.entry-content > .alignleft {
|
||||
@apply float-left mr-8;
|
||||
}
|
||||
|
||||
.entry-content > .alignright {
|
||||
@apply float-right ml-8;
|
||||
}
|
||||
22
tailwind/custom/file-header.css
Normal file
22
tailwind/custom/file-header.css
Normal file
@@ -0,0 +1,22 @@
|
||||
/*!
|
||||
Theme Name: studio-up
|
||||
Theme URI: https://underscoretw.com/
|
||||
Description: Client custom theme
|
||||
Version: 0.1.0
|
||||
Author: Josevi Canet
|
||||
Author URI: https://underscoretw.com/
|
||||
Text Domain: studio-up
|
||||
Requires at least: 6.8
|
||||
Requires PHP: 7.4
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: LICENSE
|
||||
|
||||
This theme, like WordPress, is licensed under the GPL.
|
||||
Use it to make something cool, have fun, and share what you've learned.
|
||||
|
||||
studio-up is based on _tw https://underscoretw.com/, (C) 2021-2025 Greg Sullivan
|
||||
_tw is distributed under the terms of the GNU GPL v2 or later.
|
||||
|
||||
_tw is based on Underscores https://underscores.me/ and Varia https://github.com/Automattic/themes/tree/master/varia, (C) 2012-2025 Automattic, Inc.
|
||||
Underscores and Varia are distributed under the terms of the GNU GPL v2 or later.
|
||||
*/
|
||||
5
tailwind/custom/fonts.css
Normal file
5
tailwind/custom/fonts.css
Normal file
@@ -0,0 +1,5 @@
|
||||
/**
|
||||
* Custom `@font-face` rules
|
||||
*
|
||||
* These will be added immediately before Tailwind’s `base` layer.
|
||||
*/
|
||||
8
tailwind/custom/utilities.css
Normal file
8
tailwind/custom/utilities.css
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Custom styles to immediately follow Tailwind’s `utilities` layer
|
||||
*
|
||||
* Add your own utility classes to this theme. Complex utility classes should
|
||||
* be added using Tailwind’s plugin system:
|
||||
*
|
||||
* https://tailwindcss.com/docs/adding-custom-styles#adding-custom-utilities
|
||||
*/
|
||||
Reference in New Issue
Block a user