Skip to content

Conversation

brenner-company
Copy link

A small change that allows us to use the icon-font styling as a placeholder within Sass & SCSS templates so it can be easily extended. For example: elements that are maintained externally (in an extension or a plugin) and are not changeable (regarding HTML structure).

As an example (using SCSS template):

.element-of-extension {
  &:before {
    @extend %[base name]-font-style; // extends all the necessary icon-font styling
    @extend .[prefix]-[icon name]; // extends specific icon
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant