Adds palette classes to gutenberg support. This should fix #19.

This commit is contained in:
mateuswetah 2019-09-30 16:17:38 -03:00
parent 48a36562e4
commit 1d9ccac0a9
2 changed files with 22 additions and 5 deletions

View File

@ -1,3 +1,25 @@
// Register palette classes for colors
.has-default-color { color: #298596 !important; }
.has-default-background-color { background-color: #298596 !important; }
.has-carmine-color { color: #8c442c !important; }
.has-carmine-background-color { background-color: #8c442c !important; }
.has-cherry-color { color: #A12B42 !important; }
.has-cherry-background-color { background-color: #A12B42 !important; }
.has-mustard-color { color: #754E24 !important; }
.has-mustard-background-color { background-color: #754E24 !important; }
.has-mintgreen-color { color: #255F56 !important; }
.has-mintgreen-background-color { background-color: #255F56 !important; }
.has-darkturquoise-color { color: #205E6F !important; }
.has-darkturquoise-background-color { background-color: #205E6F !important; }
.has-turquoise-color { color: #185F6D !important; }
.has-turquoise-background-color { background-color: #185F6D !important; }
.has-blueheavenly-color { color: #1D5C86 !important; }
.has-blueheavenly-background-color { background-color: #1D5C86 !important; }
.has-purple-color { color: #4751a3 !important; }
.has-purple-background-color { background-color: #4751a3 !important; }
.has-violet-color { color: #955ba5 !important; }
.has-violet-background-color { background-color: #955ba5 !important; }
.alignwide {
margin-left: calc(-8.3333333333vw + 3.1%) !important;
margin-right: calc(-8.3333333333vw + 3.1%) !important;

View File

@ -276,11 +276,6 @@
.blocks-gallery-item{
figure{
margin: 0 !important;
figcaption{
padding: 10px 10px 5px;
background: #fff;
color: #000;
}
}
img {
height: 100% !important;