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.

Problem with background in Highlight Theme

See original GitHub issue

Hi,

i use a light (white) theme and want to put some code in a dark highlight theme like monokai. Unfortunateley the background of hjs elements are always set to none.

---
title: Bug with highlightTheme
theme: "simple"
highlightTheme: "monokai"
---

```bash
cd ~/src
mkdir newProject
cd newProject
```

Actual is: wrong

Should be: ok

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
anrichtercommented, Feb 20, 2019

Found the problem in file views/template.marko. There is the following style setting:

.hljs {
  background: none;
}

When i remove this lines, the highlightTheme works ok. I want to provide a pull request. But im not sure, what about the other style-settings in the template. The original reveal html does not have all of this.

Greetings Andreas

0reactions
anrichtercommented, Sep 24, 2019

It looks good. Bug is fixed.

Thx & Greetings

Read more comments on GitHub >

github_iconTop Results From Across the Web

[themes] Themes don't support background styling · Issue #3429
tmTheme files allow specification of background colors which don't seem to be supported, for example: name Separator scope meta.separator settings bac...
Read more >
Eclipse dark theme highlight issue - Stack Overflow
I was able to change it in Window>Preferences>C/C++(or other programming language)>Editor under "Appearance color options:" select "Inactive code highlight" ...
Read more >
Add background/highlight to Global Error messages
Add background/highlight to Global Error messages · In your WordPress dashboard, go to Appearance and click on Customize. · Look down for the...
Read more >
DevOps dark theme: work item description not honoring font ...
With dark theme your font color is always white with black background despite what is set on description field. This causes issues when...
Read more >
Dark Mode New Problems -- selected text background color ...
Before Microsoft Word was in darkmode, the ribbon area would be dark and the page would be white background with a grey selected...
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