0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2025-01-03 05:10:13 -05:00
This commit is contained in:
Jordi Sala Morales 2024-05-09 13:22:10 +02:00 committed by GitHub
parent 32e5d23495
commit ca540d00f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 6 deletions

View file

@ -2,7 +2,7 @@ export const LOADING_HEIGHT = 130;
export const NORMAL_HEIGHT = LOADING_HEIGHT + 5;
export const BASE_WIDTH = 290;
export const MISSING_FONTS_TEXT_HEIGHT = 195 - 15;
export const MISSING_FONTS_TEXT_HEIGHT = 195;
export const MISSING_SINGLE_FONT_HEIGHT = 65;
export const NEEDS_RELOAD_TEXT_HEIGHT = 90;

View file

@ -1,5 +1,4 @@
// import { Banner, IconInfo32, Link, Textbox } from '@create-figma-plugin/ui';
import { Banner, IconInfo32, Textbox } from '@create-figma-plugin/ui';
import { Banner, IconInfo32, Link, Textbox } from '@create-figma-plugin/ui';
import { Controller, useFormContext } from 'react-hook-form';
import { Stack } from './Stack';
@ -21,10 +20,14 @@ export const MissingFontsSection = ({ fonts }: MissingFontsSectionProps) => {
<Stack as="ol" space="xsmall" style={{ paddingLeft: '1rem' }}>
<li>
Upload your local fonts in Penpot.
{/* <br />
<Link href="https://www.google.com" target="_blank" rel="noreferrer">
<br />
<Link
href="https://help.penpot.app/user-guide/custom-fonts/"
target="_blank"
rel="noreferrer"
>
Learn how to do it.
</Link> */}
</Link>
</li>
<li>Copy and paste the font IDs from Penpot below.</li>
</Stack>