Small Ships: Sticky Typeface

Posted 2 weeks ago by Dan Hough

Welcome to Small Ships; where the Marvel dev team share a little of what they’ve been working on in the past month. Enjoy!

We’ve recently released a small change to the way a new text element’s initial font is chosen in Marvel’s design tool.

When you’re designing a screen with a lot of text content, keeping fonts complementary and consistent is crucial for readability and aesthetics. It’s a safe bet that if you’ve chosen a font in one text element, the next element you create is probably going to need the same font.

That’s why now, every new text element you create will automatically take on the font that you last picked for any other text element. Specifically, the typeface and the font weight will be remembered for the next element.

For example, if you create an text block and switch it to use Knewave, the next element you make will have Knewave as the default. If you switch to Bree Serif and choose a bold weight, the next one will also be Bree Serif with the weight set to bold. And selecting a text element with a different font from the one you last chose won’t replace this new default either. You have to explicitly choose it for the design tool to save it as your preference.

For anybody curious to learn how it works, I asked George Reith, one of the lead engineers at Marvel and the person who implemented the change.

“Each time you edit the font family or weight of a piece of text it stores that new value in your browser. When you next insert a piece of text it checks there to see what you last used and uses that. These font settings will remain as long as you use the same browser or until you clear the browser’s cache.”

Next up, we’ve been working hard on a quicker, more efficient way of navigating through and working with screens in our design tool. This has been the focus of a good chunk of the engineering team over the last month. We’ve been using it a lot internally and it’s been evolving to a point where we’re almost ready to share it. Watch this space! 👀

Design and prototyping for everyone

Design and prototyping for everyone

Thousands of individuals and teams use Marvel to design and prototype ideas.

Get Started, it's Free!

Former developer, now Product Manager at Marvel. I turn user needs into dev work, and tweet nonsense and music frequently: @basicallydan

Related Posts

During a recent conversation with David Sleight, Design Director at ProPublica, I found myself realizing and saying “we need design that is faster and design that is slower.” Who are we and what is this thing called design? When I say “we,” I mean our whole industry, when I say “our whole industry,” I mean design, and when I say “design,”… Read More →

Five pitfalls that get in the way Today’s pace of change demands that collaboration and processes be sped up to meet the growing expectation of customers and stakeholders. But is this growing crunch on time stifling creativity? It isn’t enough to make decisions, products and services quickly, we must encourage creativity and create an environment to help the business succeed in… Read More →

This month’s post is a compilation of what our product designer at Marvel, Oleg, found inspiring this month in design. Uber When you think ride-sharing and ordering a taxi from your mobile phone, you probably think Uber. Over the last 10 years it’s seen an explosion of growth, amassing over 16,000 employees, 3 million drivers, and 75 million riders –… Read More →