question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Integrate with Capsize

See original GitHub issue

capsize is a library from seek-oss built for flipping the way we define typography in CSS to be more like how designers think about typography. Here’s a great talk from @michaeltaranto about the differences: https://www.youtube.com/watch?v=TGHbkTGVqoU

We’d like to integrate Chakra with Capsize so that we can provide this functionality out of the box.

Spawned from a Twitter discussion: https://twitter.com/markdalgleish/status/1282575411885404160

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:24
  • Comments:20 (13 by maintainers)

github_iconTop GitHub Comments

11reactions
jesstelfordcommented, Dec 14, 2021

Update 2021-12-15: I’ve created a package chakra-capsize to integrate with capsize! See my comment below for details.


Love this!

I just integrated Capsize’s output into a new Chakra V1 site.

I ran Capsize 40 times; 10 font sizes (xs to 6xl) x 4 leading sizes (none, tight, base, loose), which gave me a very large object that I popped into the theme.

I then created a new <Text /> component which accepts a size & leading prop.

Here’s the result:

87109262-88487b80-c2a7-11ea-9a79-7390222637c7

9reactions
michaeltarantocommented, Jul 29, 2020

Launched capsize@v1 this week to npm. Might make it easier to play around with.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chakra UI + Capsize
Integrating Chakra UI with Capsize is made super easy by using the chakra-capsize community package by ceteio. To get started, first you need...
Read more >
Methods of attaching the capsize righting line - YouTube
REAL man overboard situation in very strong wind · Capsized Catamaran? · Capsize righting, does it make a difference where the righting line...
Read more >
Capsize recovery - New Member Guide - Google Sites
Try not to entangle yourself in lines, straps, etc as the boat capsizes. Try not to fall onto the sail, spars, or rigging...
Read more >
CapSize | Adobe Exchange
Get and Set capsize/leading for higlighted text only - Input heights in ... of any character - (the default is 'H') - Work...
Read more >
Analysing the effects of liquefaction on capsizing through ...
Analysing the effects of liquefaction on capsizing through integrating interpretive structural modelling (ISM) and fuzzy Bayesian networks ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found