mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Started migration to SVG icons
This commit is contained in:
@ -155,6 +155,9 @@ function theme_path($path = '')
|
||||
*/
|
||||
function icon($name, $attrs = [])
|
||||
{
|
||||
$attrs = array_merge($attrs, [
|
||||
'class' => 'svg-icon'
|
||||
]);
|
||||
$attrString = ' ';
|
||||
foreach ($attrs as $attrName => $attr) {
|
||||
$attrString .= $attrName . '="' . $attr . '" ';
|
||||
|
Reference in New Issue
Block a user