figma设计_Figma中简单,可重复使用的设计系统

figma设计

Putting together a design system may seem like an unnecessary hassle. It’s often easier to jump straight into designing things without having to worry about styles, components, or libraries. Some might even argue that when it comes to smaller projects, creating a design system takes nearly as much time as designing the entire project, so why bother?

组合设计系统似乎是不必要的麻烦。 直接进入设计事物通常更容易,而不必担心样式,组件或库。 甚至有人可能会争辩说,当涉及到较小的项目时,创建设计系统所花费的时间几乎与设计整个项目所花费的时间一样多,那么为什么要打扰?

While it’s true creating a design system is an additional step in the design process, what’s also true is that, regardless of the size of the project, the first version of your project rarely gets accepted by the client. Depending on the size of the project as well as the severity of the changes, introducing them could take a lot of time.

创建设计系统确实是设计过程中的附加步骤,但同样重要的是,无论项目大小如何,客户都很少接受项目的第一个版本。 根据项目的大小以及变更的严重性,引入这些变更可能会花费很多时间。

So whether you’re designing huge platforms or small e-commerce websites, design systems could save you a lot of time in the long run. Instead of going through each and every view making sure that you’ve applied the new colors or fonts, you could just take a look at your styles and components, introduce all the necessary changes in a few clicks and automatically populate them to the entire project.

因此,无论您是设计大型平台还是小型电子商务网站,从长远来看,设计系统都可以为您节省大量时间。 无需遍历每个视图来确保已应用新的颜色或字体,而只需查看样式和组件,单击几下即可进行所有必要的更改,然后自动将其填充到整个项目中。

Not only does this save you time, but it also allows for more coherent design practices as you limit yourself to only using predefined styles and components.

这不仅可以节省您的时间,而且由于您仅使用预定义的样式和组件,因此还可以实现更一致的设计实践。

Figma gives you the tools to create a simple, easily reusable design system. There are a few ways you could approach this, and I’m going to try and cover all of them. I’d also like to take you through the list of things you’ll need to build your very own basic design system, which you can then modify and grow to best suit your project’s needs.

Figma为您提供了创建简单,易于重用的设计系统的工具。 您可以通过几种方法来解决这个问题,我将尝试涵盖所有这些方法。 我还要向您介绍构建自己的基本设计系统所需的事项,然后可以对其进行修改和扩展,使其最适合您的项目需求。

Technically you could use one of the available ready-made design systems for Figma, but I’d argue this is not a very good idea unless you’re trying to create something in a hurry. I believe it’s always best to put in the time to build your project from the ground up. This will allow you to better understand how each component is created and solve any issues that may arise while working with the design system.

从技术上讲,您可以使用Figma可用的现成的设计系统之一,但是我认为这不是一个好主意,除非您要急着创建一些东西。 我认为,最好花时间从头开始构建您的项目。 这将使您更好地了解如何创建每个组件并解决在使用设计系统时可能出现的任何问题。

Sometimes it can be hard to create a design system without seeing the bigger picture. It’s a good idea to base your design system around an already finished project.

有时,如果不看大图就很难创建设计系统。 将您的设计系统基于已经完成的项目是一个好主意。

The first and most important thing is creating a proper grid for your design system. Depending on what kind of framework you’ll be working with, you could be using different types of grids. The one I personally use most often is the Bootstrap grid. I like to set up my grid to not only help me space around objects horizontally but also vertically. I’m not going to go into why you should be using a grid, as that’s a subject for another article.

首先也是最重要的事情是为您的设计系统创建适当的网格。 根据您将使用的框架类型,可能会使用不同类型的网格。 我个人最常使用的一个是Bootstrap网格。 我喜欢设置网格,不仅可以帮助我水平放置对象,而且可以垂直放置对象。 我不会讨论为什么要使用网格,因为这是另一篇文章的主题。

Your grid for Macbook Pro sized screen or similar should look something like this.
Your grid for Macbook Pro sized screen or similar should look something like this.
Macbook Pro尺寸屏幕或类似屏幕的网格应如下所示。

You should turn thus created grid into a style. Now if you haven’t done that already, it’s also a good idea to go into the Figma hamburger menu > Preferences > Nudge Amount and set the values to 1 and 8. This way your keyboard arrow keys in combination with the shift key will allow you to move the objects around while sticking to the grid you’ve just created.

