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.

Should a deeper-nested style specification inherit the colors/style of its parent?

See original GitHub issue

I have question related to jQuery Terminal

This may be a bug, or it may be a bug in my expectations. I would expect that a string like this:

[[;green;black]This text is green but [[u;;]this text is green and underlined] and this is green]

Would produce text that is all green/black, with an underlined section in the middle. However, the underlined text is the default text color.

Is this working as intended?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jcubiccommented, Aug 29, 2019

released in 2.8.0

1reaction
jcubiccommented, Aug 18, 2019

You can now use this:

[[b;#fff;]hello [[u-b;;] world] from js]

it will be converted to (by nested formatting):

[[b;#fff;]hello ][[u;#fff;] world][[b;#fff;] from js]

and remove bold from text " world", and " from js" will be bold.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS Inheritance: An Introduction - SitePoint
Asha Laxmi introduces and explains what CSS inheritance is, how it helps ... they will start inheriting the color of their parents:
Read more >
Why doesn't my child element inherit color from its parent ...
The reason this happens is due to inheritance, not specificity. Look at it this way, if the span didn't have that class, it...
Read more >
4. Saving Time with Style Inheritance - CSS - O'Reilly
Saving Time with Style Inheritance Children inherit traits from their parents—eye color, height, male-pattern baldness, and so on.
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