Skip to content

Commit

Permalink
feat(icons): social networks icons
Browse files Browse the repository at this point in the history
  • Loading branch information
mainframev committed Mar 22, 2022
1 parent 5d05f50 commit b5a537c
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/orbit-components/config/checkIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ function checkCharacterValues(comments, baseName, allCharacters) {
}

// Checks if the fill attributes are present on the icons and throw an error if so
// eslint-disable-next-line consistent-return
function checkFillAttributes(comments, content, name) {
// only check icons that don't have replacement for icon font
if (name.includes("colored")) return undefined;
if (comments && comments.iconFont !== "false" && comments.customColor == null) {
const findAttrAndThrowErr = node => {
if (getProperty(node.attributes, "fill")) {
Expand Down
4 changes: 4 additions & 0 deletions packages/orbit-components/src/icons/svg/colored-facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions packages/orbit-components/src/icons/svg/colored-imessage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions packages/orbit-components/src/icons/svg/colored-messenger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/orbit-components/src/icons/svg/colored-twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions packages/orbit-components/src/icons/svg/colored-whatsup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b5a537c

Please sign in to comment.