From c1feaa0168a37e334f946f43a1fd5e11ff090b53 Mon Sep 17 00:00:00 2001 From: Erick Vargas Date: Thu, 8 Aug 2024 19:35:47 -0500 Subject: [PATCH] feat: add snaplet icon --- src/components/icons/languages/index.ts | 4 +++- src/components/icons/languages/snaplet.tsx | 23 ++++++++++++++++++++++ src/flavors/data.tsx | 11 +++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 src/components/icons/languages/snaplet.tsx diff --git a/src/components/icons/languages/index.ts b/src/components/icons/languages/index.ts index cd559b31..e8ea6da3 100644 --- a/src/components/icons/languages/index.ts +++ b/src/components/icons/languages/index.ts @@ -30,6 +30,7 @@ import { ReactIcon } from './react' import { RubyIcon } from './ruby' import { RustIcon } from './rust' import { ScalaIcon } from './scala' +import { SnapletIcon } from './snaplet' import { SolidIcon } from './solid' import { SvelteIcon } from './svelte' import { TailwindIcon } from './tailwind' @@ -79,5 +80,6 @@ export const FLAVORS_ICONS = { linux: LinuxIcon, ruby: RubyIcon, tailwind: TailwindIcon, - c: CIcon + c: CIcon, + snaplet: SnapletIcon } diff --git a/src/components/icons/languages/snaplet.tsx b/src/components/icons/languages/snaplet.tsx new file mode 100644 index 00000000..cec9624c --- /dev/null +++ b/src/components/icons/languages/snaplet.tsx @@ -0,0 +1,23 @@ +export function SnapletIcon({ className = '', ...props }) { + return ( + + + + + + + + + + + + ) +} diff --git a/src/flavors/data.tsx b/src/flavors/data.tsx index 84e6b617..760a356a 100644 --- a/src/flavors/data.tsx +++ b/src/flavors/data.tsx @@ -440,6 +440,17 @@ export const FLAVORS = { }, shadowColor: 'shadow-blue-400/25' } + }, + snaplet: { + icon: FLAVORS_ICONS.snaplet, + colorPalette: { + bg: 'bg-[#6878ed]/60', + borders: { + inside: 'border-purple-300/20', + outside: 'border-purple-400/10' + }, + shadowColor: 'shadow-blue-400/25' + } } }