Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upcreate a text component #118
Comments
|
Hey, |
|
@cezaraugusto would you be able to share more info? Would be awesome if @ImmanuelSegol could grab this |
Would be happy to, I just need some more details. |
|
We have decided that we would Like a
Both these properties will allow us to ascertain not only the font-family to use, but also the font-size and the line-height. As part of this work, the Now the problem with this spec is that it's defining the size scale decision in the component render function, instead of purely in the style.ts files. Props if someone can come up with an idea for this that preserves all style decisions in one place - the style.ts files. |

default text should be either a div or span with levels defined by the design spec.
if there's a case for labels, for example, this could be accomplished by the
.withComponentsyntax defined by styled-components