Skip to content

Commit

Permalink
💄 style: Update some icon style
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Feb 15, 2025
1 parent 1274ade commit 769b3a6
Show file tree
Hide file tree
Showing 18 changed files with 347 additions and 22 deletions.
8 changes: 7 additions & 1 deletion src/Azure/components/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;

const Avatar = memo<AvatarProps>(({ background, ...rest }) => {
return (
<IconAvatar Icon={Mono} aria-label={TITLE} background={background || COLOR_PRIMARY} {...rest} />
<IconAvatar
Icon={Mono}
aria-label={TITLE}
background={background || COLOR_PRIMARY}
iconMultiple={0.7}
{...rest}
/>
);
});

Expand Down
60 changes: 56 additions & 4 deletions src/Azure/components/Color.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

import { forwardRef } from 'react';

import { useFillIds } from '@/hooks/useFillId';
import type { IconType } from '@/types';

import { TITLE } from '../style';

const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
const [a, b, c] = useFillIds(TITLE, 3);
return (
<svg
height={size}
Expand All @@ -18,10 +20,60 @@ const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
{...rest}
>
<title>{TITLE}</title>
<path d="M11.49 2H2v9.492h9.492V2h-.002z" fill="#F25022" />
<path d="M22 2h-9.492v9.492H22V2z" fill="#7FBA00" />
<path d="M11.49 12.508H2V22h9.492v-9.492h-.002z" fill="#00A4EF" />
<path d="M22 12.508h-9.492V22H22v-9.492z" fill="#FFB900" />
<path
d="M7.242 1.613A1.11 1.11 0 018.295.857h6.977L8.03 22.316a1.11 1.11 0 01-1.052.755h-5.43a1.11 1.11 0 01-1.053-1.466L7.242 1.613z"
fill={a.fill}
/>
<path
d="M18.397 15.296H7.4a.51.51 0 00-.347.882l7.066 6.595c.206.192.477.298.758.298h6.226l-2.706-7.775z"
fill="#0078D4"
/>
<path
d="M15.272.857H7.497L0 23.071h7.775l1.596-4.73 5.068 4.73h6.665l-2.707-7.775h-7.998L15.272.857z"
fill={b.fill}
/>
<path
d="M17.193 1.613a1.11 1.11 0 00-1.052-.756h-7.81.035c.477 0 .9.304 1.052.756l6.748 19.992a1.11 1.11 0 01-1.052 1.466h-.12 7.895a1.11 1.11 0 001.052-1.466L17.193 1.613z"
fill={c.fill}
/>
<defs>
<linearGradient
gradientUnits="userSpaceOnUse"
id={a.id}
x1="8.247"
x2="1.002"
y1="1.626"
y2="23.03"
>
<stop stopColor="#114A8B" />
<stop offset="1" stopColor="#0669BC" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
id={b.id}
x1="14.042"
x2="12.324"
y1="15.302"
y2="15.888"
>
<stop stopOpacity=".3" />
<stop offset=".071" stopOpacity=".2" />
<stop offset=".321" stopOpacity=".1" />
<stop offset=".623" stopOpacity=".05" />
<stop offset="1" stopOpacity="0" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
id={c.id}
x1="12.841"
x2="20.793"
y1="1.626"
y2="22.814"
>
<stop stopColor="#3CCBF4" />
<stop offset="1" stopColor="#2892DF" />
</linearGradient>
</defs>
</svg>
);
});
Expand Down
13 changes: 9 additions & 4 deletions src/Azure/components/Mono.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@ const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
{...rest}
>
<title>{TITLE}</title>
<path d="M11.49 2H2v9.492h9.492V2h-.002z" />
<path d="M22 2h-9.492v9.492H22V2z" />
<path d="M11.49 12.508H2V22h9.492v-9.492h-.002z" />
<path d="M22 12.508h-9.492V22H22v-9.492z" />
<path
d="M18.397 15.296H7.4a.51.51 0 00-.347.882l7.066 6.595c.206.192.477.298.758.298h6.226l-2.706-7.775z"
fillOpacity=".75"
/>
<path
d="M8.295.857c-.477 0-.9.304-1.053.756L.495 21.605a1.11 1.11 0 001.052 1.466h5.43c.477 0 .9-.304 1.053-.755l1.341-3.975-2.318-2.163a.51.51 0 01.347-.882h3L15.271.857H8.295z"
fillOpacity=".5"
/>
<path d="M17.193 1.613a1.11 1.11 0 00-1.052-.756h-7.81.035c.477 0 .9.304 1.052.756l6.748 19.992a1.11 1.11 0 01-1.052 1.466h-.12 7.895a1.11 1.11 0 001.052-1.466L17.193 1.613z" />
</svg>
);
});
Expand Down
2 changes: 1 addition & 1 deletion src/Azure/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
nav: Components
group: Provider
title: Microsoft (Azure)
title: Microsoft Azure
atomId: Azure
description: https://azure.microsoft.com
---
Expand Down
11 changes: 9 additions & 2 deletions src/AzureAI/components/Text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,19 @@ const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
height={size}
ref={ref}
style={{ flex: 'none', lineHeight: 1, ...style }}
viewBox="0 0 105 24"
viewBox="0 0 96 24"
xmlns="http://www.w3.org/2000/svg"
{...rest}
>
<title>{TITLE}</title>
<path d="M103.235 21.67h-2.305V2h2.305v19.67zM98.022 21.67H95.47l-2.085-5.514h-8.34l-1.961 5.515h-2.566L88.064 2h2.387l7.572 19.67zm-5.391-7.585l-3.086-8.381c-.101-.275-.202-.714-.302-1.317h-.055c-.091.558-.197.997-.316 1.317l-3.059 8.381h6.818zM70.546 21.67h-2.25v-2.194h-.055C67.263 21.159 65.823 22 63.921 22c-1.4 0-2.497-.37-3.293-1.111-.786-.74-1.18-1.724-1.18-2.95 0-2.624 1.546-4.151 4.637-4.581l4.211-.59c0-2.387-.965-3.58-2.894-3.58-1.692 0-3.22.576-4.582 1.728V8.612c1.381-.878 2.972-1.317 4.774-1.317 3.301 0 4.952 1.747 4.952 5.24v9.136zm-2.25-7.105l-3.388.466c-1.042.147-1.829.407-2.36.782-.53.366-.795 1.02-.795 1.962 0 .686.242 1.248.727 1.687.494.43 1.148.645 1.962.645 1.115 0 2.034-.389 2.757-1.166.731-.787 1.097-1.779 1.097-2.977v-1.399zM58.05 9.901c-.394-.302-.96-.452-1.702-.452-.96 0-1.764.452-2.414 1.358-.64.905-.96 2.14-.96 3.703v7.16h-2.25V7.625h2.25v2.894h.055c.32-.987.81-1.755 1.468-2.304.658-.558 1.394-.837 2.208-.837.585 0 1.034.064 1.344.192v2.332zM46.17 21.67h-2.25v-2.222h-.054C42.933 21.15 41.488 22 39.53 22c-3.347 0-5.02-1.994-5.02-5.98V7.623h2.235v8.038c0 2.963 1.134 4.445 3.402 4.445 1.098 0 1.998-.402 2.702-1.207.714-.814 1.07-1.875 1.07-3.183V7.624h2.25v14.047zM31.904 8.269L23.591 19.75h8.23v1.92H20.286v-.699l8.313-11.427h-7.53v-1.92h10.836v.645zM19.503 21.67h-2.551l-2.085-5.514h-8.34l-1.962 5.515H2L9.545 2h2.386l7.572 19.67zm-5.39-7.585l-3.087-8.381c-.1-.275-.201-.714-.302-1.317h-.055c-.091.558-.196.997-.315 1.317l-3.06 8.381h6.819z" />
<path
clipRule="evenodd"
d="M12.504 3l6.915 18.325H15.91l-1.625-4.548H7.047l-1.562 4.548H2L8.916 3h3.588zm-1.806 3.4h-.09l-2.717 7.718h5.508l-2.7-7.719-.001.001zM21 8.188h10.517v1.24l-6.904 9.444h6.943v2.453H20.513v-1.47l6.802-9.213H21V8.188zm24.2 0v13.137h-3.127v-1.724h-.05a4.185 4.185 0 01-1.646 1.398c-.689.337-1.459.506-2.313.506-1.53 0-2.692-.433-3.49-1.298-.799-.864-1.2-2.208-1.2-4.032V8.188h3.141v7.617c0 1.108.219 1.94.66 2.498.439.558 1.102.837 1.99.837.88 0 1.585-.308 2.115-.926.53-.617.793-1.426.793-2.421V8.188H45.2zm8.908-.217c.247 0 .469.017.666.051.196.034.364.076.5.128v3.131c-.164-.12-.398-.232-.71-.338-.312-.107-.69-.16-1.133-.16-.761 0-1.405.32-1.93.958-.525.64-.788 1.624-.788 2.952v6.632h-3.1V8.188h3.1v2.07h.052c.28-.715.71-1.275 1.28-1.68.573-.404 1.26-.607 2.063-.607zm7.673-.05c1.82 0 3.236.554 4.25 1.667 1.01 1.111 1.516 2.648 1.516 4.607v1.494h-9.018c.138 1.32.562 2.243 1.276 2.768.71.524 1.633.785 2.759.785a6.64 6.64 0 002.126-.339 6.884 6.884 0 001.794-.887v2.544c-.512.323-1.182.585-2.011.784-.829.201-1.712.301-2.653.301-2.007 0-3.566-.592-4.68-1.776-1.116-1.185-1.672-2.832-1.672-4.945 0-2.036.595-3.714 1.787-5.03 1.19-1.316 2.7-1.974 4.526-1.974v.001zm0 2.363c-.741 0-1.407.267-1.996.8-.59.531-.983 1.312-1.18 2.343h5.893c0-1.021-.236-1.8-.71-2.338-.474-.536-1.142-.805-2.007-.805z"
/>
<path
clipRule="evenodd"
d="M12.504 3l6.915 18.325H15.91l-1.625-4.548H7.047l-1.562 4.548H2L8.916 3h3.588zm-1.806 3.4h-.09l-2.717 7.718h5.508l-2.7-7.719-.001.001zM21 8.188h10.517v1.24l-6.904 9.444h6.943v2.453H20.513v-1.47l6.802-9.213H21V8.188zm24.2 0v13.137h-3.127v-1.724h-.05a4.185 4.185 0 01-1.646 1.398c-.689.337-1.459.506-2.313.506-1.53 0-2.692-.433-3.49-1.298-.799-.864-1.2-2.208-1.2-4.032V8.188h3.141v7.617c0 1.108.219 1.94.66 2.498.439.558 1.102.837 1.99.837.88 0 1.585-.308 2.115-.926.53-.617.793-1.426.793-2.421V8.188H45.2zm8.908-.217c.247 0 .469.017.666.051.196.034.364.076.5.128v3.131c-.164-.12-.398-.232-.71-.338-.312-.107-.69-.16-1.133-.16-.761 0-1.405.32-1.93.958-.525.64-.788 1.624-.788 2.952v6.632h-3.1V8.188h3.1v2.07h.052c.28-.715.71-1.275 1.28-1.68.573-.404 1.26-.607 2.063-.607zm7.673-.05c1.82 0 3.236.554 4.25 1.667 1.01 1.111 1.516 2.648 1.516 4.607v1.494h-9.018c.138 1.32.562 2.243 1.276 2.768.71.524 1.633.785 2.759.785a6.64 6.64 0 002.126-.339 6.884 6.884 0 001.794-.887v2.544c-.512.323-1.182.585-2.011.784-.829.201-1.712.301-2.653.301-2.007 0-3.566-.592-4.68-1.776-1.116-1.185-1.672-2.832-1.672-4.945 0-2.036.595-3.714 1.787-5.03 1.19-1.316 2.7-1.974 4.526-1.974v.001zm0 2.363c-.741 0-1.407.267-1.996.8-.59.531-.983 1.312-1.18 2.343h5.893c0-1.021-.236-1.8-.71-2.338-.474-.536-1.142-.805-2.007-.805zM82.504 3l6.915 18.325H85.91l-1.625-4.548h-7.238l-1.562 4.548H72L78.916 3h3.588zm-1.806 3.4h-.09l-2.717 7.718h5.508l-2.7-7.719-.001.001zm13.015 14.925h-3.1V3h3.1v18.325z"
/>
</svg>
);
});
Expand Down
2 changes: 1 addition & 1 deletion src/AzureAI/style.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const TITLE = 'AzureAI';
export const TEXT_MULTIPLE = 0.6;
export const TEXT_MULTIPLE = 0.7;
export const SPACE_MULTIPLE = 0.2;
export const COLOR_PRIMARY = '#000';
8 changes: 1 addition & 7 deletions src/Jina/components/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;

