module-tsconfig
Introduced in v3.6.0
Usage
Markup
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="#1A568F" d="M0 0h64v64H0z"/><path fill="#FFF" d="M16 14h32a2 2 0 0 1 2 2v32a2 2 0 0 1-2 2H16a2 2 0 0 1-2-2V16a2 2 0 0 1 2-2z"/><path fill="#1A568F" d="M17 16h30a1 1 0 0 1 1 1v30a1 1 0 0 1-1 1H17a1 1 0 0 1-1-1V17a1 1 0 0 1 1-1z"/><g><path fill="#FFF" d="M18.5 18h27a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-27a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5z"/></g><path fill="#FFF" d="M18.5 28h9a.5.5 0 0 1 .5.5v17a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-17a.5.5 0 0 1 .5-.5z" opacity=".5"/><path fill="#FFF" d="M30.5 28h15a.5.5 0 0 1 .5.5v17a.5.5 0 0 1-.5.5h-15a.5.5 0 0 1-.5-.5v-17a.5.5 0 0 1 .5-.5z" opacity=".75"/></svg>
Inline
<span class="icon icon-size-small icon-state-default">
<span class="icon-markup">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="#1A568F" d="M0 0h64v64H0z"/><path fill="#FFF" d="M16 14h32a2 2 0 0 1 2 2v32a2 2 0 0 1-2 2H16a2 2 0 0 1-2-2V16a2 2 0 0 1 2-2z"/><path fill="#1A568F" d="M17 16h30a1 1 0 0 1 1 1v30a1 1 0 0 1-1 1H17a1 1 0 0 1-1-1V17a1 1 0 0 1 1-1z"/><g><path fill="#FFF" d="M18.5 18h27a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-27a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5z"/></g><path fill="#FFF" d="M18.5 28h9a.5.5 0 0 1 .5.5v17a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-17a.5.5 0 0 1 .5-.5z" opacity=".5"/><path fill="#FFF" d="M30.5 28h15a.5.5 0 0 1 .5.5v17a.5.5 0 0 1-.5.5h-15a.5.5 0 0 1-.5-.5v-17a.5.5 0 0 1 .5-.5z" opacity=".75"/></svg>
</span>
</span>
Sprite
<span class="icon icon-size-small icon-state-default">
<span class="icon-markup">
<svg role="img"><use xlink:href="dist/sprites/module.svg#module-tsconfig" /></svg>
</span>
</span>
TYPO3 ViewHelper
<core:icon identifier="module-tsconfig" size="small" />
CSS Background Image
.myclass {
background-size: 1em 1em;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3e%3cpath fill='%231A568F' d='M0 0h64v64H0z'/%3e%3cpath fill='%23FFF' d='M16 14h32a2 2 0 0 1 2 2v32a2 2 0 0 1-2 2H16a2 2 0 0 1-2-2V16a2 2 0 0 1 2-2z'/%3e%3cpath fill='%231A568F' d='M17 16h30a1 1 0 0 1 1 1v30a1 1 0 0 1-1 1H17a1 1 0 0 1-1-1V17a1 1 0 0 1 1-1z'/%3e%3cg%3e%3cpath fill='%23FFF' d='M18.5 18h27a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-27a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5z'/%3e%3c/g%3e%3cpath fill='%23FFF' d='M18.5 28h9a.5.5 0 0 1 .5.5v17a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-17a.5.5 0 0 1 .5-.5z' opacity='.5'/%3e%3cpath fill='%23FFF' d='M30.5 28h15a.5.5 0 0 1 .5.5v17a.5.5 0 0 1-.5.5h-15a.5.5 0 0 1-.5-.5v-17a.5.5 0 0 1 .5-.5z' opacity='.75'/%3e%3c/svg%3e");
}
Sass Background Variable
@import "@typo3/icons/dist/icons.scss";
@import "@typo3/icons/dist/scss/icons-variables-module.scss";
.myclass {
background-size: 1em 1em;
background-image: $icon-module-tsconfig;
}
Alias
- module-tstemplate