This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import animations from 'https://esm.sh/@midudev/[email protected]'; | |
export default { | |
plugins: [ | |
animations | |
], | |
corePlugins: { | |
preflight: true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* See https://tailwindcss.com/docs/configuration for configuration details | |
*/ | |
/** | |
* Convert pixels to rems | |
* @param {int} px The pixel value to convert to rems | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Upload your transparent png and replace url */ | |
#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon:before { | |
background-image: url(https://dev-wordpress.local/wp-content/uploads/2023/11/gits-icon.png); | |
background-size: contain; | |
background-repeat: no-repeat; | |
display: inline-block; | |
width: 100%; | |
height: 100%; | |
content: ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--body-bg: #111827; | |
--form-bg: #1f2937; | |
--form-border: #4b5563; | |
--form-shadow: rgba(0, 0, 0, 0.1); | |
--input-bg: #374151; | |
--input-border: #4f5967; | |
--text: white; | |
} | |
* { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--body-bg: #f9fafb; | |
--form-bg: white; | |
--form-border: none; | |
--form-shadow: rgba(0, 0, 0, 0.1); | |
--input-bg: #f9fafb; | |
--input-border: #c7ced9; | |
--text: black; | |
} | |
* { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--body-bg: #111827; | |
--form-bg: #1f2937; | |
--form-border: #4b5563; | |
--form-shadow: rgba(0, 0, 0, 0.1); | |
--input-bg: #374151; | |
--input-border: #4f5967; | |
--text: white; | |
} | |
* { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--body-bg: #f9fafb; | |
--form-bg: white; | |
--form-border: none; | |
--form-shadow: rgba(0, 0, 0, 0.1); | |
--input-bg: #f9fafb; | |
--input-border: #c7ced9; | |
--text: black; | |
} | |
* { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'admin_notices', 'add_html_and_category_filter' ); | |
function add_html_and_category_filter() { | |
$current_screen = get_current_screen(); | |
if ( $current_screen->id === 'edit-post' && $current_screen->post_type === 'post' ) { | |
$categories = get_categories(); | |
$current_category_id = isset( $_GET['cat'] ) ? intval( $_GET['cat'] ) : 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
theme: { | |
colors: { | |
'transparent': 'transparent', | |
'current': 'currentColor', | |
'bg': '#ffffff', | |
'bg-alt': '#F6F6F6', | |
'text': '#000000', | |
'text-atl': '#404040', | |
'brand': '#352FE7', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin ratio-1-1 { | |
@media screen and (max-aspect-ratio: #{1} / #{1}) { @content; } | |
} | |
// Use | |
// .header-title { | |
// font-size: 2rem; | |
// @include ratio-1-1 { | |
// font-size: 1rem; | |
// } |
NewerOlder