const Avatar = memo<AvatarProps>(({ background, ...rest }) => {
return (
<IconAvatar
Icon={Mono}
aria-label={TITLE}
background={background || COLOR_PRIMARY}
iconMultiple={0.65}
{...rest}
/>
<IconAvatar Icon={Mono} aria-label={TITLE} background={background || COLOR_PRIMARY} {...rest} />
);
});

Expand Down
2 changes: 1 addition & 1 deletion src/Jina/components/Mono.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
{...rest}
>
<title>{TITLE}</title>
<path d="M5.53 23.3a5.53 5.53 0 100-11.06 5.53 5.53 0 000 11.06zM22.673.018C23.41.018 24 .608 24 1.346v10.802c0 6.156-4.977 11.17-11.06 11.244V12.166l-.037-10.839C12.903.59 13.493 0 14.23 0h8.59l-.147.018z" />
<path d="M6.608 21.416a4.608 4.608 0 100-9.217 4.608 4.608 0 000 9.217zM20.894 2.015c.614 0 1.106.492 1.106 1.106v9.002c0 5.13-4.148 9.309-9.217 9.37v-9.355l-.03-9.032c0-.614.491-1.106 1.106-1.106h7.158l-.123.015z" />
</svg>
);
});
Expand Down
18 changes: 18 additions & 0 deletions src/Microsoft/components/Avatar.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
'use client';

