Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -44,10 +44,11 @@ class Enqueue {
|
|||||||
|
|
||||||
$font_ver = gmdate( 'U' );
|
$font_ver = gmdate( 'U' );
|
||||||
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 );
|
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 );
|
||||||
|
wp_enqueue_style( 'quincy', 'https://use.typekit.net/dnt5chp.css', false, $font_ver );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JS
|
* JS
|
||||||
*/
|
*/
|
||||||
$js_path = '/static/js/theme.js';
|
$js_path = '/static/js/theme.js';
|
||||||
|
|
||||||
if ( file_exists( $theme_dir . $js_path ) ) {
|
if ( file_exists( $theme_dir . $js_path ) ) {
|
||||||
@@ -67,6 +68,7 @@ class Enqueue {
|
|||||||
|
|
||||||
$font_ver = gmdate( 'U' );
|
$font_ver = gmdate( 'U' );
|
||||||
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 );
|
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 );
|
||||||
|
wp_enqueue_style( 'quincy', 'https://use.typekit.net/dnt5chp.css', false, $font_ver );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admin CSS
|
* Admin CSS
|
||||||
@@ -100,6 +102,7 @@ class Enqueue {
|
|||||||
|
|
||||||
$font_ver = gmdate( 'U' );
|
$font_ver = gmdate( 'U' );
|
||||||
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 );
|
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 );
|
||||||
|
wp_enqueue_style( 'quincy', 'https://use.typekit.net/dnt5chp.css', false, $font_ver );
|
||||||
|
|
||||||
if ( file_exists( $theme_dir . $editor_css_path ) ) {
|
if ( file_exists( $theme_dir . $editor_css_path ) ) {
|
||||||
$version = filemtime( $theme_dir . $editor_css_path );
|
$version = filemtime( $theme_dir . $editor_css_path );
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ add_action(
|
|||||||
?>
|
?>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link rel="preconnect" href="https://use.typekit.net" crossorigin>
|
||||||
<?php
|
<?php
|
||||||
},
|
},
|
||||||
0
|
0
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
|
|
||||||
@theme {
|
@theme {
|
||||||
--font-sans: "Poppins", sans-serif;
|
--font-sans: "Poppins", sans-serif;
|
||||||
|
--font-quincy: "Quincy CF", serif;
|
||||||
--line-height: 1.6;
|
--line-height: 1.6;
|
||||||
|
|
||||||
--text-base: 1rem;
|
--text-base: 1rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user