build(frontend): use esbuild-compatible svg include inside scss/sass files

This commit is contained in:
Sarah Vaupel 2024-10-03 22:06:51 +02:00
parent cb9ce5b196
commit 1ed27efccf

View File

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2024 David Mosbach <david.mosbach@uniworx.de>
// SPDX-FileCopyrightText: 2024 David Mosbach <david.mosbach@uniworx.de>, Sarah Vaupel <sarah.vaupel@uniworx.de>
//
// SPDX-License-Identifier: AGPL-3.0-or-later
// SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design
@ -102,7 +102,7 @@ $icons: new,
@each $name in $icons {
.ico-#{$name} {
background-image: url('../../assets/icons/fradrive/#{$name}.svg');
background-image: url('{}/../../assets/icons/fradrive/#{$name}.svg');
background-size: contain;
background-repeat: no-repeat;
background-position: center;