import { memo } from 'react';

import IconAvatar, { type IconAvatarProps } from '@/features/IconAvatar';

import { COLOR_PRIMARY, TITLE } from '../style';
import Mono from './Mono';

export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;

const Avatar = memo<AvatarProps>(({ background, ...rest }) => {
return (
<IconAvatar Icon={Mono} aria-label={TITLE} background={background || COLOR_PRIMARY} {...rest} />
);
});

export default Avatar;
29 changes: 29 additions & 0 deletions src/Microsoft/components/Color.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
'use client';

import { forwardRef } from 'react';

import type { IconType } from '@/types';

import { TITLE } from '../style';

const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
return (
<svg
height={size}
ref={ref}
style={{ flex: 'none', lineHeight: 1, ...style }}
viewBox="0 0 24 24"
width={size}
xmlns="http://www.w3.org/2000/svg"
{...rest}
>
<title>{TITLE}</title>
<path d="M11.49 2H2v9.492h9.492V2h-.002z" fill="#F25022" />
<path d="M22 2h-9.492v9.492H22V2z" fill="#7FBA00" />
<path d="M11.49 12.508H2V22h9.492v-9.492h-.002z" fill="#00A4EF" />
<path d="M22 12.508h-9.492V22H22v-9.492z" fill="#FFB900" />
</svg>
);
});

