refactor: super icons (#1974)

This commit is contained in:
Mo
2022-11-09 09:14:49 -06:00
committed by GitHub
parent 772fbea381
commit ec7f915642
177 changed files with 360 additions and 518 deletions

View File

@@ -1,64 +1,10 @@
.icon.paragraph {
background-image: url(#{$blocks-editor-icons-path}/text-paragraph.svg);
}
.icon.h1 {
background-image: url(#{$blocks-editor-icons-path}/type-h1.svg);
}
.icon.h2 {
background-image: url(#{$blocks-editor-icons-path}/type-h2.svg);
}
.icon.h3 {
background-image: url(#{$blocks-editor-icons-path}/type-h3.svg);
}
.icon.h4 {
background-image: url(#{$blocks-editor-icons-path}/type-h4.svg);
}
.icon.h5 {
background-image: url(#{$blocks-editor-icons-path}/type-h5.svg);
}
.icon.h6 {
background-image: url(#{$blocks-editor-icons-path}/type-h6.svg);
}
.icon.bullet-list,
.icon.bullet {
background-image: url(#{$blocks-editor-icons-path}/list-ul.svg);
}
.icon.check-list,
.icon.check {
background-image: url(#{$blocks-editor-icons-path}/square-check.svg);
}
.icon.numbered-list,
.icon.number {
background-image: url(#{$blocks-editor-icons-path}/list-ol.svg);
}
.icon.quote {
background-image: url(#{$blocks-editor-icons-path}/chat-square-quote.svg);
}
.icon.code {
background-image: url(#{$blocks-editor-icons-path}/code.svg);
}
.icon.plus {
background-image: url(#{$blocks-editor-icons-path}/plus.svg);
}
.icon.caret-right {
background-image: url(#{$blocks-editor-icons-path}/caret-right-fill.svg);
}
/**
.icon.dropdown-more {
background-image: url(#{$blocks-editor-icons-path}/dropdown-more.svg);
background-image: url(#{$blocks-editor-icons-path}/dropdown-more.svg);
}
.icon.font-color {
@@ -85,18 +31,10 @@ i.clear {
background-image: url(#{$blocks-editor-icons-path}/trash.svg);
}
i.horizontal-rule {
background-image: url(#{$blocks-editor-icons-path}/horizontal-rule.svg);
}
i.image {
background-image: url(#{$blocks-editor-icons-path}/file-image.svg);
}
i.table {
background-image: url(#{$blocks-editor-icons-path}/table.svg);
}
i.close {
background-image: url(#{$blocks-editor-icons-path}/close.svg);
}
@@ -109,31 +47,6 @@ i.poll {
background-image: url(#{$blocks-editor-icons-path}/card-checklist.svg);
}
i.tweet {
background-image: url(#{$blocks-editor-icons-path}/tweet.svg);
}
i.youtube {
background-image: url(#{$blocks-editor-icons-path}/youtube.svg);
}
.icon.left-align,
i.left-align {
background-image: url(#{$blocks-editor-icons-path}/text-left.svg);
}
i.center-align {
background-image: url(#{$blocks-editor-icons-path}/text-center.svg);
}
i.right-align {
background-image: url(#{$blocks-editor-icons-path}/text-right.svg);
}
i.justify-align {
background-image: url(#{$blocks-editor-icons-path}/justify.svg);
}
i.indent {
background-image: url(#{$blocks-editor-icons-path}/indent.svg);
}
@@ -201,3 +114,4 @@ i.prettier {
i.prettier-error {
background-image: url(#{$blocks-editor-icons-path}/prettier-error.svg);
}
*/