您应该将这样创建的网格转换为样式。 现在,如果您还没有这样做,那么进入Figma汉堡菜单>“偏好设置”>“微移数量”并将值设置为1和8也是一个好主意。这样,您的键盘箭头键与Shift键的组合将允许您可以在移动对象的同时保持刚创建的网格的位置。

Figma lets you decide the exact amount of pixels for the shift+arrow combination.
Figma lets you decide the exact amount of pixels for the shift+arrow combination.
Figma可让您确定shift + arrow组合的确切像素数量。

The next step is to create a bunch of font styles that we’re going to be using in our project. It’s important to remember to cover all the basics such as several styles for headlines, paragraph texts, hints, captions, and such. Do as many as the kind of projects you’re involved with may necessitate. You might think to yourself: “Hey, why not have the same style for buttons and menus since they use the same font?” Well, you might find yourself in a bit of a pickle if it turns out that you only need to change the font size for your menu elements at a later stage of your project.

下一步是创建将在项目中使用的一堆字体样式。 重要的是要记住涵盖所有基础知识,例如标题的多种样式,段落文本,提示,标题等。 尽可能多地参与您需要参与的项目。 您可能会想:“嘿,为什么按钮和菜单使用相同的字体却没有相同的样式?” 好吧,如果事实证明您只需要在项目的稍后阶段更改菜单元素的字体大小,您可能会感到有点烦。

Font setup for the simple, reusable design sytem.
This is what your font setup should look like.
这是您的字体设置应具有的外观。

I like to keep all my font styles displayed in a frame, so I know whether they play well together or not. This kind of setup will be necessary if you decide to duplicate your design system instead of using it as a library for your project, but I’ll get back to that later. Generally this amount of styles should be enough for any kind of average-sized website with a decent amount of text in it.

我喜欢将所有字体样式都显示在一个框架中,因此我知道它们是否可以很好地协同工作。 如果您决定复制设计系统而不是将其用作项目的库,则必须进行这种设置,但是稍后再讲。 通常,对于任何类型的带有中等数量文本的中等大小的网站,此样式数量应足够。

When it comes to colors I usually define styles for the brand colors, the action color, and some grays. You might want to define styles for important, warning, success, error messages, and such as well. Dealing with a strictly defined palette makes not only the design process but also the hand-off much easier.

当谈到颜色时,我通常会为品牌颜色,动作颜色和一些灰色定义样式。 您可能想为重要,警告,成功,错误消息等定义样式。 处理严格定义的调色板不仅使设计过程变得容易,而且使交接变得更加容易。

Color setup for a simple, reusable design system.
Color setup for the simple, reusable design system.
简单,可重复使用的设计系统的颜色设置。

A basic set of often-used icons is also a good idea. I’ve used Google’s Material icons for this example. Even if you‘re tasked with designing your own set you can use these as placeholders in early mockups that are easy to replace at a later time.

一组基本的常用图标也是一个好主意。 在此示例中,我使用了Google的“材质”图标。 即使您要设计自己的集合,也可以在早期的模型中将它们用作占位符,以便以后替换。

Set of icons for the design system.
Set of icons for the design system.
套设计系统的象。

Even though there’s a variety of plugins that can automatically generate content for you such as avatars or images, I prefer to create a predefined set of images or avatars as styles, to retain coherence in case I decide to use them as placeholders.

即使有多种插件可以自动为您生成内容(例如头像或图像),我还是希望创建一组预定义的图像或头像作为样式,以保持连贯性,以防万一我决定将它们用作占位符。

It’s not very intuitive, but Figma lets you set up images as color styles that you can later use like any normal color style — to fill a given object using a predefined set of characteristics. What’s even more interesting is that objects can have a lot of fill layers within themselves that interact with each other (this also applies to strokes, effects and so on) and so a group of fill layers all within a single object could be defined as an easily modifiable style. Fill layers can also be moved to front or back and copied between objects. This is an awesome feature that not a lot of people know about.

它不是很直观,但是Figma允许您将图像设置为颜色样式,以后可以像任何常规颜色样式一样使用-使用一组预定义的特征填充给定的对象。 更有意思的是,对象内部可以具有很多相互交互的填充层(这也适用于笔触,效果等),因此可以将单个对象内的一组填充层定义为易于修改的样式。 填充层也可以移到前面或后面,并在对象之间复制。 这是一个很棒的功能,鲜为人​​知。