export default Icon;
30 changes: 30 additions & 0 deletions src/Microsoft/components/Combine.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
'use client';

import { memo } from 'react';

import IconCombine, { type IconCombineProps } from '@/features/IconCombine';

import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from '../style';
import Color from './Color';
import Mono from './Mono';
import Text from './Text';

export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
type?: 'color' | 'mono';
}
const Combine = memo<CombineProps>(({ type = 'mono', ...rest }) => {
const Icon = type === 'color' ? Color : Mono;

return (
<IconCombine
Icon={Icon}
Text={Text}
aria-label={TITLE}
spaceMultiple={SPACE_MULTIPLE}
textMultiple={TEXT_MULTIPLE}
{...rest}
/>
);
});

export default Combine;
31 changes: 31 additions & 0 deletions src/Microsoft/components/Mono.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
'use client';

import { forwardRef } from 'react';

import type { IconType } from '@/types';

import { TITLE } from '../style';

const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
return (
<svg
fill="currentColor"
fillRule="evenodd"
height={size}
ref={ref}
style={{ flex: 'none', lineHeight: 1, ...style }}
viewBox="0 0 24 24"
width={size}
xmlns="http://www.w3.org/2000/svg"
{...rest}
>
<title>{TITLE}</title>
<path d="M11.49 2H2v9.492h9.492V2h-.002z" />
<path d="M22 2h-9.492v9.492H22V2z" />
<path d="M11.49 12.508H2V22h9.492v-9.492h-.002z" />
<path d="M22 12.508h-9.492V22H22v-9.492z" />
</svg>
);
});

