figma下載_Figma中的動態內容和顏色

figma下載

First off, why use dynamic data?

首先,為什么要使用動態數據?

  • It’s easy to create and manage long lists of content

    創建和管理一長串內容很容易
  • You get a better idea of what your product will look like with actual data

    通過實際數據,您可以更好地了解產品的外觀
  • You can quickly test different sort & view options

    您可以快速測試不同的排序和查看選項
  • Moving, editing, and adding new rows of content is a breeze

    輕松移動,編輯和添加新的內容行
  • Easier to maintain realistic content data

    易于維護真實的內容數據

Fortunately, the Google Sheets Sync by Dave Williames has us covered. He’s already provided great details on the general setup, so I wanted to show more on using color with the plugin and provide a few tips and examples. Here’s the original documentation.

幸運的是, 戴夫·威廉姆斯 ( Dave Williames)的Google表格同步已涵蓋了我們。 他已經提供了有關常規設置的詳細信息,因此我想展示更多有關在插件上使用顏色的信息,并提供一些提示和示例。 這是原始文檔。

1.在Figma中創建組件 (1. Create your component in Figma)

  1. Create text fields, images, and elements

    創建文本字段,圖像和元素
  2. Put a # in front of the layer name in the layer panel in the left. Works for text, image URLs, and colors at this point

    在左側的圖層面板中,在圖層名稱之前添加#。 此時適用于文本,圖像URL和顏色
  3. [Optional] turn your design into an element for extra scalability

    [可選]將您的設計變成元素,以實現額外的可擴展性

Tip: For text, make sure your layer name and text are disconnected by tapping into the layer panel and renaming it. Otherwise, when you run the plugin it will change both the text AND the layer name and will not work if you want to run the plugin again.

提示:對于文本,請通過單擊圖層面板并將其重命名來確保您的圖層名稱和文本已斷開連接。 否則,當您運行插件時,它將同時更改文本和圖層名稱,并且如果您想再次運行該插件,將無法使用。

Tip: Only the layer name needs the #, but I found it useful to show it in the component to remind my team what can be dynamic.

提示:只有圖層名稱需要#,但是我發現將其顯示在組件中很有用,以提醒團隊動態是什么。

A Figma text component with a # in front of the name
A Figma fill shape with a # in front of the layer name
Example of a text (left) and color (right) set up
設置文本(左)和顏色(右)的示例
A video clicking on the layers panel and changing the layer name to disconnect the layer name from the actual text
Disconnecting the layer name from the actual text
斷開圖層名稱與實際文本的連接