You can turn images into color styles in Figma
The magic of Figma, turn images into color styles.
Figma的魔力,将图像变成彩色样式。

You can of course achieve similar effects by setting up images as components, but you can’t use components as fills.

通过将图像设置为组件,您当然可以达到类似的效果,但是不能将组件用作填充。

The last step is to create some shadows for your project. For a small design system I wouldn’t bother with an entire complex elevation system, just a couple of different shadow styles should be enough.

最后一步是为您的项目创建一些阴影。 对于小型设计系统,我不会理会整个复杂的高程系统,只需几个不同的阴影样式就足够了。

A bunch of shadow styles for the small, reusable design system.
Just a couple of shadow styles. It ain’t much, but it’s honest work.
只是几个阴影样式。 虽然不多,但这是诚实的工作。

Once you have all the styles set up this way it’s time to start putting together some components.

一旦以这种方式设置了所有样式,就可以开始组合一些组件了。

Before Auto Layout there was a whole different approach to creating buttons. You’d start with defining shape components that would then serve as button backgrounds through using appropriate constraints. You’d use these shapes across all your components so that if you decided to change your corner-radius, this change would affect all your buttons, images, input fields, and so on. While this technique still has its merits and can still be used in some situations, it won’t work with Figma’s Auto Layout feature.

在“自动布局”之前,有一种完全不同的方法来创建按钮。 您将从定义形状组件开始,然后通过使用适当的约束将其用作按钮背景。 您将在所有组件中使用这些形状,以便如果决定更改角半径,则此更改将影响所有按钮,图像,输入字段等。 尽管此技术仍然有其优点,并且仍可以在某些情况下使用,但它不适用于Figma的“自动布局”功能。

Auto Layout is an amazing feature, but in the case of buttons it’s not always the best solution. Sometimes you need to size your buttons according to a grid. Some of the projects I’ve worked on necessitated both, standard and Auto Layout buttons. Some of them could do without Auto Layout at all. Not one could do without the standard, non-Auto Layout buttons. When creating a small design system such as this one I’d stick with non-Auto Layout buttons.

自动布局是一个了不起的功能,但是对于按钮而言,它并不总是最好的解决方案。 有时您需要根据网格调整按钮的大小。 我从事的一些项目需要标准按钮和自动布局按钮。 他们中的一些人根本不需要自动版图。 没有标准的非自动布局按钮,谁也做不到。 在创建这样的小型设计系统时,我会坚持使用非自动布局按钮。

At this point you actually start using your styles. You can use your Button font style, put it in a frame, fill it with the Action Default style, slap the Button Default effect on it and you’ve got yourself a button. Do this a couple more times to create appropriate styles for different styles.

至此,您实际上开始使用样式了。 您可以使用Button字体样式,将其放在框架中,并用Action Default样式填充,在其上拍上Button Default效果,您便会自己拥有一个按钮。 多做几次,为不同的样式创建合适的样式。

A set of buttons with different states for the simple, reusable design system.
You don’t have to go crazy with the buttons. This is a good starter for smaller projects.
您不必为按钮而疯狂。 对于较小的项目,这是一个很好的起点。

In the case of a simple design system like this one I’d finish up with a set of inputs in different states. Again, you should base their design on the styles you’ve already created.

对于像这样的简单设计系统,我将完成一组处于不同状态的输入。 同样,您应该基于已经创建的样式来设计它们。

Image for post

At this point you’ve got all the basic ingredients to start working on a new design. Where you go from here should depend on what kind of projects you do most often and what other patterns could be turned into reusable components that often appear in your projects. Often work with e-commerce websites? It’d probably be a good idea to create some product card components, maybe a checkout form.

至此,您已经具备了开始进行新设计的所有基本要素。 您从这里去的位置应取决于您最常执行的项目类型以及哪些其他模式可以转换为经常出现在项目中的可重用组件。 经常与电子商务网站合作吗? 创建一些产品卡组件(可能是结帐表格)可能是一个好主意。

Now there are two ways you can go about reusing your design system for new projects. As with most things in life, each has its pros and cons. Go with whatever is best for your design practices and the type of projects you deal with.

现在,您可以通过两种方法将设计系统重新用于新项目。 与生活中的大多数事物一样,每种事物都有其优点和缺点。 选择最适合您的设计实践和所处理项目类型的项目。

