mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-15 23:05:44 +03:00
More blocks styles moved to the appropriate object/utilities folders
Simplifies pullquote and fixes the issues with editor styles; move color classes utilities.
This commit is contained in:
parent
e6b3fbd989
commit
f8558fe9c2
10 changed files with 98 additions and 137 deletions
23
themes/wporg-5ftf/css/utilities/_colors.scss
Normal file
23
themes/wporg-5ftf/css/utilities/_colors.scss
Normal file
|
@ -0,0 +1,23 @@
|
|||
.has-wporg-blue-color {
|
||||
color: $color__wporg-blue;
|
||||
}
|
||||
|
||||
.has-wporg-blue-background-color {
|
||||
background-color: $color__wporg-blue;
|
||||
}
|
||||
|
||||
.has-wporg-purple-color {
|
||||
color: $color__wporg-purple;
|
||||
}
|
||||
|
||||
.has-wporg-purple-background-color {
|
||||
background-color: $color__wporg-purple;
|
||||
}
|
||||
|
||||
.has-wporg-white-color {
|
||||
color: $color__text-over-background;
|
||||
}
|
||||
|
||||
.has-wporg-white-background-color {
|
||||
background-color: $color__text-over-background;
|
||||
}
|
18
themes/wporg-5ftf/css/utilities/_pullquote.scss
Normal file
18
themes/wporg-5ftf/css/utilities/_pullquote.scss
Normal file
|
@ -0,0 +1,18 @@
|
|||
.wp-block-pullquote.is-style-solid-color {
|
||||
background-color: $color__wporg-blue;
|
||||
|
||||
blockquote {
|
||||
max-width: 100%;
|
||||
border: none;
|
||||
color: $color__text-over-background;
|
||||
}
|
||||
|
||||
@include breakpoint( $breakpoint-tablet ) {
|
||||
background-color: $color__text-over-background;
|
||||
|
||||
blockquote {
|
||||
border-left: none;
|
||||
color: $color__text-heading;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,2 +1,4 @@
|
|||
@import "colors";
|
||||
@import "group";
|
||||
@import "paragraph";
|
||||
@import "pullquote";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue