You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Improve error description and include more troubleshooting information
* Fix typos
* Update readme
---------
Co-authored-by: Rafal Sroka <rafal.sroka@srf.com>
Copy file name to clipboardExpand all lines: Examples/README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -12,16 +12,16 @@ The UI-Kit of the example project in Figma:
12
12
13
13
### Example iOS project
14
14
15
-
There are 2 example iOS projects in `Example` and `ExampleSwiftUI` directories which demostrates how to use figma-export with UIKit and SwiftUI.
15
+
There are 2 example iOS projects in `Example` and `ExampleSwiftUI` directories which demonstrates how to use figma-export with UIKit and SwiftUI.
16
16
17
17
<imgsrc="../images/figma.png" />
18
18
19
19
**How to setup iOS project**
20
20
1. Open `Example/fastlane/.env` file.
21
21
2. Change FIGMA_PERSONAL_TOKEN to your personal Figma token.
22
22
3. Go to `Example` folder.
23
-
4. Run the following command in Termanal to install cocoapods and fastlane: `bundle install`
24
-
5. Run the following command in Termanal to install figma-export: `bundle exec pod install`
23
+
4. Run the following command in Terminal to install CocoaPods and Fastlane: `bundle install`
24
+
5. Run the following command in Terminal to install figma-export: `bundle exec pod install`
25
25
26
26
**How to export resources from figma**
27
27
* To export colors run: `bundle exec fastlane export_colors`
@@ -39,7 +39,7 @@ There is an example Android Studio project in `AndroidExample` directory which d
39
39
40
40
### Example Android Jetpack Compose project
41
41
42
-
There is an example Android Studio project in `AndroidComposeExample` directory which demostrates how to use `figma-export` configured for Jetpack Compose.
42
+
There is an example Android Studio project in `AndroidComposeExample` directory which demonstrates how to use `figma-export` configured for Jetpack Compose.
43
43
44
44
You can find the generated code for compose in the package `com.redmadrobot.androidcomposeexample.ui.figmaexport`
return"Figma file not found. Check lightFileId and darkFileId (if you project supports dark mode) in the yaml config file."
10
+
return"Figma file not found. Check lightFileId and darkFileId (if your project supports dark mode) in the yaml config file. Also verify that your personal access token is valid and hasn't expired."
0 commit comments