You can do it the way it was intended by Figma. Use the design system you’ve created as a library. This way you get access to the entire design system right away, but any heavy modifications of the components are out of the question obviously. You can only modify the colors and hide their elements. Other than that you’re stuck with what’s in the design system. The same thing goes for all styles. You can add new ones, but can’t modify the originals. It’d actually be a better idea to split the design systems into separate libraries and so you could, for example, use a button library, a gray color library, an elevation library, etc.

您可以按照Figma的预期方式进行操作。 使用您创建为库的设计系统。 通过这种方式,您可以立即访问整个设计系统,但是显然不需要对组件进行任何重大修改。 您只能修改颜色并隐藏其元素。 除此之外,您还无法使用设计系统中的内容。 所有样式都一样。 您可以添加新的,但不能修改原始的。 将设计系统分成单独的库实际上是一个更好的主意,因此您可以使用例如按钮库,灰色库,高程库等。

The second approach and the way I do it is to simply duplicate the entire design system. This way there’s nothing stopping you from modifying all your components. The bad thing about duplicating design systems is the fact that it makes you lose all your styles. You basically need to go through all your fonts, colors, fills, and whatever else you might’ve set up and turn them into styles once again. This isn’t so bad however as it only takes a few minutes and still makes you save a lot of time in the long run.

第二种方法和我做的方法是简单地复制整个设计系统。 这样,您就无法阻止您修改所有组件。 复制设计系统的坏事是它使您失去所有样式的事实。 基本上,您需要遍历所有字体,颜色,填充以及您可能要设置的其他内容,然后再次将它们转换为样式。 但这还算不错,因为它只需要几分钟,从长远来看仍然可以节省很多时间。

Technically a design system is a much more complex structure than what we’ve created so far. But while a complete design system is supposed to include all reusable characteristics and patterns of a design, our basic design system’s goal is to help you kick start your designs.

从技术上讲,设计系统的结构要比我们到目前为止创建的结构复杂得多。 但是,尽管完整的设计系统应该包含设计的所有可重用特征和样式,但我们的基本设计系统的目标是帮助您启动设计。

翻译自: https://uxdesign.cc/simple-reusable-design-system-in-figma-a3a01236a7e3

figma设计

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/274314.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Teach Yourself Java 2 in 21 Days 书中样例代码实践

找了好几书JAVA的书,看了几章,都看不下去。 我觉得适合《Teach Yourself Java 2 in 21 Days》(Rogers Cadenhead Laura Lemay)还是适合我的。 孙卫琴那本,我感觉就罗嗦多了没到我点子上。 接口,抽象类这些内…

黑书上的DP例题

pagesectionnotitlesubmit1131.5.1例题1括号序列POJ11411161.5.1例题2棋盘分割POJ11911171.5.1例题3决斗Sicily18221171.5.1例题4“舞蹈家”怀特先生ACM-ICPC Live Archive1191.5.1例题5积木游戏http://202.120.80.191/problem.php?problemid12441231.5.2例题1方块消除http://…

MDK linker和debug的设置以及在RAM中调试

有误或者表述不清楚请指出,谢谢 硬件:TQ2440开发板、jlink V8 固件 软件:J-LINK ARM 4.08i、MDK4.20 先解释下MDK中三种linker之间的区别 设置集中在option linker选项卡 1.采用Target对话框中的ram和rom地址。采用此方式,…

LBS核心技术解析(引子)

http://www.cnblogs.com/LBSer/archive/2013/04/25/3048754.html 引子: 人们常用“上知天文,下知地理”来形容一个人的博学,人们总是用三要素论“什么时间、什么地点,发生或干了什么事情”来描述一件事情,人们也常常借用“天时、地…

Vim中数字自增、自减

(1)ctrl a:数字自动增加1 按下ctrl a: (2)number ctrl a:数字自动增加number 例子:想将20修改成100,按下80 ctrl a: (3)ctrl x…

开源服务器Tornado的初步了解

文章结束给大家来个程序员笑话:[M] 明天看了下Python的一个新web框架,由Facebook开源。不得不说,品牌效应啊,只要是Facebook开源的目项,没有不好用的。Tornado可以说是好用到了极致,从开打官方面页开始懂得…

多线程的那群“象”

最初学习多线程的时候,只学了用Thread这个类,记忆中也用过Mutex,到后来只记得Thread的使用,其余的都忘了。知道前不久写那个Socket连接池时遇到了一些对象如:Semaphore,Interlocked,Mutex等&…

