.lib-icon(@icon) {
  content: '';
  background-image: data-uri('image/svg+xml;charset=UTF-8', @icon);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: @default--space;
  display: block;
  height: 24/@rem;
  width: 24/@rem;
}

.lib-icon-toggle(@icon) {
  background-image: data-uri('image/svg+xml;charset=UTF-8', @icon);
}

.lib-icon-as-bg(@icon, @size: @default--space) {
  background-image: data-uri('image/svg+xml;charset=UTF-8', @icon);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: @size;
}
