惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
MyScale Blog
MyScale Blog
Microsoft Security Blog
Microsoft Security Blog
量子位
B
Blog
aimingoo的专栏
aimingoo的专栏
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog
T
The Exploit Database - CXSecurity.com
N
News | PayPal Newsroom
Cloudbric
Cloudbric
A
About on SuperTechFans
AI
AI
Hacker News: Ask HN
Hacker News: Ask HN
S
Schneier on Security
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LINUX DO - 最新话题
T
The Blog of Author Tim Ferriss
Simon Willison's Weblog
Simon Willison's Weblog
有赞技术团队
有赞技术团队
H
Heimdal Security Blog
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
D
Docker
Security Archives - TechRepublic
Security Archives - TechRepublic
N
News and Events Feed by Topic
IT之家
IT之家
Know Your Adversary
Know Your Adversary
N
Netflix TechBlog - Medium
T
Tailwind CSS Blog
B
Blog RSS Feed
C
Cybersecurity and Infrastructure Security Agency CISA
C
Cisco Blogs
博客园 - 叶小钗
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
L
LangChain Blog
The Hacker News
The Hacker News
Y
Y Combinator Blog
I
Intezer
The Register - Security
The Register - Security
F
Full Disclosure
V
V2EX
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
Martin Fowler
Martin Fowler

Utopia

Fluid responsive typography: easy when you know how Utopian project kickstarter: designing a fluid responsive website in a static tool like Figma Generate all pair permutations in Utopia SCSS Type scale graphs Readable clamp() with PostCSS Utopia Utopia SCSS library Clamp calculator Utopia Fluid Type + Space Calculator now supports Figma variables Designing a Utopian layout grid: Working with fluid responsive values in a static design tool. Getting started with Utopia Figma Plugins A video introduction to Utopia Painting with a fluid space palette Designing with a fluid space palette Clamp Utopian CSS generator, an iteration Dealing with negativity in fluid type scales Fluid custom properties CSS-only fluid modular type scales Designing with fluid type scales
Figma plugin and kickstarter V2
dev@clearlef · 2024-06-21 · via Utopia

Our flagship Figma plugin and Utopian kickstarter have been rewritten to support the latest Figma features.

Typographic variables

With Figma recently adding support for typographic variables, it felt like the right time to strip the plugin back to the bones and rewrite it to make the most of the tool's latest features. This plugin generates several variable collections that dynamically drive the generated type, space and grid artboards.

A screenshot of a generated type and space system from the Utopia plugin. There are four main artboards: foundations, space, grid and typography

This fundamental shift in approach transforms these artboards into a reflection of the system, rather than a second source of truth, as they were before. They become disposable, which is a good thing! To that end, we've simplified the plugin so it will only create, not update existing artboards. If you add a new step to an existing type scale, you're free to delete the current type artboard and re-run the plugin, safe in the knowledge the variables will regenerate an accurate reflection of your type and space system.

Modes

If you have a paid Figma account, the plugin will now use modes. Modes allow variables to have multiple states, with state being determined by the parent artboard(s) they're used in. Our plugin treats the default mode for a variable collection as "min", and generates a new "max" mode. Then, rather than generating min and max versions of each step, it generates a single variable, with different values per mode. Modes allow variables to work much harder, slashing the number of variables required, and enabling instant toggling between multiple states of designed elements.

A screenshot of the Figma modes UI, showing the Fluid tokens collection with the min and max modes

If your Figma account tier doesn't include modes, the plugin will generate individual min and max variables.

Space pairs

One key feature of a Utopian space scale is the ability to jump between different sizes at min and max, eg S—XL. That's been missing in the plugin until now, but with the inclusion of modes, the plugin now generates any single step and custom pairs you have configured in the space calculator. This doesn't change anything about how designs are rendered in Figma but it can help us to communicate decisions more clearly.

A screenshot of single step and custom space sizes

Grid areas

The plugin now generates variables for commonly used grid areas: half, quarter, third etc, and demonstrates them on the grid artboard. These are useful when it comes to planning layouts and constraining components at sensible, systematic sizes.

A screenshot of grid areas at min and max grid sizes

Optional artboards

A common request for the Utopia plugin was to be able to opt in or out of the generated artboards. Each section in the plugin UI now includes a checkbox to create or omit the corresponding artboard.

Additionally, you can now supply different min and max base sizes to the space section of the plugin, should you wish to use a fixed or familiar methodology like the 8px space system, but still get the benefits of fluid typography and space scaling.

Kickstarter

The Kickstarter has been fully overhauled to support modes throughout, with every component hooked up to min and max modes, demonstrated on the components page. There's also a new opinionated approach to prose flow spacing and a page mockup to show how this can work. In short, the prose container has a flow space of S (small) between all items, and components can optionally include their own additional "breathing room" above and below. We plan to write more about this in future.

It's fully compatible with the Utopia plugin, making it a breeze to kickstart new fluid projects.

Dark mode

Oh, and one more thing, the plugin now supports dark mode ✨

A screenshot of the Utopia plugin, in dark mode