优秀HTML5网站学习范例:从“饥饿游戏浏览器”谈用户体验

继影片《饥饿游戏》获得票房成功后,《饥饿游戏2:火星燎原》也于2012年宣布开拍,将在今年的11月22日登陆全球各大院线。值此之际,微软携手美国狮门影业公司和 RED Interactive Agency 一起为影迷打造了一个基于 HTML5 现代网页规范…

[开源]jquery.ellipsis根据宽度(不是字数)进行内容截断,支持多行内容

jquery.ellipsis 自动计算内容宽度(不是字数)截断,并加上省略号,内容不受中英文或符号限制。 如果根据字数来计算的话,因为不同字符的宽度并不相同,比如l和W,特别是中英文,最终内容宽…

不安装游戏apk直接启动法

原文地址:http://blog.zhourunsheng.com/2011/09/%E6%8E%A2%E7%A7%98%E8%85%BE%E8%AE%AFandroid%E6%89%8B%E6%9C%BA%E6%B8%B8%E6%88%8F%E5%B9%B3%E5%8F%B0%E4%B9%8B%E4%B8%8D%E5%AE%89%E8%A3%85%E6%B8%B8%E6%88%8Fapk%E7%9B%B4%E6%8E%A5%E5%90%AF%E5%8A%A8%E6%B3%95…

Android客户端打包方案分享

基本介绍 Android应用的自动化打包是应用持续集成以及多渠道发布的基础。当前Android客户端自动化打包的主要有两种方式,Ant和Maven。两种方式本质上都是调用Android SDK里面提供的工具,不过各自有各自的特点。 1. Ant脚本 好处:开发成本较低…

您的UX库不只是书籍

hp ux 密码不过期Looking back on past self, one thing I wish I’d realised is the importance of keeping notes of everything.回顾过去的自我,我希望我意识到的一件事是记录所有事情的重要性。 This means everything interesting I’ve read and written; e…

交互设计精髓_设计空间的精髓

交互设计精髓重点 (Top highlight)什么是空间? (What is Space?) Space is the dimension of height, depth and width within which all things exist and move. Space or Empty space or White space or Negative space are alias given to describe intensional…

ux和ui_UI和UX设计人员的47个关键课程

ux和ui重点 (Top highlight)This is a mega-list of the most critical knowledge for UI, UX, interaction, or product designers at any level.这是所有级别的UI,UX,交互或产品设计人员最关键的知识的大清单。 Many of these lessons are also appli…

深入理解Java内存模型(七)——总结

处理器内存模型 顺序一致性内存模型是一个理论参考模型,JMM和处理器内存模型在设计时通常会把顺序一致性内存模型作为参照。JMM和处理器内存模型在设计时会对顺序一致性模型做一些放松,因为如果完全按照顺序一致性模型来实现处理器和JMM,那么…

沉浸式ui设计_有助于沉浸的视频游戏UI —武器轮

沉浸式ui设计Many action-adventure games rely on the feeling of thrills via bullets, fire, grenade, more bullets, and gigantic booms. The way to enable all these is to offer a massive arsenal, from machetes to assault rifles all the way till bazookas.许多动…

ux设计师薪水_客户现在也是UX设计师

ux设计师薪水Some of you probably know by now, I’m not too fond of the monster the UX industry has become. It’s overblown, overcomplicated and often dishonest towards the clients. It’s also in itself undefined. (where is the E in Experience?)你们中的某些…

分步表单_角色创建分步指南

分步表单The first thing most of us designers are taught is the concept of personas and the necessity of them when it comes to UX and product design. However, knowing is different from applying and it can be difficult to know where to begin when we’re aske…

svg配合css3动画_带有Adobe Illustrator,HTML和CSS的任何网站的SVG动画

svg配合css3动画A top trend in web design for 2020 is the increased use of SVG animations on web pages and in logo design. In this article, we will implement a simple and straight forward method to create relatively complex animation. We will use Adobe Illu…

基于pt100温度计仿真_基于8pt网格的设计系统

基于pt100温度计仿真重点 (Top highlight)This article is the 2nd in a two part series — to the previous chapter in which I demonstrate how to establish an 8pt grid.本文是该系列文章的第二部分 ,这是上一章 的第二部分 ,在上一章中&#xff0…