diff --git a/lib/global-styles.php b/lib/global-styles.php index f02560893a61c7..d6836e45df87e3 100644 --- a/lib/global-styles.php +++ b/lib/global-styles.php @@ -266,14 +266,6 @@ function gutenberg_experimental_global_styles_enqueue_assets() { wp_register_style( 'global-styles', false, array(), true, true ); wp_add_inline_style( 'global-styles', $inline_style ); wp_enqueue_style( 'global-styles' ); - - wp_register_style( - 'global-styles-block-library', - gutenberg_url( 'build/block-library/global.css' ), - array(), - filemtime( gutenberg_dir_path() . 'build/block-library/global.css' ) - ); - wp_enqueue_style( 'global-styles-block-library' ); } /** diff --git a/packages/block-library/src/global.scss b/packages/block-library/src/global.scss deleted file mode 100644 index 0c6581d76dae7c..00000000000000 --- a/packages/block-library/src/global.scss +++ /dev/null @@ -1,5 +0,0 @@ -@import "./paragraph/global.scss"; -@import "./heading/global.scss"; -@import "./list/global.scss"; -@import "./quote/global.scss"; -@import "./pullquote/global.scss"; diff --git a/packages/block-library/src/heading/global.scss b/packages/block-library/src/heading/global.scss deleted file mode 100644 index 9d9ce6371f5ed3..00000000000000 --- a/packages/block-library/src/heading/global.scss +++ /dev/null @@ -1,11 +0,0 @@ -h1, -h2, -h3, -h4, -h5, -h6 { - color: var(--wp--color--foreground--headings); - font-size: var(--wp--type--size--headings); - font-weight: var(--wp--type--weight); - line-height: var(--wp--type--line-height--headings); -} diff --git a/packages/block-library/src/list/global.scss b/packages/block-library/src/list/global.scss deleted file mode 100644 index 2e8eb6cdd28302..00000000000000 --- a/packages/block-library/src/list/global.scss +++ /dev/null @@ -1,6 +0,0 @@ -ul, -ol { - color: var(--wp--color--foreground--base); - font-size: var(--wp--type--size--base); - line-height: var(--wp--type--line-height--base); -} diff --git a/packages/block-library/src/paragraph/global.scss b/packages/block-library/src/paragraph/global.scss deleted file mode 100644 index 05aa7cb68ebc89..00000000000000 --- a/packages/block-library/src/paragraph/global.scss +++ /dev/null @@ -1,5 +0,0 @@ -p { - color: var(--wp--color--foreground--base); - font-size: var(--wp--type--size--base); - line-height: var(--wp--type--line-height--base); -} diff --git a/packages/block-library/src/pullquote/global.scss b/packages/block-library/src/pullquote/global.scss deleted file mode 100644 index a0a985013315e9..00000000000000 --- a/packages/block-library/src/pullquote/global.scss +++ /dev/null @@ -1,11 +0,0 @@ -.wp-block-pullquote p { - color: var(--wp--color--foreground--base); - font-size: var(--wp--type--size--base); - line-height: var(--wp--type--line-height--base); -} - -.wp-block-pullquote cite { - color: var(--wp--color--foreground--base); - font-size: var(--wp--type--size--smaller); - line-height: var(--wp--type--line-height--smaller); -} diff --git a/packages/block-library/src/quote/global.scss b/packages/block-library/src/quote/global.scss deleted file mode 100644 index bfbf792be617cf..00000000000000 --- a/packages/block-library/src/quote/global.scss +++ /dev/null @@ -1,11 +0,0 @@ -.wp-block-quote p { - color: var(--wp--color--foreground--base); - font-size: var(--wp--type--size--base); - line-height: var(--wp--type--line-height--base); -} - -.wp-block-quote cite { - color: var(--wp--color--foreground--base); - font-size: var(--wp--type--size--smaller); - line-height: var(--wp--type--line-height--smaller); -}