Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit b8f383c

Browse files
style: set default color for the font highlighting
1 parent 48c373d commit b8f383c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webcomponents/highlight-code/src/components/highlight-code/deckdeckgo-highlight-code.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ div.deckgo-highlight-code-container {
5757
}
5858

5959
span.deckgo-highlight-code-line {
60-
background: var(--deckgo-highlight-code-line-background);
60+
background: var(--deckgo-highlight-code-line-background, #3880ff);
6161
padding: var(--deckgo-highlight-code-line-padding);
6262
border-top: var(--deckgo-highlight-code-line-border-top);
6363
border-bottom: var(--deckgo-highlight-code-line-border-bottom);

webcomponents/highlight-code/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<h1>Editable:</h1>
1414

15-
<deckgo-highlight-code language="java" editable="true" highlight-lines="0,2 6,6" style="--deckgo-highlight-code-line-background: lightgrey;">
15+
<deckgo-highlight-code language="java" editable="true" highlight-lines="0,2 6,6">
1616
<code slot="code">interface NumericTest {
1717
boolean computeTest(int n);
1818
}

0 commit comments

Comments
 (0)