From 9fb9e246f74ebc03b626329ef9d0d221cf51272d Mon Sep 17 00:00:00 2001 From: Adam DeHaven <2229946+adamdehaven@users.noreply.github.com> Date: Thu, 21 Dec 2023 13:23:22 -0500 Subject: [PATCH] fix: add platform icons [KHCP-10145] (#182) * fix: add platform icons * revert: branch --- .../generate-icon-components.spec.ts.snap | 4 ++++ src/tests/__snapshots__/AppleIcon.html | 1 + src/tests/__snapshots__/DockerIcon.html | 1 + src/tests/__snapshots__/LinuxIcon.html | 1 + src/tests/__snapshots__/WindowsIcon.html | 1 + svg/multi-color/platforms/apple.svg | 3 +++ svg/multi-color/platforms/docker.svg | 3 +++ svg/multi-color/platforms/linux.svg | 15 +++++++++++++++ svg/multi-color/platforms/windows.svg | 3 +++ 9 files changed, 32 insertions(+) create mode 100644 src/tests/__snapshots__/AppleIcon.html create mode 100644 src/tests/__snapshots__/DockerIcon.html create mode 100644 src/tests/__snapshots__/LinuxIcon.html create mode 100644 src/tests/__snapshots__/WindowsIcon.html create mode 100644 svg/multi-color/platforms/apple.svg create mode 100644 svg/multi-color/platforms/docker.svg create mode 100644 svg/multi-color/platforms/linux.svg create mode 100644 svg/multi-color/platforms/windows.svg diff --git a/scripts/utilities/__snapshots__/generate-icon-components.spec.ts.snap b/scripts/utilities/__snapshots__/generate-icon-components.spec.ts.snap index da43e55b..6c728d8f 100644 --- a/scripts/utilities/__snapshots__/generate-icon-components.spec.ts.snap +++ b/scripts/utilities/__snapshots__/generate-icon-components.spec.ts.snap @@ -16,10 +16,14 @@ exports[`generate > \`/src/components/index.ts\` file > has exports that match t "FlagSgIcon", "FlagUsIcon", "FlagZaIcon", + "AppleIcon", "AwsIcon", "AzureIcon", + "DockerIcon", "GoogleCloudIcon", "GoogleIcon", + "LinuxIcon", + "WindowsIcon", "RuntimeCompositeIcon", "RuntimeDedicatedCloudIcon", "RuntimeHybridIcon", diff --git a/src/tests/__snapshots__/AppleIcon.html b/src/tests/__snapshots__/AppleIcon.html new file mode 100644 index 00000000..ff83a890 --- /dev/null +++ b/src/tests/__snapshots__/AppleIcon.html @@ -0,0 +1 @@ +My custom title \ No newline at end of file diff --git a/src/tests/__snapshots__/DockerIcon.html b/src/tests/__snapshots__/DockerIcon.html new file mode 100644 index 00000000..52966569 --- /dev/null +++ b/src/tests/__snapshots__/DockerIcon.html @@ -0,0 +1 @@ +My custom title \ No newline at end of file diff --git a/src/tests/__snapshots__/LinuxIcon.html b/src/tests/__snapshots__/LinuxIcon.html new file mode 100644 index 00000000..f9ba674f --- /dev/null +++ b/src/tests/__snapshots__/LinuxIcon.html @@ -0,0 +1 @@ +My custom title \ No newline at end of file diff --git a/src/tests/__snapshots__/WindowsIcon.html b/src/tests/__snapshots__/WindowsIcon.html new file mode 100644 index 00000000..0c031add --- /dev/null +++ b/src/tests/__snapshots__/WindowsIcon.html @@ -0,0 +1 @@ +My custom title \ No newline at end of file diff --git a/svg/multi-color/platforms/apple.svg b/svg/multi-color/platforms/apple.svg new file mode 100644 index 00000000..fbab728e --- /dev/null +++ b/svg/multi-color/platforms/apple.svg @@ -0,0 +1,3 @@ + + + diff --git a/svg/multi-color/platforms/docker.svg b/svg/multi-color/platforms/docker.svg new file mode 100644 index 00000000..4595f037 --- /dev/null +++ b/svg/multi-color/platforms/docker.svg @@ -0,0 +1,3 @@ + + + diff --git a/svg/multi-color/platforms/linux.svg b/svg/multi-color/platforms/linux.svg new file mode 100644 index 00000000..86f24233 --- /dev/null +++ b/svg/multi-color/platforms/linux.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/svg/multi-color/platforms/windows.svg b/svg/multi-color/platforms/windows.svg new file mode 100644 index 00000000..58a9b85a --- /dev/null +++ b/svg/multi-color/platforms/windows.svg @@ -0,0 +1,3 @@ + + +