Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable placeholder usage within Sass & SCSS templates #374

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

None yet

1 participant