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,一经查实,立即删除!

相关文章

WPF 关于鼠标事件和坐标

Mouse.GetPosition(window);可以在任何时间获得相对任意元素的鼠标位置 Mouse.Capture(el);可以让某个元素获得所有的鼠标事件不管他应不应该的到鼠标事件 Mouse.Capture(null);解除转载于:https://www.cnblogs.com/wangjixianyun/archive/2013/03/25/2980953.html

访问25%无法访问的人-如何设计可访问性

We’re increasingly dependent on the internet and computers for everything we do — this has become starkly more obvious through the COVID19 global pandemic.我们所做的一切都越来越依赖于互联网和计算机-通过COVID19全球大流行,这一点变得更加明显。 F…

DDD:实体如何处理外部依赖

场景 修改用户名时,要验证用户名的唯一性。 实现1 1 public class User 2 { 3   public void ChangeUsername(string newUsername) 4   { 5   //使用服务定位器获取IUsernameUniqueService ,执行验证。 6   } 7 } 实现…

架构师论坛 创业_我在早期创业时作为设计师学到的东西

架构师论坛 创业For over 2 years at a young product company, I collaborated with talented engineering folks for a 0 → 1 suite of products. Here are my learnings and key takeaways. Of course, these are my views and do not represent those of my employers or …

HFileOutputFormat与TotalOrderPartitioner

最近需要为一些数据增加随机读的功能,于是采用生成HFile再bulk load进HBase的方式。 运行的时候map很快完成,reduce在sort阶段花费时间很长,reducer用的是KeyValueSortReducer而且只有一个,这就形成了单reducer全排序的瓶颈。于是…

qt按钮禁用和激活禁用_为什么试探法只是经验法则:禁用按钮的情况

qt按钮禁用和激活禁用Most user experience designers will be familiar with Jackob Nielsen’s 10 usability heuristics. They are widely cited and a great set of broad rules of thumb to follow when designing user interfaces.大多数用户体验设计师将熟悉Jackob Niel…

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

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

好奇心机制_好奇心问题

好奇心机制For my past two jobs I’ve posted a question every week in my team chat and learned so much about my co-workers. Give it a try! :D对于过去的两个工作,我每周都会在团队聊天中发布一个问题,并且对我的同事了解很多。 试试看&#xff…

20130328java基础学习笔记-循环结构for以及for,while循环区别

1.循环结构:for讲解class ForDemo{ public static void main(String[] args) { /* for(初始化表达式;循环条件表达式;循环后的操作表达式) { 执行语句;(循环体) } */ for(int x 1; x<3; x) { …

小程序设计避免犯什么错_新设计师犯下的5种印刷错误以及如何避免

小程序设计避免犯什么错Over the last year and a half, I’ve had the opportunity to teach the basics of typography to undergraduate graphic design students. During this time, I’ve noticed some common mistakes that my students make when first learning how to…

移动设备web文字单位_移动设备如何塑造现代Web设计

移动设备web文字单位I was working with a nonprofit earlier this month on redesigning their website and during the first meeting, I proposed a very standard idea: the home page needed to tell a story and guide the intended user through the intended process (…

hp-ux修改时区方法_UX研究人员可以倡导人类的6种方法

hp-ux修改时区方法In the UX world, we often hear terms like “user-centered,” “human-centered,” and “customer-centered.” We believe that in order to be innovative, we need to center experiences that are authentic, intuitive, and practical.在UX世界中&am…

2013年3月百度之星A题

伪随机数生成器 题目描述 baidu熊最近在学习随机算法&#xff0c;于是他决定自己做一个随机数生成器。 这个随机数生成器通过三个参数c, q, n作为种子, 然后它就可以通过以下方式生成伪随机数序列&#xff1a; m0 c, mi1 (q2mi 1) mod 2n, for all i > 0. 因为一些奇怪的…

为什么张扬的人别人很讨厌_为什么每个人总是讨厌重新设计,即使他们很好

为什么张扬的人别人很讨厌重点 (Top highlight)微处理 (Microprocessing) In Microprocessing, columnist Angela Lashbrook aims to improve your relationship with technology every week. Microprocessing goes deep on the little things that define your online life to…

转载--C语言:浮点数在内存中的表示

单精度浮点数&#xff1a; 1位符号位 8位阶码位 23位尾数 双精度浮点数&#xff1a; 1位符号位 8位阶码位 52位尾数 实数在内存中以规范化的浮点数存放&#xff0c;包括数符、阶码、尾数。数的精度取决于尾数的位数。比如32位机上float型为23位 double型为52位。…

学习ui设计_如果您想学习UI设计,该怎么办

学习ui设计There is a question that is always asked when we want to learn something new.当我们想学习新东西时&#xff0c;总会问一个问题。 Where to start?从哪儿开始&#xff1f; This is also being my question when I want to learn UI design. In this article, …

Christmas

html5 game - Christmasloading......转载于:https://www.cnblogs.com/yorhom/archive/2013/04/05/3001116.html

30个WordPress Retina(iPad)自适应主题

原文地址&#xff1a;http://www.goodfav.com/zh/retina-ready-wordpress-themes-3556.html WordPress Retina定制主题进行了优化&#xff0c;支持Retina屏幕上的高品质和清晰的图像。如果你关心这个话题&#xff0c;又不知道这究竟是什么&#xff0c;那么请你继续阅读。 wordp…

Thinking in java第一章对象导论

这一章&#xff0c;做笔记感觉不是很好做。每个人又每个人对面向对象的理解。这里说一下书里的关键字&#xff0c;穿插一下自己的思想 面向对象的编程语言里面很流行的一句话&#xff0c;一切都是对象。面向对象的核心就是抽象&#xff0c;抽象的能力有大有小&#xff0c;是决定…

Android SlidingMenu插件的使用

1、在github上下载了源码后 不知道如何使用&#xff0c;在折腾了一个晚上后终于弄好了 下载地址 https://github.com/jfeinstein10/SlidingMenu 下载完后&#xff0c;解压&#xff0c;然后先import 其中的library &#xff0c;然后把项目名改为SlidingMenu 2、然后再到http…