We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2d150ef + 2831472 commit ca1232eCopy full SHA for ca1232e
js/components/read-aloud.mjs
@@ -256,6 +256,7 @@ class ReadAloudComponent extends HTMLElement {
256
!this.isPaused
257
) {
258
utterance.text = this.words[this.currentWordIndex];
259
+ console.log("highlighting word:");
260
this.highlightCurrentWord(
261
this.paragraphElement,
262
this.words,
js/components/voice.mjs
@@ -114,6 +114,11 @@ export class LGVoice extends HTMLElement {
114
flex: 1;
115
}
116
117
+ .highlighted-read-out {
118
+ text-decoration: underline;
119
+ color: var(--md-sys-color-primary);
120
+ }
121
+
122
.ripple::after {
123
position: absolute;
124
inset-inline-start: 50%;
0 commit comments