✨feature: Add Poppins font, theme screenshot
Sync TODOs with Issues / sync_todos (push) Successful in 6s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
This commit is contained in:
@@ -43,7 +43,7 @@ class Enqueue {
|
||||
}
|
||||
|
||||
$font_ver = gmdate( 'U' );
|
||||
wp_enqueue_style( 'raleway', 'https://fonts.googleapis.com/css2?family=Raleway:wght@100..900&display=swap', false, $font_ver );
|
||||
wp_enqueue_style( 'poppins', 'https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap', false, $font_ver );
|
||||
|
||||
/**
|
||||
* JS
|
||||
@@ -66,7 +66,7 @@ class Enqueue {
|
||||
$theme_uri = get_stylesheet_directory_uri();
|
||||
|
||||
$font_ver = gmdate( 'U' );
|
||||
wp_enqueue_style( 'raleway', 'https://fonts.googleapis.com/css2?family=Raleway:wght@100..900&display=swap', false, $font_ver );
|
||||
wp_enqueue_style( 'poppins', 'https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap', false, $font_ver );
|
||||
|
||||
/**
|
||||
* Admin CSS
|
||||
@@ -99,7 +99,7 @@ class Enqueue {
|
||||
$editor_css_path = '/styles/backend/editor.css';
|
||||
|
||||
$font_ver = gmdate( 'U' );
|
||||
wp_enqueue_style( 'raleway', 'https://fonts.googleapis.com/css2?family=Raleway:wght@100..900&display=swap', false, $font_ver );
|
||||
wp_enqueue_style( 'poppins', 'https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap', false, $font_ver );
|
||||
|
||||
if ( file_exists( $theme_dir . $editor_css_path ) ) {
|
||||
$version = filemtime( $theme_dir . $editor_css_path );
|
||||
|
||||
Reference in New Issue
Block a user