Skip to content

Commit

Permalink
Fixes #16732. Updates the UI on Quote and Pullquote blocks for dark t…
Browse files Browse the repository at this point in the history
…hemes. (#26510)
  • Loading branch information
mapk authored Oct 27, 2020
1 parent 796a679 commit c56d489
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/block-library/src/pullquote/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,22 @@
margin-bottom: 1.75em;
color: #555;

.is-dark-theme & {
border-top: 4px solid $light-gray-placeholder;
border-bottom: 4px solid $light-gray-placeholder;
color: $light-gray-placeholder;
}

cite,
footer,
&__citation {
color: #555;
text-transform: uppercase;
font-size: 0.8125em;
font-style: normal;

.is-dark-theme & {
color: $light-gray-placeholder;
}
}
}
8 changes: 8 additions & 0 deletions packages/block-library/src/quote/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
margin: 0 0 1.75em 0;
padding-left: 1em;

.is-dark-theme & {
border-left: 0.25em solid $light-gray-placeholder;
}

cite,
footer,
&__citation {
Expand All @@ -11,6 +15,10 @@
margin-top: 1em;
position: relative;
font-style: normal;

.is-dark-theme & {
color: $light-gray-placeholder;
}
}

&.has-text-align-right {
Expand Down

0 comments on commit c56d489

Please sign in to comment.