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.

Feature Request, text-transform

See original GitHub issue

Uppercase and lowercase are pretty common Text attributes.

<Text tt="uppercase" />

thoughts?

thanks, and great lib

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jxnblkcommented, Aug 14, 2018

I tend not to change letterspacing on a per-component basis. Generally I think that’s better to set as a default on a root component, but you can always extend Text to add that as a prop

import styled from 'styled-components'
import { Text } from 'rebass'
import { letterSpacing } from 'styled-system'

const MyText = styled(Text)([], letterSpacing)
1reaction
jxnblkcommented, Aug 14, 2018

There is a Caps component for uppercase, I think for lowercase you should create your own components

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Request: text transform option for authors
Hi there, if you right-click on an entry's title, then you get all the text-transform options. I would be handy if a 'capitalise...
Read more >
Feature Request: text-transform for stylesheets - Unity Forum
We're using UI Toolkit for an international game, we need to have access to this option without force it in script. It's late...
Read more >
Basic Text Transform: all caps, all lowercase
In InDesign or Illustrator I'm used to have open type features with this caps-transform. See attached. How to get the alternative numbers in ......
Read more >
text-transform - CSS: Cascading Style Sheets - MDN Web Docs
The text-transform CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or ...
Read more >
[Feature Request] Add new text-transform class of none #5503
I currently have the option to add the class text-capitalize ( Hello Button ) or text-lowercase ( hello button ). Since capitalized text...
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