-
Notifications
You must be signed in to change notification settings - Fork 694
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resources, media: add Figma Guide (#1748)
* resources, media: add Figma Guide * resources: update image URLs * resources: update image format * resources: update wording * resources: remove a trailing space * CONTRIBUTING: add the Figma guide * CONTRIBUTING: update the Figma guide link * Update resources/figma-quick-start-guide.md Co-Authored-By: Lilian Lee <lilin@pingcap.com> * Update resources/figma-quick-start-guide.md Co-Authored-By: Lilian Lee <lilin@pingcap.com> * Update resources/figma-quick-start-guide.md Co-Authored-By: Lilian Lee <lilin@pingcap.com> * Update resources/figma-quick-start-guide.md Co-Authored-By: Lilian Lee <lilin@pingcap.com> * Add "kbd" attributes * Add a note about shortcuts Co-authored-by: Lilian Lee <lilin@pingcap.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com>
- Loading branch information
1 parent
5fcb683
commit 4f6dd5b
Showing
20 changed files
with
144 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,138 @@ | ||
--- | ||
title: Figma Quick Start Guide | ||
summary: This guide introduces how to use Figma to design a figure. | ||
--- | ||
|
||
# Figma Quick Start Guide | ||
|
||
[Figma](https://www.figma.com/) is a collaborative interface design tool that runs in a browser. This guide introduces how to use Figma to design a figure. | ||
|
||
## The Figma interface | ||
|
||
For details, see the [Figma tutorial](https://help.figma.com/article/12-getting-familiar-with-figma). | ||
|
||
## Get started with Figma | ||
|
||
Perform the following steps to get started with Figma. | ||
|
||
> **Note:** | ||
> | ||
> The keyboard shortcuts demonstrated in this document are only for macOS users. For more keyboard shortcuts on macOS and Windows, see [Figma keyboard shortcuts](https://www.figma.com/file/ewSrIu24UagGV8JN4kQNNzMH/KEYBOARD-SHORTCUTS?node-id=0%3A1). | ||
### Step 1: Create an account | ||
|
||
Go to [https://www.figma.com/](https://www.figma.com/) and click **Sign up** to create an account. | ||
|
||
> **Note:** | ||
> | ||
> If you have a Google account, you can click **Sign up with Google** to log in with the existing Google account. | ||
 | ||
|
||
### Step 2: Open the tidb-sketch-book file | ||
|
||
Click [tidb-sketch-book](https://www.figma.com/file/MOBwqkBtuA03agMjeGEGUT/tidb-sketch-book) to view the template. | ||
|
||
> **Note:** | ||
> | ||
> - **tidb-sketch-book** is a Figma file that collects common shapes for figure designs. When creating a figure, you are recommended to use the objects and colors in this file to maintain a consistent style for figures. | ||
> - If you cannot open this file, contact [Jingyi Chen](mailto:chenjingyi@pingcap.com) for help. | ||
 | ||
|
||
### Step 3: Create a Frame | ||
|
||
1. Click **Back to Files** to see the files you can view or edit. | ||
|
||
 | ||
|
||
 | ||
|
||
2. Right-click on the file and select **Duplicate**. You will get a new file named **tidb-sketch-book (Copy)**. | ||
|
||
 | ||
|
||
 | ||
|
||
3. Right-click on the **tidb-sketch-book (Copy)** file and select **Rename** to alter its name. In this example, the file is renamed as figma-test. | ||
|
||
 | ||
|
||
 | ||
|
||
4. Double-click the file you renamed just now. Choose the **Frame** tool (F) and drag out an area of the screen to make a new Frame. In this example, Frame 19 is created. | ||
|
||
To delete a frame, choose the frame and then press <kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>G</kbd>. | ||
|
||
 | ||
|
||
 | ||
|
||
Within this Frame, you can begin your designs. | ||
|
||
### Step 4: Design your figure | ||
|
||
You are recommended to copy and paste the existing objects within other Frames into the new Frame. | ||
|
||
> **Note:** | ||
> | ||
> * To ensure a consistent style for figures, design a figure **based on shapes and the color scheme in the tidb-sketch-book file**. | ||
> * Set text fonts to **Ubuntu**. | ||
#### Pick a color | ||
|
||
1. Select an object and click the **Fill** value in the properties panel to open the color picker. | ||
|
||
 | ||
|
||
2. Click the eyedropper tool icon (keyboard shortcuts: <kbd>I</kbd> or <kbd>Ctrl</kbd>+<kbd>C</kbd>) next to the slider to open the eyedropper tool. | ||
|
||
 | ||
|
||
3. Use the eyedropper to hover over the color in the Frame you want to sample. The magnifier window will show you both the color and hex code of the sampled pixel. | ||
|
||
 | ||
|
||
#### Copy and paste an object | ||
|
||
1. Select the object you want to edit and press <kbd>Command</kbd>+<kbd>C</kbd> to copy it. | ||
|
||
2. Select the target Frame and press <kbd>Command</kbd>+<kbd>V</kbd> to paste the object. | ||
|
||
#### Copy and paste multiple objects | ||
|
||
1. Select the layers you want to edit in the layers panel and press <kbd>Command</kbd>+<kbd>C</kbd> to copy these objects. | ||
|
||
 | ||
|
||
2. Select the target Frame and press <kbd>Command</kbd>+<kbd>V</kbd> to paste the objects into the current Frame. | ||
|
||
#### Round corners | ||
|
||
Select the object you want to edit and adjust the **Corner Radius** value in the properties panel. | ||
|
||
 | ||
|
||
#### Other operations | ||
|
||
See the [Figma user guide](https://help.figma.com/category/9-getting-started). | ||
|
||
### Step 5: Export a figure | ||
|
||
1. Select the Frame you want to export and click **+** next to the **Export** settings. | ||
|
||
> **Note:** | ||
> | ||
> You can export a Frame (recommended), a layer, a group, or multiple layers. | ||
 | ||
|
||
2. Set the figure format. You can export to **PNG (recommended)**, JPG, SVG, or PDF. | ||
|
||
 | ||
|
||
3. Click the **Export Frame X** button below **PNG** to export your figure. | ||
|
||
 | ||
|
||
4. Use a **descriptive** name for the figure. You can use lowercase characters, numbers, and hyphens `-` in the name. **Avoid using uppercase characters, spaces, and underscores**. |