From 03f78672590f8794b94aec6ee091cb091bb5a728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s?= Date: Tue, 7 Apr 2020 14:29:56 +0200 Subject: [PATCH] Revert changes to master --- packages/block-library/src/pullquote/theme.scss | 8 ++++---- packages/block-library/src/quote/theme.scss | 6 +++--- packages/block-library/src/table/style.scss | 4 ++-- packages/block-library/src/verse/editor.scss | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/block-library/src/pullquote/theme.scss b/packages/block-library/src/pullquote/theme.scss index 26ed65006d9f3..46bb986758629 100644 --- a/packages/block-library/src/pullquote/theme.scss +++ b/packages/block-library/src/pullquote/theme.scss @@ -1,13 +1,13 @@ .wp-block-pullquote { - border-top: 4px solid var(--wp--color--foreground-500, $dark-gray-500); - border-bottom: 4px solid var(--wp--color--foreground-500, $dark-gray-500); + border-top: 4px solid $dark-gray-500; + border-bottom: 4px solid $dark-gray-500; margin-bottom: $default-block-margin; - color: var(--wp--color--foreground-600, $dark-gray-600); + color: $dark-gray-600; cite, footer, &__citation { - color: var(--wp--color--foreground-600, $dark-gray-600); + color: $dark-gray-600; text-transform: uppercase; font-size: $default-font-size; font-style: normal; diff --git a/packages/block-library/src/quote/theme.scss b/packages/block-library/src/quote/theme.scss index fdd4d1734d6c4..fe3d90cd6a256 100644 --- a/packages/block-library/src/quote/theme.scss +++ b/packages/block-library/src/quote/theme.scss @@ -1,12 +1,12 @@ .wp-block-quote { - border-left: 4px solid var(--wp--color--border, $black); + border-left: 4px solid $black; margin: 0 0 $default-block-margin 0; padding-left: 1em; cite, footer, &__citation { - color: var(--wp--foreground-300, $dark-gray-300); + color: $dark-gray-300; font-size: $default-font-size; margin-top: 1em; position: relative; @@ -16,7 +16,7 @@ &.has-text-align-right, &.has-text-align-right { border-left: none; - border-right: 4px solid var(--wp--color--border, $black); + border-right: 4px solid $black; padding-left: 0; padding-right: 1em; } diff --git a/packages/block-library/src/table/style.scss b/packages/block-library/src/table/style.scss index 9dae54aa1238c..ba3c949bb7cb3 100644 --- a/packages/block-library/src/table/style.scss +++ b/packages/block-library/src/table/style.scss @@ -61,7 +61,7 @@ background-color: transparent; tbody tr:nth-child(odd) { - background-color: var(--wp--color--foreground-200, $light-gray-200); + background-color: $light-gray-200; } &.has-subtle-light-gray-background-color { @@ -93,6 +93,6 @@ border-color: transparent; } - border-bottom: 1px solid var(--wp--color--foreground-200, $light-gray-200); + border-bottom: 1px solid $light-gray-200; } } diff --git a/packages/block-library/src/verse/editor.scss b/packages/block-library/src/verse/editor.scss index 75f0c6f5d9b7a..e15ae165d37d1 100644 --- a/packages/block-library/src/verse/editor.scss +++ b/packages/block-library/src/verse/editor.scss @@ -1,5 +1,5 @@ pre.wp-block-verse { - color: var(--wp--color--foreground-900, $dark-gray-900); + color: $dark-gray-900; white-space: nowrap; font-family: inherit; font-size: inherit;