export default Icon;
30 changes: 30 additions & 0 deletions src/Microsoft/components/Text.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
'use client';

import { forwardRef } from 'react';

import type { IconType } from '@/types';

import { TITLE } from '../style';

const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
return (
<svg
fill="currentColor"
fillRule="evenodd"
height={size}
ref={ref}
style={{ flex: 'none', lineHeight: 1, ...style }}
viewBox="0 0 108 24"
xmlns="http://www.w3.org/2000/svg"
{...rest}
>
<title>{TITLE}</title>
<path
clipRule="evenodd"
d="M21.881 3.355V21.68h-3.19V7.316h-.051l-5.7 14.364h-2.114L4.984 7.316h-.038V21.68H2V3.355h4.573L11.85 16.94h.076L17.5 3.355h4.381zm2.667 1.393c0-.511.186-.939.558-1.284.356-.34.832-.526 1.325-.518.546 0 1 .177 1.358.53.359.354.538.778.538 1.272 0 .502-.184.925-.55 1.264-.368.342-.816.512-1.346.512-.529 0-.976-.172-1.338-.517a1.667 1.667 0 01-.545-1.259zm.32 16.932h3.1V8.543h-3.1V21.68zm12.503-2.25c.461 0 .97-.104 1.524-.318a6.417 6.417 0 001.538-.844v2.876a6.289 6.289 0 01-1.685.639A9.217 9.217 0 0136.68 22c-1.94 0-3.515-.611-4.728-1.834-1.212-1.221-1.819-2.783-1.819-4.683 0-2.113.62-3.853 1.858-5.22 1.238-1.368 2.993-2.051 5.265-2.051.58 0 1.168.074 1.761.223.594.148 1.065.32 1.416.518v2.964a6.39 6.39 0 00-1.468-.812 4.234 4.234 0 00-1.53-.287c-1.22 0-2.207.396-2.96 1.189-.75.792-1.126 1.862-1.126 3.207 0 1.329.36 2.365 1.082 3.105.722.742 1.701 1.111 2.94 1.111zM49.258 8.327c.248 0 .471.017.667.051.195.034.363.076.5.128v3.131c-.163-.12-.4-.232-.711-.338-.313-.108-.69-.16-1.134-.16-.76 0-1.403.32-1.928.958-.525.64-.787 1.624-.787 2.952v6.632h-3.1V8.544h3.1v2.07h.05c.282-.716.709-1.276 1.281-1.681.572-.404 1.26-.606 2.062-.606zm1.335 6.977c0-2.172.614-3.893 1.843-5.162 1.231-1.27 2.939-1.904 5.124-1.904 2.06 0 3.666.611 4.824 1.834 1.157 1.223 1.735 2.873 1.735 4.952 0 2.13-.614 3.825-1.844 5.085C61.045 21.371 59.371 22 57.253 22c-2.041 0-3.661-.598-4.86-1.795-1.201-1.197-1.8-2.829-1.8-4.901zm3.228-.101c0 1.37.31 2.42.935 3.143.622.724 1.515 1.086 2.677 1.086 1.128 0 1.985-.362 2.574-1.086.59-.723.884-1.797.884-3.22 0-1.415-.305-2.482-.915-3.2-.611-.721-1.468-1.082-2.568-1.082-1.137 0-2.019.377-2.646 1.132-.628.754-.941 1.829-.941 3.227zm14.91-3.208c0 .443.141.79.422 1.042.283.25.905.568 1.871.951 1.238.495 2.108 1.051 2.607 1.67.5.615.749 1.364.749 2.24 0 1.237-.476 2.23-1.428 2.979-.951.75-2.24 1.124-3.862 1.124a9.277 9.277 0 01-1.813-.198c-.662-.132-1.223-.3-1.685-.506v-3.04c.564.391 1.17.703 1.82.933.649.23 1.238.344 1.768.344.699 0 1.216-.097 1.55-.294.331-.195.499-.523.499-.982 0-.427-.172-.787-.519-1.081-.346-.294-1-.633-1.966-1.016-1.144-.477-1.956-1.014-2.434-1.61-.477-.596-.718-1.354-.718-2.275 0-1.185.473-2.158 1.416-2.92.944-.763 2.167-1.143 3.67-1.143.46 0 .978.05 1.55.152.573.103 1.051.235 1.435.396v2.94a6.63 6.63 0 00-1.435-.703 4.797 4.797 0 00-1.626-.294c-.59 0-1.049.115-1.378.345-.328.23-.493.546-.493.946zm6.982 3.31c0-2.173.614-3.894 1.844-5.163 1.23-1.27 2.937-1.904 5.124-1.904 2.059 0 3.666.611 4.824 1.834 1.157 1.223 1.735 2.873 1.735 4.952 0 2.13-.616 3.825-1.844 5.085C86.166 21.371 84.491 22 82.373 22c-2.04 0-3.66-.598-4.861-1.795-1.2-1.197-1.799-2.83-1.799-4.902v.002zm3.227-.102c0 1.37.313 2.42.935 3.143.625.724 1.517 1.086 2.677 1.086 1.128 0 1.987-.362 2.576-1.086.588-.723.883-1.797.883-3.22 0-1.415-.304-2.482-.916-3.2-.609-.721-1.467-1.082-2.567-1.082-1.136 0-2.018.377-2.646 1.132-.628.754-.942 1.829-.942 3.227zm20.584-4.128h-4.618V21.68H91.77V11.074h-2.203v-2.53h2.203V6.716c0-1.38.45-2.511 1.352-3.393C94.021 2.44 95.177 2 96.586 2c.376 0 .708.02.998.058.292.038.548.095.77.172v2.672a3.233 3.233 0 00-.54-.218 2.792 2.792 0 00-.883-.128c-.648 0-1.148.202-1.498.607-.35.405-.527 1.004-.527 1.795v1.586h4.618V5.592l3.113-.946v3.898h3.138v2.53h-3.138v6.146c0 .81.147 1.38.442 1.712.294.334.758.499 1.391.499.178 0 .394-.042.647-.128.25-.085.47-.186.658-.306v2.556c-.196.112-.523.213-.98.307-.457.093-.906.14-1.35.14-1.308 0-2.287-.347-2.942-1.043-.653-.692-.98-1.739-.98-3.136v-6.747l.001.001z"
/>
</svg>
);
});