2.將您的數據添加到Google表格中 (2. Add your data to a Google Sheet)

  1. Headers should match your layer name in Figma (i.e. the “Shade Name” header here matches the “#ShadeName” layer name in Figma)

    標頭應與Figma中的圖層名稱匹配(即,此處的“ Shade Name”標頭與Figma中的“ #ShadeName”圖層名稱匹配)
  2. For colors, you need to add a /# in front of each hex code for the plugin to recognize it as a color instead of text.

    對于顏色,您需要在每個十六進制代碼之前添加一個/# ,以使插件將其識別為顏色而不是文本。

  3. Make sure the data you want to use is the first tab

    確保您要使用的數據是第一個標簽
  4. Go to the share button, set it to “anyone with the link can view” and copy the link

    轉到共享按鈕,將其設置為“知道鏈接的任何人都可以查看”并復制鏈接

Tip: Make sure the data you want is the first tab in the Google Sheet. You can store multiple lists this way, and move the tab you want just before you activate the plugin in Figma. In the example below, we’ll drag the “Foundation” tab from the second to first tab before running the plugin.

提示:確保所需的數據是Google表格中的第一個標簽。 您可以通過這種方式存儲多個列表,并在激活Figma中的插件之前移動所需的選項卡。 在下面的示例中,我們將在運行插件之前將“ Foundation”選項卡從第二個選項卡拖動到第一個選項卡。

A google sheet with a column & header for each title, description, and color variable

3.根據需要經常更新您的內容 (3. Update your content as often as needed)

  1. Run the Google Sheets Sync plugin

    運行Google Sheets Sync插件
  2. Enjoy seeing all your content load

    欣賞您所有的內容負載
  3. Adjust your Google sheet and re-run the plugin as many times as desired

    調整您的Google工作表,然后根據需要多次運行插件

Now that you have everything set up it’s super easy to create, test, and update your designs. I had a lot of fun seeing how different groupings and sorts would change the experience, especially for longer lists.

現在您已完成所有設置,創建,測試和更新設計非常容易。 我很高興看到不同的分組和排序如何改變體驗,尤其是對于較長的列表。

這是所有事物的示例: (Here is an example of everything together:)

In this example of a color picker you can see how helpful this was to understand how the component might work with real content. In just a few minutes I was able to:

在這個顏色選擇器的示例中,您可以看到這對于了解組件如何與實際內容一起工作很有幫助。 在短短的幾分鐘內,我能夠:

  • Set up a list from my master component

    從我的主組件設置列表
  • Run the plugin and see how it would look for my lipsticks

    運行該插件,看看它對我的口紅的外觀如何
  • Move a tab and see how the same component would look for my foundations

    移動選項卡,查看同一組件將如何作為基礎
  • Resort the data and decide on the best way to display the content

    整理數據并確定顯示內容的最佳方法

Plus, if there are any changes to the product names or colors it will be easy to add/delete rows or change the content in the Google Doc.

另外,如果產品名稱或顏色有任何更改,則可以輕松添加/刪除行或更改Google文檔中的內容。

Happy Designing & Thanks Dave!

祝您設計愉快,并感謝Dave!

Image for post
UX Para Minas Pretas (UX For Black Women), a Brazilian organization focused on promoting equity of Black women in the tech industry through initiatives of action, empowerment, and knowledge sharing. Silence against systemic racism is not an option. Build the design community you believe in.UX Para Minas Pretas (UX For Black Women),這是一個巴西組織,致力于通過采取行動,賦權和知識共享的舉措來促進科技行業中的黑人女性平等。 對系統性種族主義保持沉默是不可行的。 建立您相信的設計社區。

翻譯自: https://uxdesign.cc/dynamic-content-colors-in-figma-4a47c68d9a44

figma下載

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/275491.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/275491.shtml
英文地址,請注明出處:http://en.pswp.cn/news/275491.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

代碼自解釋不是不寫注釋的理由

有什么比花時間寫注釋更令人感到興奮的事情嗎?如果我沒有猜錯,你可能會說:“不好意思,所有事情都比寫注釋更令人感到興奮”。如果有人要你給代碼加上注釋,對你來說就像是一種侮辱。你的代碼寫得如此優雅,它…

linux匯編中的注釋,Linux 匯編器:對照 GAS 和 NASM

Linux 匯編器:對比 GAS 和 NASM轉自 http://www.ibm.com/developerworks/cn/linux/l-gas-nasm.html#ibm-pcon與其他語言不同,匯編語言要求開發人員了解編程所用機器的處理器體系結構。匯編程序不可移植,維護和理解常常比較麻煩,通…

你可能不知道的package.json

大家好,我是若川。最近組織了源碼共度活動:1個月,200人,一起讀了4周源碼,參與的小伙伴都表示收獲很大。如果感興趣可以點擊鏈接掃碼加我微信 ruochuan12。今天推薦一篇相對簡單的文章。前言在上一篇npm init vitejs/ap…

基于上下文的rpn_構建事物-產品評論視頻中基于上下文的情感分析

基于上下文的rpnThe word “Social” has taken a whole new meaning in today’s digital era. Simply going out to enjoy is no longer the only “social” criteria. Social now is — giving a peek in your personal and professional life to your connections. Facebo…

可愛的 Python: 使用 mechanize 和 Beautiful Soup 輕松收集 Web 數據

可愛的 Python: 使用 mechanize 和 Beautiful Soup 輕松收集 Web 數據 使用 Python 工具簡化 Web 站點數據的提取和組織 David Mertz, Ph.D., 開發人員, Gnosis Software, Inc.從 2000 年開始,David Mertz 就一直在為 developerWorks 專欄 Charming Python 和 XML M…

廣西工學院c語言試題答案,廣西工學院的C語言考試試題

廣西工學院鹿山學院 2005 — 2006 學年第 2 學期課程考核試題 考核課程 《C語言程序設計》 (A卷)考核班級 學生數 印數 考核方式 閉卷 考核時間 120 分鐘一、選擇題(每題2分,共40分)1. 一個C語言的源程序中, 。A.必須有一個主函數2. 下列數據…

JavaScript 斷點調試技巧

大家好,我是若川。最近組織了源碼共度活動:1個月,200人,一起讀了4周源碼,參與的小伙伴都表示收獲很大。如果感興趣可以點擊鏈接掃碼加我微信 ruochuan12。之前推薦過很多次調試文章,說明調試的重要性&#…

大學生電子設計大賽案例分析_為大學生設計問答平臺—案例研究

大學生電子設計大賽案例分析Dealing with academic-related questions like picking a course, fulfilling a major requirement can be tedious and ineffective when you have to simultaneously balance school work, social activities, and focus on personal growth and …

最新最詳細最簡潔Eclipse調試PHP配置詳解(Xdebug,Zend Debugger)

搬家注:該日志寫于2011 年 04 月 07 日,Eclipse,PHP等版本號很多,更新也比較快,請注意文章中的版本。本文不一定幫您解決問題,但能給您一些解決問題的思路及一些概念。 最近開始做SRTP項目WebOS&#xff0c…

按鍵精靈易語言c,求助(把按鍵精靈的源碼轉為易語言的)

該樓層疑似違規已被系統折疊 隱藏此樓查看此樓MoveTo 1203,673IfColor 1203,673,"252489",2 ThenMoveTo 417, 242Delay 10072LeftDown 1LeftClick 1LeftUp 1MoveTo 982, 551Delay 7660LeftDoubleClick 1Delay 10Delay 30LeftUp 1LeftUp 1LeftUp 1MoveTo 1102, 709Del…

入門前端學習路線圖【送書】

大家好,我是若川。記得點上方音頻聽小姐姐配音,超級好聽。華章圖書又贊助了書籍送福利給大家。本次送4本書的抽獎方式是:截止到9月6日(周一)20:00,在留言區留言任意內容。我會在留言區抽取「1位」關注我公眾…

單選按鈕設置為被選中狀態_為什么要設置錯誤的按鈕狀態

單選按鈕設置為被選中狀態當正確的方法出錯時 (When the right way goes wrong) Let’s say you want to create a click effect on an HTML button. The first idea that many people get is to do something that reproduces the feeling of the sound emitted by a real but…

「娃娃分享」-常見自校檢分析實例.

自校檢是許多軟件的保護手段之一,對軟件加個簡單的殼再增加自校檢在一定程序上可以抵擋住一大部分新手,不過,對許多人來說,這個保護已經很弱了。。下面講幾種常見的解決自校檢方法,寫的粗略,希望大家補充。…

用VC和MinGW導出dll的def和lib(a)文件

為什么80%的碼農都做不了架構師?>>> 原文地址:http://zhangyafeikimi.iteye.com/blog/404580 有了dll文件需要導出def文件: pexports zlib1.dll > zlib1.def 有了dll和def文件,需要導出MinGW的.a文件:…

51中斷編程c語言,[新人求指教]51C語言編程可否用中斷令循環結束提早結束

該樓層疑似違規已被系統折疊 隱藏此樓查看此樓C51_C語言編程控制流水燈硬件電路 p0 接 led 8 個,P33 接按鍵使用中斷2開機燈按1~8逐位閃爍,并循環按鍵后改為 兩燈亮 的流水燈下面寫了個程序#include #include #define uchar unsigned char#define uint u…

產品設計美學案例分析_美學在產品設計中的重要性

產品設計美學案例分析重點 (Top highlight)In one of my previous jobs, I had really interesting debates with the CEO regarding whether we should spend more time improving the way our app looks and feels. ‘How could he not care that the design is outdated?! …

即將到來的ECMAScript 2022標準

大家好,我是若川。周末分享一篇相對簡單的文章。最近組織了源碼共度活動:1個月,200人,一起讀了4周源碼,參與的小伙伴都表示收獲很大。如果感興趣可以點擊鏈接掃碼加我微信 ruochuan12。另外:昨天的推文入門…

c語言中二叉樹中總結點,C語言二叉樹的三種遍歷方式的實現及原理

二叉樹遍歷分為三種:前序、中序、后序,其中序遍歷最為重要。為啥叫這個名字?是根據根節點的順序命名的。比如上圖正常的一個滿節點,A:根節點、B:左節點、C:右節點,前序順序是ABC(根節…

動態庫的創建與使用

1、動態庫文件的創建 (1)編寫源文件 (2)編譯生成動態庫 g -fPIC -shared -o libfile_operation.so file_operation.cpp 此編譯過程分為兩步,等同于下面的兩個命令: g -c -fPIC file_operation.cpp …

ux設計中的各種地圖_UX寫作中的移情

ux設計中的各種地圖Demetri Martin is a master of comedic situations. If you’ve never seen Demetri Martin是喜劇情境的大師。 如果你從未見過 him before, he has a sort of dry brand of observational humor, relying more on anecdotes than full stories, and often…