1627329720
Grafika dla początkujących - temat, na który czekało wielu widzów naszego kanału. Dzisiaj postaramy się zmniejszych dystans pomiędzy światem programowania i grafiki komputerowej. Zobaczysz podstawy narzędzia Figma, nauczysz się tworzyć proste kreacje na bloga lub dla projektów Open Source oraz poznasz kluczową umiejętność każdego grafika i projektanta.
#developer
1627329720
Grafika dla początkujących - temat, na który czekało wielu widzów naszego kanału. Dzisiaj postaramy się zmniejszych dystans pomiędzy światem programowania i grafiki komputerowej. Zobaczysz podstawy narzędzia Figma, nauczysz się tworzyć proste kreacje na bloga lub dla projektów Open Source oraz poznasz kluczową umiejętność każdego grafika i projektanta.
#developer
1620761928
Hey everyone ✌🏻
Together with my friend, we developed a design kit in Figma specifically to be integrated with Tailwind CSS, a trending new utility first CSS framework.
You can find more information about the Tailwind CSS Figma design kit on Flowbite.
It’s open source 💙
#tailwind #figma #tailwind-figma #tailwind-ui #figma-ui #figma-ui-kit
1599644340
I use Jest nearly every day when working, and it’s a fantastic tool. It lets me ship my code with confidence, knowing that I have produced something which works as intended.
More often than not, when I write tests for my code, I end up catching something I hadn’t considered and go back to take that into account. It saves me from getting called in the evening to fix something in production. For me, that’s a big deal.
With that said, I didn’t really know how jest worked. I used it all the time, but had no real clue what was going on under the hood.
Recently, I bought Kent C Dodd’s excellent Testing JavaScript course which has been incredible for increasing my knowledge.
As part of that, he digs into how jest works under the hood, and this encouraged me to try building my own tiny version. So I want to pass on that knowledge to you!
This will be a small series of posts on each part, but you can skip ahead and see the full repo here.
Today’s focus will be building the actual test runner. This simply accepts a test with a title, and a callback. We run the callback and if there are no errors, the test passes!
If an error is thrown, then we deem the test to have failed.
Take a look:
const test = async (title: string, callback: Function) => {
try {
await callback();
console.log(chalk.green(`\u2713 ${title}`));
} catch (error) {
console.error(chalk.red(`✕ ${title}`));
console.error(error);
}
So as you can see, we have our test function which accepts a title which is a string, and a callback which is the function which we want to test.
We then run our callback function in a try/catch block, and assuming that nothing is caught, we say the test has passed.
This allows us to run something like this:
test('sum adds numbers', () => {
const sum = (a, b) => a + b
const result = sum(3, 7)
const expected = 10
expect(result).toBe(expected)
})
So as you can see, we pass a title, and a function where we sum two numbers: 3 and 7. But on our final line, we see something new: expect and toBe. These are our assertions and we have nothing to handle them yet.
#jest #javascript #tdd #unit-testing #javascript-top-story #how-to-build-a-jest-clone #building-test-runner-in-jest #hackernoon-top-story
1678085779
Welcome to the life of a UX designer, where you have options galore when it comes to the best user experience (UX) and user interface (UI) design software. Choosing a tool like Figma vs Adobe XD is a big deal as it impacts the workflow, the overall experience, and the collaboration with the clients - it is the most important tool UX designers work with.
If you’re a UX/UI professional, keep reading to find out more about how Figma vs Adobe XD work, their features, and which one might be the best for you to deliver a top-quality product.
Figma is an interface, vector design, and cloud-based software that runs in the browser. It is considered by many designers as the best application to support team-based collaborative design projects. Figma gives you all the tools and elements you need to create full-fledged web design, prototyping, and code generation for the handoff.
Although Figma looks a lot like other prototyping tools, its key differentiator is the ability to work with teams. But simply put, Figma:
Figma is hence considered:
A prototyping tool
A code generator for handoff
It’s important to mention that Figma is backed by a large community of designers and developers who provide plugins to improve functionality and streamline workflows. Everyone is welcome to contribute and share.
Adobe XD is a vector-based UI/UX design tool that enables you to design anything from smartwatch apps to fully-fledged websites. Adobe XD promises a breath of fresh air for professionals who are still using Photoshop or Illustrator for UI design, being the only Adobe tool that allows prototyping.
Adobe XD was developed with mobile and web experiences in mind, and design teams are leveraging its features for their full experience design process.
Application-wise, Adobe XD is used for:
Website design - Website design and Adobe XD work well together, from information architecture to layout and prototyping. Concepts and ideas are brought together with ease using productivity features like Stacks, Padding, and Repeat Grid to define navigation patterns, scrolling, and much more for your website;
App design - Designing apps for mobile phones, desktop apps, or even web apps requires dynamic interactions, multiple navigation patterns, and a variety of screen sizes, including less common ones like a digital mupi. Adobe XD makes creating app experiences easy with features like Responsive Resize, pre-built artboard sizes for common devices, and prototype features like auto-animate and dragging triggers;
Game design - You can map out and test game menus, settings, and other interface components directly in Adobe XD by simply plugin in a supported Bluetooth game controller;
Voice assistant design - Adobe XD enables you to create prototypes of virtual assistants thanks to its powerful voice commands and connections with Amazon Alexa and Google Assistant that allow you to test experiences.
Features-wise, Adobe XD has many of the similar features of Figma:
UI design - With integrations with Creative Cloud apps, like Photoshop and Illustrator, you can easily pull in assets and have access to all the necessary tools to do your best work;
UX design - You can iterate quickly, test interactions and processes, and get a truer sense of friction spots so you’re able to fix them as soon as you spot them;
Wireframing - UI kits enable you to easily create interactive wireframes to test your design and go through user flows;
Prototyping - Adobe XD’s advanced capabilities like auto-animate and voice make it easier to build a prototype design that consumers can explore and engage with - leading to a better user experience;
Developer handoff - Adobe XD's sharing mode enables you to collaborate with development teams from the start. Whether you're using a voiceover recording to walk over your design or sharing development details, XD keeps you connected at all times.
Team collaboration - Live co-editing and cloud files enable easier collaboration within your team.
Since the advent of Adobe XD in 2016, Figma vs Adobe XD have been running against each other. The rivalry wasn't fierce initially, with XD's early editions lacking several critical features, but that has improved in recent years. The competition between the two softwares has now intensified, and it becomes harder to pick which one is best for you and your project.
The main difference between Figma vs Adobe XD is the price. While Figma is free for individual users, and you only pay if you want to have access to features like coworking, for Adobe XD you have to pay before using it. Below, we are going to cover where each one shines, and which one is better for your specific set of circumstances.
Both Figma and Adobe XD are used for prototyping, but XD is slightly better as it has a collection of triggers that facilitate more types of UI designs. Let’s take a look.
Allows you multiple interactions per element as long as they are different:
Triggers
Actions
Transitions
Easing
Allows you multiple interactions per item like a hover interaction and a click interaction:
Triggers
Actions
Transitions
Easing
We can conclude that Adobe XD enables for more than one interaction per element, allowing you to create prototypes with functionalities closer to people's behavior in the browser.
As already mentioned, Figma can generate CSS, Swift for iOS, and XML for Android. It also lets you directly copy the CSS or SVG. Also, if there is a change in the document, the code will be automatically regenerated.
XD generates CSS codes, but you have to first generate a developer link and then open that link in a browser. Unlike Figma, if the document changes here, you'll need to regenerate the link and refresh it.
Short answer: yes. Figma has been - arguably - the one design tool design teams choose for its amazing team collaboration feature. It simplifies the design process and effectively helps designers and teams work together more efficiently as you’re able to collaborate live with your teammates. Also, designers and teams highly benefit from Figma because:
The battle between Figma vs Adobe XD will continue, and they are undoubtedly pushing each other to improve and step up their game. On a pretty frequent basis, we now see features that were exclusive to one appear in the other, making it harder for designers to decide which one to pick to create a top-quality product.
But if collaboration is important to you and your team, Figma is the best choice for you. It was designed from the bottom up with teamwork in mind, and as such, no other software will be able to compete against it any time soon. It also outpaces Adobe XD being better at frames vs artboards, auto-layout, responsiveness, and graphic design/UI design overall.
On the other hand, you have a better chance with Adobe XD if you’re already used to Adobe’s ecosystem and within the Creative Cloud. Also, Adobe XD is slightly better at prototyping when it comes to auto-animation and voice, facilitating its accuracy.
1678096140
Bem-vindo à vida de um designer de UX, onde você tem opções em abundância quando se trata da melhor experiência do usuário (UX) e software de design de interface do usuário (UI) . Escolher uma ferramenta como Figma vs Adobe XD é importante, pois afeta o fluxo de trabalho, a experiência geral e a colaboração com os clientes - é a ferramenta mais importante com a qual os designers de UX trabalham.
Se você é um profissional de UX/UI, continue lendo para saber mais sobre como funciona o Figma x Adobe XD , seus recursos e qual deles pode ser o melhor para você entregar um produto de alta qualidade.
Figma é uma interface, design vetorial e software baseado em nuvem que roda no navegador. É considerado por muitos designers como o melhor aplicativo para dar suporte a projetos de design colaborativo baseados em equipe. O Figma fornece todas as ferramentas e elementos necessários para criar um web design completo , prototipagem e geração de código para o handoff .
Embora o Figma se pareça muito com outras ferramentas de prototipagem, seu principal diferencial é a capacidade de trabalhar com equipes. Mas simplesmente, Figma:
Figma é, portanto, considerado:
Uma ferramenta de prototipagem
A code generator for handoff
É importante mencionar que o Figma é apoiado por uma grande comunidade de designers e desenvolvedores que fornecem plugins para melhorar a funcionalidade e simplificar os fluxos de trabalho. Todos são bem-vindos para contribuir e compartilhar .
O Adobe XD é uma ferramenta de design de interface do usuário/UX baseada em vetor que permite projetar qualquer coisa, desde aplicativos smartwatch até sites completos. O Adobe XD promete uma lufada de ar fresco para os profissionais que ainda usam o Photoshop ou o Illustrator para design de interface do usuário, sendo a única ferramenta da Adobe que permite a prototipagem.
O Adobe XD foi desenvolvido com experiências móveis e da Web em mente , e as equipes de design estão aproveitando seus recursos para o processo de design de experiência completa.
Em termos de aplicativos, o Adobe XD é usado para:
Design do site - O design do site e o Adobe XD funcionam bem juntos, desde a arquitetura da informação até o layout e a prototipagem. Conceitos e ideias são reunidos com facilidade usando recursos de produtividade como Stacks, Padding e Repeat Grid para definir padrões de navegação, rolagem e muito mais para o seu site;
Design de aplicativos - Projetar aplicativos para celulares, aplicativos de desktop ou até mesmo aplicativos da web requer interações dinâmicas, vários padrões de navegação e uma variedade de tamanhos de tela, incluindo os menos comuns, como um mupi digital. O Adobe XD facilita a criação de experiências de aplicativos com recursos como redimensionamento responsivo, tamanhos de prancheta pré-criados para dispositivos comuns e recursos de protótipo como acionamentos de animação automática e arrastar;
Game design - You can map out and test game menus, settings, and other interface components directly in Adobe XD by simply plugin in a supported Bluetooth game controller;
Voice assistant design - Adobe XD enables you to create prototypes of virtual assistants thanks to its powerful voice commands and connections with Amazon Alexa and Google Assistant that allow you to test experiences.
Features-wise, Adobe XD has many of the similar features of Figma:
UI design - With integrations with Creative Cloud apps, like Photoshop and Illustrator, you can easily pull in assets and have access to all the necessary tools to do your best work;
UX design - You can iterate quickly, test interactions and processes, and get a truer sense of friction spots so you’re able to fix them as soon as you spot them;
Wireframing - UI kits enable you to easily create interactive wireframes to test your design and go through user flows;
Prototyping - Adobe XD’s advanced capabilities like auto-animate and voice make it easier to build a prototype design that consumers can explore and engage with - leading to a better user experience;
Developer handoff - Adobe XD's sharing mode enables you to collaborate with development teams from the start. Whether you're using a voiceover recording to walk over your design or sharing development details, XD keeps you connected at all times.
Colaboração em equipe - a coedição ao vivo e os arquivos na nuvem permitem uma colaboração mais fácil dentro de sua equipe.
Desde o advento do Adobe XD em 2016, o Figma vs o Adobe XD estão correndo um contra o outro. A rivalidade não era acirrada inicialmente, com as primeiras edições do XD carecendo de vários recursos críticos, mas isso melhorou nos últimos anos. A competição entre os dois softwares agora se intensificou e fica mais difícil escolher qual é o melhor para você e seu projeto.
The main difference between Figma vs Adobe XD is the price. While Figma is free for individual users, and you only pay if you want to have access to features like coworking, for Adobe XD you have to pay before using it. Below, we are going to cover where each one shines, and which one is better for your specific set of circumstances.
Tanto o Figma quanto o Adobe XD são usados para prototipagem, mas o XD é um pouco melhor, pois possui uma coleção de gatilhos que facilitam mais tipos de designs de interface do usuário. Vamos dar uma olhada.
Permite múltiplas interações por elemento desde que sejam diferentes:
Gatilhos
Ações
Transições
Facilitando
Permite várias interações por item, como uma interação de foco e uma interação de clique:
Gatilhos
Ações
Transições
Facilitando
Podemos concluir que o Adobe XD possibilita mais de uma interação por elemento , permitindo criar protótipos com funcionalidades mais próximas do comportamento das pessoas no navegador.
Como já mencionado, o Figma pode gerar CSS, Swift para iOS e XML para Android . Também permite copiar diretamente o CSS ou SVG. Além disso, se houver uma alteração no documento, o código será regenerado automaticamente .
O XD gera códigos CSS , mas primeiro você precisa gerar um link de desenvolvedor e depois abrir esse link em um navegador. Ao contrário do Figma, se o documento mudar aqui, você precisará gerar novamente o link e atualizá-lo .
Resposta curta: sim . O Figma tem sido - indiscutivelmente - a única ferramenta de design que as equipes de design escolhem por seu incrível recurso de colaboração em equipe . Ele simplifica o processo de design e ajuda efetivamente designers e equipes a trabalharem juntos com mais eficiência, pois você pode colaborar ao vivo com seus colegas de equipe. Além disso, designers e equipes se beneficiam muito do Figma porque:
A batalha entre Figma e Adobe XD continuará, e eles estão, sem dúvida, pressionando um ao outro para melhorar e intensificar seu jogo. Com bastante frequência, agora vemos recursos que eram exclusivos de um aparecerem no outro, tornando mais difícil para os designers decidirem qual escolher para criar um produto de alta qualidade.
Mas se a colaboração é importante para você e sua equipe, Figma é a melhor escolha para você . Ele foi projetado de baixo para cima com o trabalho em equipe em mente e, como tal, nenhum outro software poderá competir com ele tão cedo. Ele também supera o Adobe XD sendo melhor em quadros versus pranchetas, layout automático, capacidade de resposta e design gráfico/design de interface do usuário em geral.
Por outro lado, você tem mais chances com o Adobe XD se já estiver acostumado com o ecossistema da Adobe e dentro da Creative Cloud. Além disso, o Adobe XD é um pouco melhor em prototipagem quando se trata de animação automática e voz, facilitando sua precisão.
#figma #figma