export default Icon;
72 changes: 72 additions & 0 deletions src/Microsoft/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
nav: Components
group: Provider
title: Microsoft
atomId: Microsoft
description: https://microsoft.com
---

## Icons

```tsx
import { Microsoft } from '@lobehub/icons';
import { Flexbox } from 'react-layout-kit';

export default () => (
<Flexbox gap={16} horizontal>
<Microsoft size={64} />
<Microsoft.Color size={64} />
</Flexbox>
);
```

## Text

```tsx
import { Microsoft } from '@lobehub/icons';

export default () => <Microsoft.Text size={48} />;
```

## Combine

```tsx
import { Microsoft } from '@lobehub/icons';
import { Flexbox } from 'react-layout-kit';

export default () => (
<Flexbox gap={16} align={'flex-start'}>
<Microsoft.Combine size={64} />
<Microsoft.Combine size={64} type={'color'} />
</Flexbox>
);
```

## Avatars

```tsx
import { Microsoft } from '@lobehub/icons';
import { Flexbox } from 'react-layout-kit';

export default () => (
<Flexbox gap={16} horizontal>
<Microsoft.Avatar size={64} />
<Microsoft.Avatar size={64} shape={'square'} />
</Flexbox>
);
```

## Colors

```tsx
import { Microsoft } from '@lobehub/icons';
import { Flexbox } from 'react-layout-kit';

import ColorPreview from '../components/ColorPreview';

export default () => (
<Flexbox gap={16} horizontal>
<ColorPreview color={Microsoft.colorPrimary} />
</Flexbox>
);
```
Loading

0 comments on commit 769b3a6

Please sign in to comment.