Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add blazor flavor #155

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions src/components/icons/languages/blazor.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
export function BlazorIcon({ className = '', ...props }) {
return (
<svg
fill='none'
height='449.6'
viewBox='-2.024 -10.722 67.991 68.604'
width='500'
xmlns='http://www.w3.org/2000/svg'
className={className}
{...props}
stroke='white'
>
<path
d='M60.787 17.696c-1.32 8.272 -5.531 15.808 -11.884 21.267s-14.437 8.487 -22.813 8.545c-1.697 0.065 -3.395 -0.038 -5.072 -0.308a15.544 15.544 0 0 1 -12.926 -14.653 15.096 15.096 0 0 1 4.428 -10.552 15.092 15.092 0 0 1 21.177 -0.15 15.096 15.096 0 0 1 4.577 10.489c0.063 2.502 -1.02 4.697 -3.248 4.76 -2.38 0 -3.495 -1.698 -3.495 -3.987v-6.359a3.896 3.896 0 0 0 -3.865 -3.899H22.336a9.278 9.278 0 0 0 -7.824 4.192 9.28 9.28 0 0 0 6.317 14.254 9.278 9.278 0 0 0 8.36 -2.982l0.186 -0.278 0.187 0.309a6.564 6.564 0 0 0 5.597 2.666 7.398 7.398 0 0 0 6.854 -7.734 20.12 20.12 0 0 0 -0.552 -4.915 18.832 18.832 0 0 0 -7.402 -11.285A18.831 18.831 0 0 0 9.012 19.817a18.836 18.836 0 0 0 -4.784 12.619 19.07 19.07 0 0 0 5.495 13.165 19.066 19.066 0 0 0 13.09 5.669s1.396 0.127 2.97 0.091a40.188 40.188 0 0 0 21.554 -6.431c0.091 -0.064 0.183 0.063 0.122 0.156a31.636 31.636 0 0 1 -24.645 10.079 22.24 22.24 0 0 1 -16.192 -6.574A22.244 22.244 0 0 1 0.178 32.345a23.02 23.02 0 0 1 9.245 -18.434A22.54 22.54 0 0 1 22.722 9.52h7.154a20.128 20.128 0 0 0 14.849 -6.557 0.28 0.28 0 0 1 0.151 -0.086 0.284 0.284 0 0 1 0.304 0.133c0.031 0.051 0.044 0.111 0.039 0.171a20.18 20.18 0 0 1 -3.122 9.028 0.278 0.278 0 0 0 0.023 0.302 0.278 0.278 0 0 0 0.285 0.101A21.632 21.632 0 0 0 57.446 0.209c0.035 -0.055 0.082 -0.101 0.139 -0.134a0.38 0.38 0 0 1 0.374 0c0.057 0.032 0.105 0.078 0.139 0.134a27.42 27.42 0 0 1 2.689 17.486m-37.993 8.972a5.565 5.565 0 0 0 -5.459 6.651 5.566 5.566 0 0 0 4.372 4.373 5.565 5.565 0 0 0 6.65 -5.459v-5.195a0.401 0.401 0 0 0 -0.381 -0.381z'
fill='#702af7'
/>
</svg>
)
}
2 changes: 2 additions & 0 deletions src/components/icons/languages/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { AngularIcon } from './angular'
import { AstroIcon } from './astro'
import { BlazorIcon } from './blazor'
import { BunIcon } from './bun'
import { CIcon } from './c'
import { CSharpIcon } from './csharp'
Expand Down Expand Up @@ -53,6 +54,7 @@ export const FLAVORS_ICONS = {
astro: AstroIcon,
node: NodeIcon,
deno: DenoIcon,
blazor: BlazorIcon,
bun: BunIcon,
npm: NpmIcon,
github: GithubIcon,
Expand Down
11 changes: 11 additions & 0 deletions src/flavors/data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,17 @@ export const FLAVORS = {
shadowColor: 'shadow-gray-400/25'
}
},
blazor: {
icon: FLAVORS_ICONS.blazor,
colorPalette: {
bg: 'bg-[#5c2992]/50',
borders: {
inside: 'border-indigo-300/20',
outside: 'border-indigo-400/10'
},
shadowColor: 'shadow-indigo-400/25'
}
},
bun: {
icon: FLAVORS_ICONS.bun,
colorPalette: {
Expand Down