0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-22 13:43:03 -05:00

temporary hide url with further instructions (#92)

This commit is contained in:
Jordi Sala Morales 2024-05-09 13:02:42 +02:00 committed by GitHub
parent 3ee244db92
commit 32e5d23495
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

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

View file

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