Logo and Fonts
Logo
- There are two SVG files for logos:
logo.svg
andicon.svg
insrc/lib/resources
, and they have the corresponding util wrappers atsrc/components/utils/Logo.tsx
and[...]/LogoIcon.tsx
. - The
logo
is the full logo, used by default in places like theHeader
andFooter
. Theicon
/LogoIcon
is used as the favicon. - Both can be easily used in React by using the
Logo
andLogoIcon
components. You can change in their files their default size.
Making your Logo & Icon
You can create your Logo and Icon either by using SVG or JSX.
SVG
To create/change your .svg
logo, can either use:
- Inkscape . The best free SVG tool.
- Illustrator . The best paid SVG tool. Has an integrated AI to generate SVGs. Has a 7-day free trial.
You can also use the following helper tools:
- https://vectorizer.com - Converts .png to .svg. Free. You can easily generate .png images using ChatGPT, for example, and then use this tool. Then use Inkscape to do any required fixes.
- https://vectorizer.ai - Converts .png to .svg using AI, has better results than the above. Paid.
- https://neosvg.com/ - SVG generation with AI. Paid.
You can dynamically color your SVG component if you open the .svg
file and change the fill
attribute to currentColor
, so you can <LogoIcon color="red" />
.
JSX
If you don’t want to deal with .svg
files, you can delete them and directly define them in the src/components/utils/Logo.tsx
and [...]/LogoIcon.tsx
files using React code.
Mixed
You can also use a mix of both. For example, you can have the SVG file for the icon and in the Logo.tsx
file, you can use the LogoIcon
component and add the project name next to it.
Favicon
- As said above, the favicon is automatically generated using the
src/lib/resources/icon.svg
file! - You can do fine changes to the favicon by changing the
src/app/icon.tsx
file. There you can change the background color and radius and fine-position the icon if it’s not perfectly centered.
Fonts
- You can effortlessly change the fonts in the
src/lib/ui/fonts.ts
file. There you can also see some recommended fonts. - You can also use the Google Fonts to see different fonts.
- If you find a font somewhere that is almost what you exactly want, you might be lucky looking for similar fonts .
Last updated on