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.

textStyle right and left color does not work, right textColor overrides left.

See original GitHub issue
renderBubble={(props) => {
          return (
            <Bubble
              {...props}
              textStyle={{
                right: {
                  color: Colors.BLUE,
                },
                left: {
                  color: Colors.BLACK,
                },
              }}

Unable to set a diffirent text color for right and left text bulle.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
elevivencommented, Oct 30, 2020

I do like this. Its working

        renderBubble={(props) => (
          <Bubble
            wrapperStyle={{
              right: {
                backgroundColor: variables.green,
              },
              left: {
                backgroundColor: variables.secondary,
              },
            }}
            textStyle={{
              left: {
                color: variables.secondaryDark,
              },
              right: {
                color: variables.textSecondary,
              },
            }}
            {...props}
          />
        )}
0reactions
stale[bot]commented, Jan 17, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS not changing text color? - html - Stack Overflow
1 Answer 1 ... So Text that gets filled in with the {Description} variable will have the class "text" applied to it. That...
Read more >
How to Change the HTML Font Color - Kinsta
Changing the HTML font color might seem daunting, but it's pretty simple. There are several ways to change the font color on your...
Read more >
text-decoration-color - CSS: Cascading Style Sheets | MDN
The text-decoration-color CSS property sets the color of decorations added to text by text-decoration-line.
Read more >
Alignment, font styles, and horizontal rules in HTML documents
Additional attributes for specifying text color can be used with the BODY element ... For left to right text, the default is align=left...
Read more >
Create and apply text styles – Figma Help Center
Open the main menu in the top left corner. Go to Text > Text direction. Select Left to right or Right to left....
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