Skip to content

Commit 1afe92b

Browse files
committed
fix: update line-disabled styles for improved comment visibility
1 parent 1ad4cfc commit 1afe92b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/interactive-code.element.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,11 @@ export class InteractiveCodeElement extends HTMLElement {
10181018
}
10191019
10201020
.line-disabled {
1021-
opacity: 0.3;
1021+
color: var(--code-comment-color, #808080);
1022+
}
1023+
1024+
.line-disabled [class*="token-"] {
1025+
color: inherit;
10221026
}
10231027
10241028
/* Token colors — IntelliJ (Light / Darcula) defaults */

0 commit comments

Comments
 (0)