-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
237 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
'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} | ||
color={'#fff'} | ||
iconMultiple={0.6} | ||
{...rest} | ||
/> | ||
); | ||
}); | ||
|
||
export default Avatar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
'use client'; | ||
|
||
import { memo } from 'react'; | ||
|
||
import IconCombine, { type IconCombineProps } from '@/features/IconCombine'; | ||
|
||
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from '../style'; | ||
import Mono from './Mono'; | ||
import Text from './Text'; | ||
|
||
export type CombineProps = Omit<IconCombineProps, 'Icon' | 'Text'>; | ||
|
||
const Combine = memo<CombineProps>(({ ...rest }) => { | ||
return ( | ||
<IconCombine | ||
Icon={Mono} | ||
Text={Text as any} | ||
aria-label={TITLE} | ||
spaceMultiple={SPACE_MULTIPLE} | ||
textMultiple={TEXT_MULTIPLE} | ||
{...rest} | ||
/> | ||
); | ||
}); | ||
|
||
export default Combine; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
'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={{ | ||
fill: 'none', | ||
flex: 'none', | ||
lineHeight: 1, | ||
stroke: 'currentColor', | ||
strokeLinecap: 'round', | ||
strokeLinejoin: 'round', | ||
strokeWidth: 68, | ||
...style, | ||
}} | ||
viewBox="0 0 900 900" | ||
width={size} | ||
xmlns="http://www.w3.org/2000/svg" | ||
{...rest} | ||
> | ||
<title>{TITLE}</title> | ||
<path d="M377.87 204.445H237.224M377.87 696.305H237.224M44.007 450.582h334.226M390.122 816.411H355.82zm0-244.024c67.386 0 122.013 54.627 122.013 122.012 0 67.386-54.627 122.012-122.013 122.012m0-732.922H355.82zm0 488.898H117.421m272.701-244.874H117.421m272.701 0c9.259 0 18.276 1.88 26.944 3.834 54.421 12.267 95.069 60.9 95.069 119.028 0 67.385-54.627 122.012-122.013 122.012m0-488.898c67.386 0 122.013 54.627 122.013 122.012 0 67.386-54.627 122.012-122.013 122.012" /> | ||
<path d="M665.607 313.656c0-36.554-20.93-69.879-53.858-85.751a95.194 95.194 0 0 0-100.631 11.28m297.28-7.97a95.194 95.194 0 0 0-95.193 0 95.194 95.194 0 0 0-47.598 82.441M667.655 523.686a95.193 95.193 0 0 0-140.773-64.862l.046.02a95.03 95.03 0 0 0-16.274 11.72m157.001 53.122c8.904 42.224 45 72.918 87.63 75.374l-.017.11a95.154 95.154 0 0 0 26.509-2.166" /> | ||
<path d="M474.213 798.357a95.597 95.597 0 0 1-4.59-10.63m306.374-567.765A210.825 210.825 0 0 0 673.055 76.897a210.824 210.824 0 0 0-222.857 9.3M760.802 408.85c38.502 0 73.214-23.193 87.948-58.766 14.734-35.571 6.588-76.516-20.637-103.741a95.194 95.194 0 0 0-52.116-26.38M651.123 730.766c22.06 33.771 63.01 49.972 102.204 40.435 39.194-9.537 68.122-42.74 72.199-82.872 3.713-36.594-13.99-72.054-45.469-91.08 46.652-9.636 78.999-52.274 75.71-99.796-3.462-49.897-44.948-88.605-94.965-88.604M474.526 798.955c22.257 43.26 73.552 62.778 118.936 45.253 45.385-17.524 70.253-66.45 57.661-113.441M450.198 86.197a210.67 210.67 0 0 0-8.922 6.704" /> | ||
</svg> | ||
); | ||
}); | ||
|
||
export default Icon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
'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="nonzero" | ||
height={size} | ||
ref={ref} | ||
style={{ flex: 'none', lineHeight: 1, ...style }} | ||
viewBox="0 0 178.2 39.5" | ||
xmlns="http://www.w3.org/2000/svg" | ||
{...rest} | ||
> | ||
<title>{TITLE}</title> | ||
<path d="m4.82 29.3h-4.82v-21.6h4.82v21.6zm0-24.88h-4.82v-4.42h4.82v4.42z" /> | ||
<path d="m16.609 29.501a8.463 8.463 0 0 1-2.329-1.101 9.85 9.85 0 0 1-3.284-3.762 11.719 11.719 0 0 1-0.156-0.318 12.725 12.725 0 0 1-1.123-4.047 15.85 15.85 0 0 1-0.097-1.773 14.944 14.944 0 0 1 0.342-3.262 12.059 12.059 0 0 1 0.888-2.588 9.989 9.989 0 0 1 2.551-3.356 9.722 9.722 0 0 1 0.939-0.704 9.006 9.006 0 0 1 3.93-1.408 11.516 11.516 0 0 1 1.39-0.082 10.531 10.531 0 0 1 2.417 0.264 7.747 7.747 0 0 1 2.753 1.226q2.09 1.49 3.17 4.07a13.803 13.803 0 0 1 0.941 3.585 17.663 17.663 0 0 1 0.139 2.255 16.544 16.544 0 0 1-0.323 3.333 13.449 13.449 0 0 1-0.757 2.477 9.615 9.615 0 0 1-1.764 2.812 8.816 8.816 0 0 1-1.456 1.278 8.103 8.103 0 0 1-3.139 1.302 11.265 11.265 0 0 1-2.161 0.198 9.983 9.983 0 0 1-2.871-0.399zm3.611-3.921a6.903 6.903 0 0 0 1.298-0.115q1.07-0.205 1.832-0.775 1.19-0.89 1.74-2.49a9.746 9.746 0 0 0 0.425-1.812q0.121-0.859 0.125-1.826a15.949 15.949 0 0 0 0-0.062 13.884 13.884 0 0 0-0.105-1.754q-0.119-0.929-0.37-1.73a8.338 8.338 0 0 0-0.075-0.226q-0.55-1.59-1.71-2.48a4.149 4.149 0 0 0-1.593-0.737q-0.645-0.153-1.407-0.153a6.52 6.52 0 0 0-1.412 0.145 4.572 4.572 0 0 0-1.788 0.805 5.435 5.435 0 0 0-1.698 2.165 6.674 6.674 0 0 0-0.162 0.395q-0.6 1.61-0.6 3.57 0 1.98 0.59 3.59a6.059 6.059 0 0 0 0.805 1.522 5.148 5.148 0 0 0 1.005 1.028 4.406 4.406 0 0 0 1.808 0.813 6.258 6.258 0 0 0 1.292 0.127zm9.68 3.72h-4.26v-15.16h-0.6v-13.64h4.86v28.8z" /> | ||
<path d="m55.1 19.84h-4.78v-1.76q-0.02-3.52-1.24-5.14-1.165-1.547-3.607-1.617a8.175 8.175 0 0 0-0.233-3e-3 7.588 7.588 0 0 0-1.702 0.179q-1.167 0.268-2 0.941a4.439 4.439 0 0 0-0.698 0.71 5.942 5.942 0 0 0-0.959 1.845q-0.481 1.47-0.481 3.505 0 2.27 0.69 3.831a5.628 5.628 0 0 0 0.75 1.249 4.66 4.66 0 0 0 2.865 1.68 7.088 7.088 0 0 0 1.335 0.12 6.725 6.725 0 0 0 1.537-0.168 5.173 5.173 0 0 0 1.533-0.622 5.044 5.044 0 0 0 1.781-1.882 6.254 6.254 0 0 0 0.209-0.408l4.76 1.44q-1.24 2.92-3.83 4.54t-5.71 1.62q-3.28 0-5.76-1.42t-3.87-3.94a11.149 11.149 0 0 1-1.28-4.015 14.106 14.106 0 0 1-0.11-1.785 15.553 15.553 0 0 1 0.279-3.017 11.611 11.611 0 0 1 1.081-3.133q1.36-2.61 3.78-4.05t5.6-1.44a11.968 11.968 0 0 1 2.747 0.301 8.992 8.992 0 0 1 2.963 1.269 9.121 9.121 0 0 1 3.186 3.735 11.325 11.325 0 0 1 0.304 0.695 12.643 12.643 0 0 1 0.764 2.958q0.231 1.669 0.109 3.591a22.296 22.296 0 0 1-0.013 0.191zm-2.36 0h-14.86v-3.64h14.86v3.64z" /> | ||
<path d="m66.107 29.541a9.784 9.784 0 0 1-2.647-1.101q-2.42-1.46-3.75-4.03a11.832 11.832 0 0 1-1.2-3.898 15.134 15.134 0 0 1-0.13-2.012 14.385 14.385 0 0 1 0.319-3.097 11.203 11.203 0 0 1 1.041-2.863q1.36-2.56 3.78-4t5.6-1.44a12.278 12.278 0 0 1 2.961 0.343 9.788 9.788 0 0 1 2.719 1.117q2.42 1.46 3.76 4.03a11.768 11.768 0 0 1 1.209 3.898 15.022 15.022 0 0 1 0.131 2.012q0 3.36-1.35 5.93t-3.77 4.02a10.156 10.156 0 0 1-3.896 1.335 13.078 13.078 0 0 1-1.764 0.115 12.131 12.131 0 0 1-3.013-0.359zm3.013-4.161a6.831 6.831 0 0 0 1.693-0.197 4.462 4.462 0 0 0 2.587-1.723 6.976 6.976 0 0 0 1.127-2.494q0.239-0.984 0.269-2.134a12.808 12.808 0 0 0 4e-3 -0.332q0-2.424-0.846-4.091a6.024 6.024 0 0 0-0.574-0.919 4.582 4.582 0 0 0-2.85-1.738 7.122 7.122 0 0 0-1.41-0.132 7.102 7.102 0 0 0-1.384 0.127q-1.035 0.206-1.806 0.743a4.999 4.999 0 0 0-1.685 2.032 6.203 6.203 0 0 0-0.165 0.388 8.621 8.621 0 0 0-0.477 1.842 11.824 11.824 0 0 0-0.123 1.748 11.187 11.187 0 0 0 0.177 2.051q0.214 1.146 0.687 2.062a6.01 6.01 0 0 0 0.566 0.897q1.43 1.87 4.21 1.87z" /> | ||
<path d="m84.8 34.8 4.44-2.2a4.095 4.095 0 0 0 1.03 1.283 3.918 3.918 0 0 0 0.72 0.467q1.13 0.57 2.41 0.57a7.264 7.264 0 0 0 1.483-0.145 5.796 5.796 0 0 0 1.197-0.385 4.235 4.235 0 0 0 1.307-0.898 3.979 3.979 0 0 0 0.523-0.662q0.612-0.97 0.612-2.393a6.811 6.811 0 0 0-2e-3 -0.177v-6.14h0.6v-16.42h4.22v22.64q0 0.82-0.07 1.57t-0.23 1.47a7.647 7.647 0 0 1-0.729 1.966 6.379 6.379 0 0 1-1.111 1.484 8.166 8.166 0 0 1-2.61 1.726 9.886 9.886 0 0 1-0.76 0.284 13.15 13.15 0 0 1-2.752 0.575 16.45 16.45 0 0 1-1.698 0.085q-1.8 0-3.45-0.56t-2.97-1.61-2.16-2.53zm5.289-5.299a8.463 8.463 0 0 1-2.329-1.101 9.85 9.85 0 0 1-3.284-3.762 11.719 11.719 0 0 1-0.156-0.318 12.725 12.725 0 0 1-1.123-4.047 15.85 15.85 0 0 1-0.097-1.773 14.944 14.944 0 0 1 0.342-3.262 12.059 12.059 0 0 1 0.888-2.588 9.989 9.989 0 0 1 2.551-3.356 9.722 9.722 0 0 1 0.939-0.704 9.006 9.006 0 0 1 3.93-1.408 11.516 11.516 0 0 1 1.39-0.082 10.531 10.531 0 0 1 2.417 0.264 7.747 7.747 0 0 1 2.753 1.226q2.09 1.49 3.17 4.07a13.803 13.803 0 0 1 0.941 3.585 17.663 17.663 0 0 1 0.139 2.255 16.544 16.544 0 0 1-0.323 3.333 13.449 13.449 0 0 1-0.757 2.477 9.615 9.615 0 0 1-1.764 2.812 8.816 8.816 0 0 1-1.456 1.278 8.103 8.103 0 0 1-3.139 1.302 11.265 11.265 0 0 1-2.161 0.198 9.983 9.983 0 0 1-2.871-0.399zm3.611-3.921a6.903 6.903 0 0 0 1.298-0.115q1.07-0.205 1.832-0.775 1.19-0.89 1.74-2.49a9.746 9.746 0 0 0 0.425-1.812q0.121-0.859 0.125-1.826a15.949 15.949 0 0 0 0-0.062 13.884 13.884 0 0 0-0.105-1.754q-0.119-0.929-0.37-1.73a8.338 8.338 0 0 0-0.075-0.226q-0.55-1.59-1.71-2.48a4.149 4.149 0 0 0-1.593-0.737q-0.645-0.153-1.407-0.153a6.52 6.52 0 0 0-1.412 0.145 4.572 4.572 0 0 0-1.788 0.805 5.435 5.435 0 0 0-1.698 2.165 6.674 6.674 0 0 0-0.162 0.395q-0.6 1.61-0.6 3.57 0 1.98 0.59 3.59a6.059 6.059 0 0 0 0.805 1.522 5.148 5.148 0 0 0 1.005 1.028 4.406 4.406 0 0 0 1.808 0.813 6.258 6.258 0 0 0 1.292 0.127z" /> | ||
<path d="m113.78 29.3h-4.84v-21.6h4.26v5.26l-0.52-0.68q0.4-1.08 1.07-1.97t1.61-1.47q0.8-0.54 1.77-0.85t1.99-0.38a8.985 8.985 0 0 1 0.615-0.021 8.287 8.287 0 0 1 1.365 0.111v4.5a5.102 5.102 0 0 0-0.921-0.175q-0.56-0.056-1.197-0.012a8.719 8.719 0 0 0-0.092 7e-3q-1.25 0.1-2.25 0.7a5.125 5.125 0 0 0-1.2 0.884 4.636 4.636 0 0 0-0.43 0.496 5.709 5.709 0 0 0-0.911 1.843 6.47 6.47 0 0 0-0.019 0.067 8.138 8.138 0 0 0-0.276 1.626 9.689 9.689 0 0 0-0.024 0.684v10.98z" /> | ||
<path d="m139.26 14.9-1.72 0.98q0.013-1.417-0.391-2.362a3.083 3.083 0 0 0-0.609-0.938 2.955 2.955 0 0 0-1.058-0.686q-0.885-0.351-2.204-0.373a10.699 10.699 0 0 0-0.178-1e-3q-1.46 0-2.82 0.68a3.579 3.579 0 0 0-1.636 1.683 5.003 5.003 0 0 0-0.264 0.657l-4.4-1.38q0.8-2.74 3.05-4.4a7.874 7.874 0 0 1 2.548-1.219q1.067-0.303 2.332-0.398a15.924 15.924 0 0 1 1.19-0.043 15.002 15.002 0 0 1 2.548 0.207 11.188 11.188 0 0 1 2.522 0.733q2.19 0.94 3.25 3.08a6.692 6.692 0 0 1 0.632 1.849 6.194 6.194 0 0 1 0.068 0.481 23.359 23.359 0 0 1 0.097 1.405 29.567 29.567 0 0 1 0.023 1.185v13.26h-4.22v-4.68l0.7 0.76a11.796 11.796 0 0 1-1.345 1.78 8.421 8.421 0 0 1-2.065 1.65q-1.76 0.984-4.309 1.08a14.904 14.904 0 0 1-0.561 0.01q-2.34 0-3.96-0.89a6.494 6.494 0 0 1-1.609-1.226 5.764 5.764 0 0 1-0.841-1.144q-0.83-1.48-0.83-3.26a8.074 8.074 0 0 1 0.147-1.57 6.513 6.513 0 0 1 0.373-1.24q0.52-1.25 1.6-2.16a7.052 7.052 0 0 1 1.218-0.816q0.598-0.32 1.313-0.58a12.329 12.329 0 0 1 0.269-0.094 21.02 21.02 0 0 1 1.224-0.352q0.631-0.163 1.343-0.311a36.755 36.755 0 0 1 0.483-0.097q1.75-0.34 3.8-0.63t4.29-0.63zm-1.8 3.54 1.48 0.44a500.59 500.59 0 0 0-1.548 0.244q-0.608 0.097-1.156 0.186a259.9 259.9 0 0 0-1.036 0.17 99.627 99.627 0 0 0-1.108 0.191q-0.436 0.078-0.829 0.152a52.592 52.592 0 0 0-0.743 0.147 22.127 22.127 0 0 0-0.993 0.227q-0.53 0.134-0.987 0.283-0.774 0.276-1.327 0.637a4.435 4.435 0 0 0-0.093 0.063 3.363 3.363 0 0 0-0.526 0.444 2.666 2.666 0 0 0-0.364 0.476q-0.31 0.52-0.31 1.22a2.715 2.715 0 0 0 0.12 0.818 2.37 2.37 0 0 0 0.28 0.592 2.547 2.547 0 0 0 0.725 0.721 3.345 3.345 0 0 0 0.445 0.249q0.667 0.312 1.61 0.354a6.763 6.763 0 0 0 0.3 6e-3q1.488 0 2.581-0.477a4.676 4.676 0 0 0 0.219-0.103 6.459 6.459 0 0 0 1.013-0.623 4.915 4.915 0 0 0 0.837-0.797 6.875 6.875 0 0 0 0.454-0.616q0.326-0.501 0.476-0.964 0.38-0.92 0.43-2.11t0.05-1.93z" /> | ||
<path d="m178.2 29.3h-4.82v-13.12q0-2.22-1.1-3.47t-2.98-1.25a4.353 4.353 0 0 0-1.293 0.187 3.852 3.852 0 0 0-0.787 0.343 3.668 3.668 0 0 0-1.282 1.25 4.517 4.517 0 0 0-0.178 0.31 4.593 4.593 0 0 0-0.444 1.321 6.32 6.32 0 0 0-0.096 1.129l-2.14-1.26q-0.02-2.24 1.01-3.95t2.79-2.67a7.94 7.94 0 0 1 3.485-0.95 9.457 9.457 0 0 1 0.435-0.01 9.522 9.522 0 0 1 2.217 0.243 6.177 6.177 0 0 1 3.273 1.907q1.91 2.15 1.91 5.65v14.34zm-12.98 0h-4.8v-13.06q0-1.667-0.598-2.79a3.881 3.881 0 0 0-0.502-0.73 3.613 3.613 0 0 0-2.357-1.221 5.149 5.149 0 0 0-0.643-0.039 4.345 4.345 0 0 0-1.375 0.208 3.566 3.566 0 0 0-1.575 1.052 4.349 4.349 0 0 0-0.996 2.064 6.192 6.192 0 0 0-0.114 1.216l-2.16-1.44a7.266 7.266 0 0 1 0.48-2.661 6.84 6.84 0 0 1 0.56-1.119q1.04-1.68 2.81-2.65a7.936 7.936 0 0 1 3.293-0.946 9.549 9.549 0 0 1 0.677-0.024q2.42 0 4.05 1.03t2.44 2.8a8.93 8.93 0 0 1 0.739 2.712 11.162 11.162 0 0 1 0.071 1.278v14.32zm-12.96 0h-4.86v-21.6h4.26v6.7h0.6v14.9z" /> | ||
</svg> | ||
); | ||
}); | ||
|
||
export default Icon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
nav: Components | ||
group: Application | ||
title: Ideogram | ||
atomId: Ideogram | ||
description: https://ideogram.ai | ||
--- | ||
|
||
## Icons | ||
|
||
```tsx | ||
import { Ideogram } from '@lobehub/icons'; | ||
import { Flexbox } from 'react-layout-kit'; | ||
|
||
export default () => <Ideogram size={64} />; | ||
``` | ||
|
||
## Text | ||
|
||
```tsx | ||
import { Ideogram } from '@lobehub/icons'; | ||
|
||
export default () => <Ideogram.Text size={48} />; | ||
``` | ||
|
||
## Combine | ||
|
||
```tsx | ||
import { Ideogram } from '@lobehub/icons'; | ||
import { Flexbox } from 'react-layout-kit'; | ||
|
||
export default () => ( | ||
<Flexbox gap={16} align={'flex-start'}> | ||
<Ideogram.Combine size={64} /> | ||
</Flexbox> | ||
); | ||
``` | ||
|
||
## Avatars | ||
|
||
```tsx | ||
import { Ideogram } from '@lobehub/icons'; | ||
import { Flexbox } from 'react-layout-kit'; | ||
|
||
export default () => ( | ||
<Flexbox gap={16} horizontal> | ||
<Ideogram.Avatar size={64} /> | ||
<Ideogram.Avatar size={64} shape={'square'} /> | ||
</Flexbox> | ||
); | ||
``` | ||
|
||
## Colors | ||
|
||
```tsx | ||
import { Ideogram } from '@lobehub/icons'; | ||
import { Flexbox } from 'react-layout-kit'; | ||
|
||
import ColorPreview from '../components/ColorPreview'; | ||
|
||
export default () => ( | ||
<Flexbox gap={16} horizontal> | ||
<ColorPreview color={Ideogram.colorPrimary} /> | ||
</Flexbox> | ||
); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
'use client'; | ||
|
||
import Avatar from './components/Avatar'; | ||
import Combine from './components/Combine'; | ||
import Mono from './components/Mono'; | ||
import Text from './components/Text'; | ||
import { COLOR_PRIMARY, TITLE } from './style'; | ||
|
||
export type CompoundedIcon = typeof Mono & { | ||
Avatar: typeof Avatar; | ||
Combine: typeof Combine; | ||
Text: typeof Text; | ||
colorPrimary: string; | ||
title: string; | ||
}; | ||
|
||
const Icons = Mono as CompoundedIcon; | ||
Icons.Text = Text; | ||
Icons.Combine = Combine; | ||
Icons.Avatar = Avatar; | ||
Icons.colorPrimary = COLOR_PRIMARY; | ||
Icons.title = TITLE; | ||
export default Icons; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export const TITLE = 'Ideogram'; | ||
export const TEXT_MULTIPLE = 0.73; | ||
export const SPACE_MULTIPLE = 0.3; | ||
export const COLOR_PRIMARY = '#000'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters