|
3 | 3 | <p> |
4 | 4 | The <NuxtLink to="uikit">Figma UI Kit</NuxtLink> and the theming api is fully synchorized, meaning the design tokens in Figma map to the CSS variables in the code. The mapping is created via the |
5 | 5 | <a href="https://tokens.studio/" target="_blank" rel="noopener noreferrer">Token Studio</a> at Figma which allows exporting a single json file. The Designer is able to interpret this file and transform it to an actual theme. In case your |
6 | | - UI Kit version is older, the transformation process marks the missing tokens and recommends an auto migration via the migration assistant. This is an automated workflow and eliminates the manual design to code during the handoff process. |
7 | | - If you have UI designers in your team, the recommended approach is using Figma for the actual design process and utilizing the designer for transformation, preview and download purposes. |
| 6 | + UI Kit version is older, the transformation process marks the missing tokens and recommends an auto migration via the migration assistant. |
| 7 | + </p> |
| 8 | + <p> |
| 9 | + This is an automated workflow and eliminates the manual design to code during the handoff process. If you have UI designers in your team, the recommended approach is using Figma for the actual design process and utilizing the designer for |
| 10 | + transformation, preview and download purposes. |
| 11 | + </p> |
| 12 | + <b class="mb-4 block">CI Pipeline</b> |
| 13 | + <p> |
| 14 | + Recommended approach is setting up the CI Pipeline flow as manually exporting the tokens file from Figma and uploading it to the online designer tool may quickly become tedious in active development cycles. As a solution, theme designer |
| 15 | + provides a remote API that can be integrated into your flow. Visit the <NuxtLink to="/designer/ci">CI Pipeline</NuxtLink> documentation for comprehensive information and examples for GitHub, GitLab and BitBucket. |
| 16 | + </p> |
| 17 | + <b class="mb-4 block">Manual Flow</b> |
| 18 | + <p> |
| 19 | + Instead of setting a CI pipeline, for quick prototyping purposes, you may also choose to use to manually export a tokens json file and then upload it to the designer. Note that, this flow would get tedious and repetitive in active |
| 20 | + development cycles when compared to an automated CI pipeline. |
8 | 21 | </p> |
9 | | - <b class="mb-4 block">Export JSON file</b> |
10 | 22 | <p> |
11 | 23 | Open the <NuxtLink to="/uikit">PrimeOne UI Kit</NuxtLink> in which you've modified tokens. In the Tokens Studio plugin, navigate to the <i>Tools</i> menu and select <i>Export to file/folder.</i> When the Export tokens modal appears, make |
12 | 24 | sure the <i>Single file</i> tab is selected. Check the <i>All tokens sets</i> option, then click <i>Export</i>. |
|
15 | 27 | <div class="pl-8 pr-4 pt-4 bg-surface-0 dark:bg-surface-900 rounded-2xl border border-surface mb-4" style="max-width: 48rem"> |
16 | 28 | <img alt="Designer Dashboard" src="https://primefaces.org/cdn/designer/tokens-studio.png" class="w-full" /> |
17 | 29 | </div> |
18 | | - <b class="mb-4 block">Import to Designer</b> |
19 | | - <p>Choose the <i>Import Figma Tokens</i> option when creating a new theme at Theme Designer and import the json file.</p> |
| 30 | + <p>When creating a new theme at Theme Designer, choose the <i>Import Figma Tokens</i> option and import the json file.</p> |
20 | 31 | <div class="pl-8 pr-4 pt-4 bg-surface-0 dark:bg-surface-900 rounded-2xl border border-surface mb-4" style="max-width: 48rem"> |
21 | 32 | <img alt="Designer Dashboard" src="https://primefaces.org/cdn/designer/guide-create.png" class="w-full" /> |
22 | 33 | </div> |
23 | | - <b class="mb-4 block">Video Tutorial</b> |
| 34 | + |
| 35 | + <!-- class="mb-4 block">Video Tutorial</b> |
24 | 36 | <p>A tutorial is available demonstrating how the handoff process can be automated between the design team and the development team.</p> |
25 | 37 | <div class="video-container"> |
26 | 38 | <iframe width="560" height="315" src="https://www.youtube.com/embed/Ktocmi2dLLM?si=lG7JwkUfLTQFlfeX" frameborder="0" allowfullscreen></iframe> |
27 | | - </div> |
| 39 | + </div>--> |
28 | 40 | </DocSectionText> |
29 | 41 | </template> |
0 commit comments