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

推荐订阅源

G
Google Developers Blog
博客园 - 司徒正美
Last Week in AI
Last Week in AI
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
博客园 - 聂微东
M
MIT News - Artificial intelligence
博客园_首页
Jina AI
Jina AI
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
Vercel News
Vercel News
The Cloudflare Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
N
Netflix TechBlog - Medium
B
Blog
Google DeepMind News
Google DeepMind News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

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 Figma plugin and kickstarter V2 Readable clamp() with PostCSS Utopia Utopia SCSS library Clamp calculator 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
Utopia Fluid Type + Space Calculator now supports Figma v...
dev@clearlef · 2023-09-19 · via Utopia

We're pleased to announce that the Utopia Fluid Type + Space calculator now supports Figma variables. Variables are a long-awaited Figma feature. Although still in beta, the benefits of using them are already clear and significant enough to incorporate them into our plugin.

When generating artboards through the plugin, three variable collections will be created: "Utopian size", "Space @min" and "Space @max". The first collection contains the raw pixel values generated by Utopia. You're unlikely to use these directly, so you're welcome to "hide from publishing" should you wish.

"Space @min/@max" are mapped to the raw values. When working on a design for a min/max viewport, grab the values from the respective collection and apply them to your work.

These variables are applied to the space components generated by the plugin, as well as the grid layouts demonstrations. Variables don't yet work with grid layout directly, so these values are handled by the plugin as before.

If you re-run the plugin, the variables will be updated and all connected components will automatically inherit the new sizes. This is a mixed blessing as not all Figma numerical inputs can accept variables, meaning that certain values still need to be manually updated. We're hopeful that these remaining parameters will be updated by Figma in time.

This plugin is also fully compatible with the Utopia Kickstarter file.

No modes?

We've chosen not to support modes just yet. Firstly, they can be a little temperamental, which we hope will be resolved as variables move towards a production release. Secondly, variables don't currently work with typographic values, where modes are most useful. Finally, using multiple modes is locked behind a paywall and we didn't want to exclude users who can't afford a paid subscription. We'll be keeping an eye on how modes develop and will look to support them appropriately for all users in the near future.