Merged in feat/SW-1711-switch-icons (pull request #1558)

Switches out all the old icons to new ones, and moves them to the design system. The new icons are of three different types: Materialise Symbol, Nucleo, and Customized. Also adds further mapping between facilities/amenities and icons.

Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
This commit is contained in:
Matilda Landström
2025-03-27 09:42:52 +00:00
parent 93c7fe64bf
commit 5de2a993a7
524 changed files with 4442 additions and 6802 deletions

View File

@@ -1,5 +1,5 @@
import { HouseIcon } from "@/components/Icons"
import ChevronRightSmallIcon from "@/components/Icons/ChevronRightSmall"
import { MaterialIcon } from "@scandic-hotels/design-system/Icons"
import Link from "@/components/TempDesignSystem/Link"
import Footnote from "@/components/TempDesignSystem/Text/Footnote"
@@ -34,9 +34,14 @@ export default function Breadcrumbs({
variant="breadcrumb"
aria-label={homeBreadcrumb.title}
>
<HouseIcon width={16} height={16} color="peach80" />
<MaterialIcon icon="home" size={16} color="CurrentColor" />
</Link>
<ChevronRightSmallIcon aria-hidden="true" color="peach80" />
<MaterialIcon
icon="chevron_right"
size={20}
aria-hidden="true"
color="Icon/Interactive/Secondary"
/>
</li>
) : null}
@@ -51,7 +56,12 @@ export default function Breadcrumbs({
>
{breadcrumb.title}
</Link>
<ChevronRightSmallIcon aria-hidden="true" color="peach80" />
<MaterialIcon
icon="chevron_right"
size={20}
aria-hidden="true"
color="Icon/Interactive/Secondary"
/>
</li>
)
}